Enter Keywords:
1 - 10 of 84(0.009 seconds)
Sort By:
 
Tags: cin
Below is my program.  I don't know it doesn't allow me input second employee name.  Please tell me.  Thank you.   #include <iostream.h> #include <string.h> class Employee {       private :...
Zones: C++Date Answered: 10/26/1999 Rating: 8.0 Views: 0
... would appreciate if somebody help me with the following: i have to get three integer in the way:    for( int i = 0; i < somevalue; i++ )       cin >> num1; which is equivalent to: ...
Zones: C++Date Answered: 02/16/2003 Rating: 7.4 Views: 4
/* I want to put a while loop or a for loop around to input the record of students. But the output of the interactive question is not as expected. Because of getline function , I straight away s...
Zones: C++Date Answered: 04/06/2003 Rating: 7.2 Views: 0
I need to read either using cin or cin.getline into a "char * SomeVar". Have no clue how to do it! Please help!
Zones: C++Date Answered: 11/04/2003 Rating: 6.8 Views: 0
I've been trying several different things for this, a homework assignment. I'm finished except for this little snippet: cout << endl << endl; cout << "PLAYER SEARCH\n\n"; cout << "Enter a team...
Zones: C++Date Answered: 06/25/2003 Rating: 7.8 Views: 0
Hello Expert, I am new to C++ but not to BASIC.  I have written a program that sorted string data from the user into order.  I was using cin<<(var name), that worked ok. I wanted spaces in my...
Zones: ProgrammingDate Answered: 05/07/2004 Rating: 7.8 Views: 0
Hello ! I'm trying to write a function ( for a c++ console application ) where the user types in a bunch of stuff, and it's on different lines, and then the input is saved to a text file. M...
Zones: C++Date Answered: 11/22/2004 Rating: 9.2 Views: 0
Hi, The following program crashes without reporting any runtime errors. On careful analysis, I found out that the program is skipping all the cin statements! It has happened to me quite a few ti...
Zones: C++Date Answered: 12/18/2004 Rating: 8.2 Views: 0
#include <iostream> using namespace std; int main() {       char temp[11];       cin.getline(temp,11);       cout << temp;       cin.ignore(100);       cout << "insert" << endl;       char Char;       cin >> Char;       co...
Zones: C++Date Answered: 04/15/2006 Rating: 9.4 Views: 0
I have a prety easy question, my mind is just drawing a blank though.. say I'm getting user input, but don't know how many strings they are putting in, how can I read until the end of the input....
Zones: C++Date Answered: 04/18/2006 Rating: 9.0 Views: 0