Use C input output functions to read and write to a text file.
Have a look on this link...
http://www.cs.bu.edu/teaching/c/file-io/intro/
Type: Posts; User: arvinsup; Keyword(s):
Use C input output functions to read and write to a text file.
Have a look on this link...
http://www.cs.bu.edu/teaching/c/file-io/intro/
Make this small change in the code.
for(d=-1;d <= (int)(TOTAL_ELEMENTS-2) ;d++)
Since Sizeof() returns unsigned int , thus it might be the problem while comparing a int with an unsigned int...
The program we write on editor are written in RAM but when they are saved they are permanently stored on hard disk , so that we can access them later...
The members functions of base class can be accessed form its derived class if they are declared as public or protected...