William
some times apple changes and packs headers into the xcode
William
so you only have to include
William
#include <math>
William
and not include
Ariana
William
#include <math.h>
Ariana
.-.appleisconfu
William
im not saying this with math i just remember setting up my brother build env on apple for his class and we had some error like this
Ariana
wow thats so screwed up
William
it didnt find the header but when i changed it to without the .h file worked
Ανδρέας 🇮🇹
function
Ανδρέας 🇮🇹
Ariana
Ανδρέας 🇮🇹
Linux is comfy
Ariana
mac and windows is like
tf is going on
mdr
William
lol mac have alot same commands as linux
William
but i like linux
William
anything windows i compile usally on linux.
Ariana
yeah i screwed around with some b4
one complain
why tf can i not have nested funcs in gcc for mac XD
Ariana
Ariana
nested funcs should be a thing tbh, its so good
Ανδρέας 🇮🇹
Ariana
Ανδρέας 🇮🇹
can you?
Ariana
linux gcc,cmake,quite a few others yup
Ανδρέας 🇮🇹
never heard of such thing
William
Ανδρέας 🇮🇹
post example very curious
Ariana
Ariana
post example very curious
int fancyfunc(const void *a,const void *b){
return stuff(a,b,var);
};
qsort(arr,len,sizeof(struct foo*),fancyfunc);
all just to use var(local var in a function) cuz i too lazy to use varients of qsort mdr
Ariana
doing some cas magic here mdr
Ariana
oh yeah am going to write dynamic functions soon when im free mdr
Ανδρέας 🇮🇹
Ανδρέας 🇮🇹
it's hard to read
Ανδρέας 🇮🇹
do you have a GitHub gists
Ανδρέας 🇮🇹
post there thanksssss
Ariana
my code there is crippled but yes
Ariana
its a challenge to find it;) its doable
Ανδρέας 🇮🇹
I guess bright or incompetent people's code is convoluted
Ariana
or lazy
Ariana
it was hackathon code XD
Ανδρέας 🇮🇹
makes sense
Ανδρέας 🇮🇹
when you write code in such a situation uou start to say screw software enfineering principles of clean and readable code
Ariana
Ill actually work on it like ard december cuz would be quite cool for a working CAS in c(++)
Ανδρέας 🇮🇹
CAS is cool indeed
Ariana
Its so hard tho like
how to verify 2 expressions are the same even
Ανδρέας 🇮🇹
Ariana
Ok in cas you can ignore that
Ανδρέας 🇮🇹
I'm scared of will give wrong results
Ariana
Cuz like 9/5 you literally store it as 9/5 in a cas
Ανδρέας 🇮🇹
as a strong?
Ariana
like usually how it works if im doing this correct
You have a division node, that has 2 children, the first is 9, second is 5
Ariana
Thats how you store 9/5
Ariana
Hard things like
Ariana
is
sin(x+y)=sinxcosy+sinycosx
Ariana
Ariana
cas is quite interesting but hard to make
would be quite fun
will eventually rewrite code so ppl can contribute
Anonymous
Game download !
Ανδρέας 🇮🇹
Ανδρέας 🇮🇹
see ya' gotta go 👋
let's talk another time
Ariana
but i hate mathematica so trying to duplicate mathematica in a more efficient way mdr
Ariana
ttyl
OniiCode
Hello
Ariana
Hai
OniiCode
How are u?
Ariana
Simulating newton cradles
Ariana
Can you write a switch case
Jonathan
im creating a telegram deep learning bot, no money involved who interested or wanna help with knowledge
Ariana
btw google doomsday algorithms
Ariana
Yes
Ariana
Doomsday algorithm (if the name is correct) is a way to determine the week thing(like mon,tue...) quickly from like day/mth/yr
Ariana
its so good you can just do it by hand actually
Dima
#googleit
JITHIN P
Sir actually what is the difference between array char and string?
Dima
JITHIN P
😘
Mentos
Sir can u explain me about the meaning and the use of pointers and function in c
Dima