User Profile

Collapse

Profile Sidebar

Collapse
Elohim
Elohim
Last Activity: Dec 18 '10, 12:41 AM
Joined: Dec 16 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks a lot for the answer, I don't know what happens to me with the comma ^^... The Problems was that I'm reading on a Kindle and is hard to distinguish the . with the , and the " with the '. I don't know how this part works (greeting.size( ),' ') I just get the Idea from Accelerated C++: Practical Programming by Example. But now is done.

    Thanks again.

    Fixed code:

    Code:
    #include<iostream>
    #include<string>
    ...
    See more | Go to post

    Leave a comment:


  • What means expected unqualified-id before string constant on C++?

    Hi to everybody, I'm a learner of C++. I'll really appreciate if you can help me or teach me something.

    Thank you in advance.

    Code:
    #include<iostream>
    #include<string>
    
    int main()
    {
        std::cout << "Introduce your first name:";
        std::string name;
        std::cin >> name;
        
        //build the message that I intend to write.
        const
    ...
    See more | Go to post
No activity results to display
Show More
Working...