Search:

Type: Posts; User: Tchawa

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    14,148

    Thank you very much for your help laser.

    Thank you very much for your help laser.
  2. Replies
    15
    Views
    14,148

    #include #include using...

    #include <iostream>
    #include <string>
    using namespace std;

    //structures
    struct StudentRecords
    {

    string name;
    int id;
  3. Replies
    15
    Views
    14,148

    laser, why would it only be accepting the first...

    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...
  4. Replies
    15
    Views
    14,148

    Because it's late, and my brain is farting.

    Because it's late, and my brain is farting.
  5. Replies
    15
    Views
    14,148

    Already tried that, still get the same error of ...

    Already tried that, still get the same error of

    error C2661: 'std::basic_istream<_Elem,_Traits>::getline' : no overloaded function takes 1 arguments
    with
    [
    ...
  6. Replies
    15
    Views
    14,148

    C++ Help with cin.getline

    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...
Results 1 to 6 of 6