Heya :D
in Linux, i can use rm -f, its a recursive use of unlink (for files) and mkdir (for directories) that will erase everything inside a directory well thats on the bash, now in c, is there...
Type: Posts; User: Rykaerdoe
Heya :D
in Linux, i can use rm -f, its a recursive use of unlink (for files) and mkdir (for directories) that will erase everything inside a directory well thats on the bash, now in c, is there...
nnooooo :p
thanks i am a moron. lol warnings are gone now :D
eh sorry :)
Warning: assignement makes pointer from integer without a cast
before:
a=(struct Ent *)malloc(sizeof(struct Ent));
after
After reading some posts and checking the FAQ i understood i shoulnt cast the malloc. So i happily removed all the casts of my mallocs on the prog i am working in, but i got 1 warning for each lol.
...
Yes, with your explanation now the values are not lost when the function ends :D
Thanks
Hello :D
i wont write the code as it is too big i will just explain lol
so i define a struct, create a pointer (will call him e) of that struct type, do a malloc with size of 1 struct (just for...
I must admit i am lost, or at least confused.
When i am using TCP with sock_stream the protocol does not limit the messages (thats what i understood) so if i send a stream with let say
...
Hello,
I used the search but i guess the question is too stupid to ba asked lol
Until now all the progs i wrote in C were in a big fat file. But now i would need to separate them in various...
Thank you so much >.<
will post how it goes :D
First of all,
Hi :)
A little introduction, (hope its not totally out of topic), i am a student at Lisbon at the Faculty of Science of the University of Lisbon, takin a degree in software...