gets(); would be fine to use in this situation id say.
Type: Posts; User: Chernobyl
gets(); would be fine to use in this situation id say.
How about the old scanf("%c %*c") trick :)
You can fix this by placing a fflush(stdin); right befor each scanf statement ;)
Ive just released a new video tutorial:
Download #15 Constants: http://www.mediafire.com/?fzryy4zmojm
View #15 Constants: http://www.console-world.org/Constants.htm
fair enough, ill make sure to keep things as standard as possible in the future :). I only did it the way i do because thats the way i was taught, and my teacher has many years expience in...
Thanks for all your input guys, im not the best coder (and i sure dont say i am lol) but these videos were mainly designed at total beginners which is why i dont go into massive detail :)
Oh and...
Yea i only mentioned the compile as C code things because i just noticed it the other day, i havent had time to find out exactly what it did. But yes i assumed it did what you said, however i didnt...
Ok here is my list of video tutorials ive recorded, keep checking back in this thread as ill be adding new videos all the time.
Download #1 Hello World: http://www.mediafire.com/?aknneutiyft
View...