cmay
May 18th, 2008, 06:57 PM
hi .
i have been learning c from some books i got cheap since they are for educational purpose and outdated a bit. i have followed some tutorials on the net also like c made easy .a pointer tutorial from gamedev.com and the one in the sticky treadh .
my qestion is now that i am in the chapter where the books give two simple samples for filehandling assuming there will be a teacher in a classroom that can explain this more in depht which i do not have.
i just wanna learn this one language for personal reasons and nothing else so i dont take classes or anything like that. i am not gonna use it for anything other than just understanding my computer a bit better .
when i try use the funktions atoi and the close <file> i get a warning about the funktion being implicit declared.
mostly these warnings is from me mispelling the #include <stdio.h> but as i go along whit these books i start to run into samples that do not compile and i know i think that i spell it right.
is there any special considerations for file handlings in linux envoriment that may have something to do whit this.
i know this must be a newbie qestion and i have also just used 3 weeks on this c programmering. anyway i will be very happy for any help understanding what i do wrong i have completed the lessons on the danish c programmering tutorials i could find i want to use books in my own language if i can but still if anyone got some links to c programmering tutorials other than the ones i mentioned i will be very happy also.
thanks for reading this.
i have been learning c from some books i got cheap since they are for educational purpose and outdated a bit. i have followed some tutorials on the net also like c made easy .a pointer tutorial from gamedev.com and the one in the sticky treadh .
my qestion is now that i am in the chapter where the books give two simple samples for filehandling assuming there will be a teacher in a classroom that can explain this more in depht which i do not have.
i just wanna learn this one language for personal reasons and nothing else so i dont take classes or anything like that. i am not gonna use it for anything other than just understanding my computer a bit better .
when i try use the funktions atoi and the close <file> i get a warning about the funktion being implicit declared.
mostly these warnings is from me mispelling the #include <stdio.h> but as i go along whit these books i start to run into samples that do not compile and i know i think that i spell it right.
is there any special considerations for file handlings in linux envoriment that may have something to do whit this.
i know this must be a newbie qestion and i have also just used 3 weeks on this c programmering. anyway i will be very happy for any help understanding what i do wrong i have completed the lessons on the danish c programmering tutorials i could find i want to use books in my own language if i can but still if anyone got some links to c programmering tutorials other than the ones i mentioned i will be very happy also.
thanks for reading this.