btw if you're still interested in sorting through directories, renaming files etc...
http://www.cs.cf.ac.uk/Dave/C/node20.html#SECTION002000000000000000000
Type: Posts; User: icebreakingfool
btw if you're still interested in sorting through directories, renaming files etc...
http://www.cs.cf.ac.uk/Dave/C/node20.html#SECTION002000000000000000000
i don't see how word is associated with byte in anyway. am i missing something? just because you changed byte, why should word change?
also you're assuming short is 2 bytes(which is fine i guess).
question:
why must it be const void * parameters
and then casted to record* inside the function. what was wrong with what he initially did?
http://www.eskimo.com/~scs/cclass/int/sx2j.html
maybe that will help...i was just reading this stuff
I'm just trying to understand anoytmouses code...is this even C? or some type of pseudocode?
I looked for ActiveXObject and I mainly get stuff on javascript...and what the heck is this var stuff...
if anyone was interested...
while (fgets(line, MAXLINE, stdin) != NULL) { //keep reading lines until nothing else is input
if(strncmp(line, "end", 3) ==0)
break;
this seems...
hmmm forgot to add string.h....
that got rid of the errors, but the program still wont quit out of the loop and display the arrray
I've tried using something like
while (strcmp(fgets(line, MAXLINE, stdin), "end") != 0)
so that i can type in "end" to quit the program, but i get several errors.
let me know if there...
University of Florida
:)
just beautiful, thanks a lot.
one thing though...how do i generate a NULL so i break out of the loop?
so i can then display the numbers in the array?
I'm using cygwin, and control-c just...
I'm in the same situation as you are. And what has helped me tremendously is steve summit's site on C, which is a supplement to K&R.
http://www.eskimo.com/~scs/cclass/cclass.html
go to...
Hey guys, I'm fairly new at C although I've read quite a few tutorials. Also, I know java so I'm not completely a noob at programming.
Basically, I want to use pointers and malloc to gain a...