Search:

Type: Posts; User: boblablabla

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    55,688

    That did it! Thank you so much! It's strange,...

    That did it! Thank you so much!

    It's strange, I ran his code in a different project and it worked fine the way he had it. But in my code I have to put the ignore before every chunk of getlines...
  2. Replies
    10
    Views
    55,688

    I mean it skips the geline(cin, name) not the...

    I mean it skips the geline(cin, name) not the following cin.

    I used the cin.ignore()

    maybe I am missing something




    cout<<"Please enter the following information:"<<endl;
  3. Replies
    10
    Views
    55,688

    When I use getline the same exact way you are...

    When I use getline the same exact way you are using it, it completely skips it like there isn't even a cin there. I saw on other places online they use it the same way too. It doesn't cause an error...
  4. Replies
    10
    Views
    55,688

    Could you give an example with my particular...

    Could you give an example with my particular situation?
  5. Replies
    10
    Views
    55,688

    How do I allow spaces on a cin?

    So I am creating this code on Dev C++ to cin a information about an employee that will later be output to a text file. It includes Name, ID number, Phone Number, Address, etc.

    Address will...
  6. Awesome! Thank you so much for responding so...

    Awesome! Thank you so much for responding so quickly. I actually tried the || on those to save lines earlier and it wouldn't work for me because I forgot to type employeeType == for both of them and...
  7. How do I put this code into custom classes?

    I spent an entire week trying to figure out how to do this correctly and I finally got it, only to find that I have to put it into custom classes. Then I spent the entire past week trying to do it...
  8. Making an address book in C++ with arrays inside of structures?

    I am trying to make a program that

    1) Ask how many positions the user would like
    2) Prompt a list of address book questions for them to fill in the data
    3) ask which position to view
    4) show...
Results 1 to 8 of 8