I will propably change it to that when I update my program later on. In the mean time Im simply checking to make sure everything is working in order and it seems to be doing fine.
Type: Posts; User: PIBagent
I will propably change it to that when I update my program later on. In the mean time Im simply checking to make sure everything is working in order and it seems to be doing fine.
Oh, so the reason most programmers try to avoid using it is because you might accidently exceed the number of bytes you can enter into an input. Come to think of it I did run into something like that...
I didnt realize that it wasnt a good idea to use the gets(). The only thing I have ever heard said was a bad idea to use was the goto statement because it creates "spagetti code". I cant find the...
I accidently put the return 0 in front of the fclose(), my mistake. *doh*
Ok, I think I got it. I just noticed something too. I could have also done it like:
for(round=0;round<500;round++)
{
gets(write);
fputs(write,file);
if(!strcoll(write,"end"))
{
Could you elaborate on that?
My request is fairly simple, although Im sure the answer is somewhere in one of the thousands of threads I just havent located yet but here goes. I am designing a program a bit like notpad except...