I've been away from programming for a while, and fear that I may have over-indulged in some form of brain killing activity...If one of you good people would be kind to point out what I'm doing wrong with this (simple) program, I'd be most gratefull...
Thanks for any help..
#define STR_SIZE sizeof(struct TEST)
#define C_SCANF while(getchar() != '\n');
int count = 0;
if ( (fp=fopen("test.TXT","rt+"))== NULL)
if ( (fp=fopen("test.TXT","wt"))== NULL)
printf("\nUnable to create test file");
while(count < 10)
printf("\nEnter a message > ");
printf("\nEnter a number (I don't care) > ");
fseek (fp,(count)*STR_SIZE, SEEK_SET);