Search found 1 match

by Wane
Fri Apr 02, 2004 9:25 pm
Forum: Volume 4 (400-499)
Topic: 458 - The Decoder
Replies: 71
Views: 14959

458 RunTimeError

i've try if(get()==EOF)break;
but i didn't work
please help me

#include <stdio.h>


int main(){
char* sentence;

int i;
while(sentence[0]!='\0'){

gets(sentence);

for(i=0;sentence!='\0';i++){
sentence=sentence-7;
}
printf("%s\n",sentence);

}

return 0;
}

Go to advanced search