Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.
Moderator: Coders of Rage
-
dandymcgee
- ES Beta Backer

- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
-
Contact:
Post
by dandymcgee »
Is there a reason you can't just read in a char?
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!

-
Ginto8
- ES Beta Backer

- Posts: 1064
- Joined: Tue Jan 06, 2009 4:12 pm
- Programming Language of Choice: C/C++, Java
Post
by Ginto8 »
IMNEW11 wrote:That's C++, im looking for C..
and i want it to be multi-platform.
getchar() reads a single character from stdin. However, what you may want to do is something like this:
so that you know you're pausing, then continuing with a cleared buffer.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
-
dandymcgee
- ES Beta Backer

- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
-
Contact:
Post
by dandymcgee »
IMNEW11 wrote:That's C++, im looking for C..
and i want it to be multi-platform.
I don't know of any alternative that would work on all systems without #IFDEFs.

Try Google.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
