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 :...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10224842.html
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:
...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20493215.html
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...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20572161.html
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!
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20576069.html
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...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20659074.html
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...
http://www.experts-exchange.com/Programming/Misc/Q_20981453.html
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...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21212820.html
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...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21241576.html
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...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21815113.html
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....
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21816808.html
Zones:
C++Date Answered: 04/18/2006 Rating: 9.0 Views: 0