Free Games Forum
Free Games Games Forums Music Forums TV Forums

  Free Games Forum Home FORUM
HOME
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN
Rules & FAQ RULES / FAQ
REPORT SPAM

Free Games Forum: Game Technology: C++:
how do type in a word

 

 


from the past
Newbie

Jun 26, 2006, 12:45 AM

Post #1 of 7 (564 views)
Shortcut
how do type in a word Can't Post

hi everyone

i am new with DEV C++
i did a tutorial and i was wondering how do i type in a letter when it pop up
it only works when i type in a number and it stay there
but when i type in a letter it disapear
can someone help me out

i am a beginner

#include <iostream>
using namespace std;
int main()
{
int thisisanumber;
cout<<"Please enter a number: ";
cin>> thisisanumber;
cin.ignore();
cout<<"You entered: "<< thisisanumber <<"\n";
cin>> thisisanumber;
cin.ignore();
cout<<"You entered: "<< thisisanumber <<"\n";
cin.get();
}


(This post was edited by from the past on Jun 26, 2006, 2:08 AM)



Infinitus
Veteran


Jun 29, 2006, 4:42 AM

Post #2 of 7 (546 views)
Shortcut
Re: [from the past] how do type in a word [In reply to] Can't Post

C++ Lesson #1
---------------------

Today we're going to learn the first and foremost skill in relation to programming in C++...

English!

English can help you in a variety of tricky situations when it comes to programming. This includes, but is not limited to, giving you the ability to present your problems in a formal and readable manner if you were ever to need to post on a forum for help.

The primary method for learning this phenomenon, called English, is to pay attention in school. After doing this, you must be sure to never slack up or be lazy with your typing! Capitalize your 'I's and spell words correctly, even if you need to use a dictionary (although spellcheck is also available for those of you who still want to be somewhat lazy).

Only after you have mastered English can you hope to succeed in your programming career!


Cruel__Machine
Senior Member


Jul 5, 2006, 11:47 AM

Post #3 of 7 (532 views)
Shortcut
Re: [Infinitus] how do type in a word [In reply to] Can't Post

*sigh* @ console apps

*sigh* @ grammar/spelling critics

:D


EOP
___________________________
"If evolution were true, I'd have a self-lubricating hand."

Programmers: http://Cruels.net


darkdemon
Enthusiast


Jul 5, 2006, 3:43 PM

Post #4 of 7 (525 views)
Shortcut
Re: [Cruel__Machine] how do type in a word [In reply to] Can't Post

Since when did you come back?


U r reading a signature.
Free game hacks!


MM Mercer
Senior Member


Jul 7, 2006, 8:05 PM

Post #5 of 7 (511 views)
Shortcut
Re: [Cruel__Machine] how do type in a word [In reply to] Can't Post

since when was he devetted... NOOO s3x1357 vet ever is now only the 3rd s3x1357 Ent :(


Ofcourse you are now reading my sig


Cruel__Machine
Senior Member


Jul 10, 2006, 5:54 PM

Post #6 of 7 (492 views)
Shortcut
Re: [darkdemon] how do type in a word [In reply to] Can't Post


In Reply To
Since when did you come back?


I felt like randomly posting here.
I don't know why... :/

And FYI, I'm still a vet without the proper rank.
*strolls over to vet board* ;)


EOP
___________________________
"If evolution were true, I'd have a self-lubricating hand."

Programmers: http://Cruels.net

(This post was edited by Cruel__Machine on Jul 10, 2006, 5:54 PM)


darkdemon
Enthusiast


Jul 11, 2006, 1:35 AM

Post #7 of 7 (476 views)
Shortcut
Re: [Cruel__Machine] how do type in a word [In reply to] Can't Post

It's nice to see you again, it's been awhile. :)


U r reading a signature.
Free game hacks!

 
 
 


Search for (options) Web Design by Web Ideas - Page loaded in: 0.19 s on (CGI/1.1)