Ok.. Ive looked and looked and looked... all of the solutsions to stop scanf() from being a miserable old thing aint working for me
ive tride fflush(stdin)
using getchar()
everything it seams
Any help, I just wanted to re-post what has been asked a million times so that I can get an answer related to my setup
running windows using scanf() and the mingw compiler
I am sorry if this is a stupid question, and hey, if you think there is a post that can help me, please link.. the only reason why I'm not beating my head against finding a solution without asking you guys is because I'm on a schedual which involves 15 hours of programing a day to catch up on assingments, the more time I work on this, rather than finding solutions to easy problems, the better mark ill get. so I am leaving this pain in the but to some people who have already gone through what is annoing me... btw I know scanf() is supposedly crap, well its for a C assignment, which I never plan on using C again in my life, they just like torchering us with it so I don't want to learn how to better code in c, I just want an easy fix I can put at the end of my functions which use scanf() so I don't have to re-format all of my 1000+ lines of code.
So yeah, I know I'm seamin like what everone on forum hates, a lazy person who can't find the solution for them self, I'm just trying to get my assingments done and Im willing to stoop to a stupid post about an easy problem.
thanks to all you who don't criticize me, and I understand those whom do.