what is the syntax error here?
first off all let me say i am new C and just playing around with the language in a quest to learn it.
#include <stdio.h>
int main(int argc, char *argv[])
{
FILE *fp;
fp=fopen("C:\\Documents and Settings\\Administrator\\Desktop\\test.txt","w");
fprintf(fp,"hellow world\n");
fclose(fp);
int i;
getche();
return 0;
}
can any one please tell me why this pice of code is not compile, using of what i know in c++(which is not a lot) i don't see a syntax error. I thank you in advance for your replies.
you cry i' wipe away all of your tears
you scream i fight away all of your fears