hi all,
I have a question, this is my code :
void main()
{
           int i=0;
           FILE*fs;
           fs=fopen("teks.txt","w");
           fprintf(fs,"%d\n",i);
           fclose(fs);
}
file "text" has come out, but it was empty..
Anyone can guide me what's wrong with the use of fprintf in CCSv5 ? Did I miss anything?
Many thanks.
 
				 
		 
					 
                           
				