Thank you very much for your help laser.
Type: Posts; User: Tchawa
Thank you very much for your help laser.
#include <iostream>
#include <string>
using namespace std;
//structures
struct StudentRecords
{
string name;
int id;
laser, why would it only be accepting the first cin of the character string and not allowing me further input, ex. I change the loop to 5 instead of two
output
Enter Student Name ----> Suzy...
Because it's late, and my brain is farting.
Already tried that, still get the same error of
error C2661: 'std::basic_istream<_Elem,_Traits>::getline' : no overloaded function takes 1 arguments
with
[
...
I'm trying to get an array of names stored into a data structure, but I keep getting this odd error of C2661
(error C2661: 'std::basic_istream<_Elem,_Traits>::getline' : no overloaded function...