CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 35
  1. #16
    Join Date
    Oct 2009
    Posts
    38

    Re: C++ new line HELP

    can someone help me with this? i've spent hours on this program in general and i can't seem to get it.

  2. #17
    Join Date
    May 2009
    Posts
    2,413

    Re: C++ new line HELP

    Quote Originally Posted by Sabensohn70 View Post
    can someone help me with this? i've spent hours on this program in general and i can't seem to get it.
    Calm down and post the exact code that's not compiling.

    Also post the compiler's error message.

  3. #18
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: C++ new line HELP

    Quote Originally Posted by nuzzle View Post
    You mean me?
    Of course not, I'm referring to the code that was generating the error messages above in post 7. Why would you assume I was referring to you? Actually I'm saying essentially the same thing as jnmacd, he just managed to say it a few seconds earlier.

    The posted lines clearly contain quotation marks in the wrong places (what does << " << even mean?), hence the errors.
    Last edited by Lindley; October 12th, 2009 at 06:29 PM.

  4. #19
    Join Date
    May 2009
    Posts
    2,413

    Re: C++ new line HELP

    Quote Originally Posted by Lindley View Post
    Of course not
    That's good to know. The less you get in my way the better.

    Your whining about me giving too much help to homeworkers was too much already.

  5. #20
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: C++ new line HELP

    That's all right, I don't particular like you either.

    And the issue wasn't with you helping. Helping is great. It was about you solving, completely, the presented question. That's not helpful, and it's against the board policy. But you think you know better, don't you? You think you're smarter than everyone else here. And I'm sure you are smarter than many. But your refusal to accept any sort of criticism (no matter how trivlal) escalated that little incident well beyond where it needed to go. As it seems to every single time anyone corrects you on any little detail, no matter how trivial or understandable the mistake. It's okay to simply say "Fair enough" and move on, you know.

    Fear not, I haven't corrected you here.
    Last edited by Lindley; October 12th, 2009 at 07:40 PM.

  6. #21
    Join Date
    May 2009
    Posts
    2,413

    Re: C++ new line HELP

    Quote Originally Posted by Lindley View Post
    That's all right, I don't particular like you either.
    Of course you don't like me. I'm smarter than you and you're not used to that.

    And the issue wasn't with you helping. Helping is great. It was about you solving, completely, the presented question. That's not helpful, and it's against the board policy.
    As I've said, I'm not going to adapt to what you and the board consider the appropriate way of helping.

    I reply the way I see fit.

  7. #22
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: C++ new line HELP

    Quote Originally Posted by nuzzle View Post
    Of course you don't like me. I'm smarter than you and you're not used to that.
    Are you kidding? I'm plenty used to that. I work with some very smart people. I try to learn from those who know more than me about a particular subject. I've learned plenty from my time on here.

    Maybe you edge me out too, maybe not, but I've seen no evidence of it on here so far. I have seen evidence, however, that you have a far bigger ego than I.

    As I've said, I'm not going to adapt to what you and the board consider the appropriate way of helping.

    I reply the way I see fit.
    The defense rests.

    To avoid derailing another thread I'm leaving it at that. I don't like arguing with you. Or anyone, really. Something about your manner just hits all of my buttons the wrong way.
    Last edited by Lindley; October 12th, 2009 at 08:16 PM.

  8. #23
    Join Date
    May 2009
    Posts
    2,413

    Re: C++ new line HELP

    Quote Originally Posted by Lindley View Post
    Are you kidding? I'm plenty used to that. I work with some very smart people. I try to learn from those who know more than me about a particular subject. I've learned plenty from my time on here.

    Maybe you edge me out too, maybe not, but I've seen no evidence of it on here so far. I have seen evidence, however, that you have a far bigger ego than I.
    You feel you always have the upper hand, don't you? Other people's nothing but a "learning experience" to you.

    Well you're wrong. You're not as smart as you think.

    The defense rests.

    To avoid derailing another thread I'm leaving it at that. I don't like arguing with you. Or anyone, really. Something about your manner just hits all of my buttons the wrong way.
    I tell you one thing. Regardless of whether you "like" it or not you better get used to arguing with me.

  9. #24
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: C++ new line HELP

    Quote Originally Posted by nuzzle View Post
    You're not as smart as you think.
    Backatcha!

    I tell you one thing. Regardless of whether you "like" it or not you better get used to arguing with me.
    Only when you post something that requires correction or clarification. Otherwise, I'm good with mutual ignoring.
    Last edited by Lindley; October 12th, 2009 at 10:41 PM.

  10. #25
    Join Date
    May 2009
    Posts
    2,413

    Re: C++ new line HELP

    Quote Originally Posted by Lindley View Post
    Backatcha!
    Well thank you. I just wanted to show you what I'm capable of.

    I'm way out of your league both intellectually and demagogically.

  11. #26
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: C++ new line HELP

    If you mean you're better at being annoying, then yes, absolutely.

    Now, you've managed to tear this thread way off-topic for absolutely no good reason. I'm done helping you with that. All because you couldn't infer the correct context of a reply despite its obvious relation to a previous post.

    For whatever reason you've decided to make this personal. Maybe I'll just leave your mistakes for someone else to point out next time, since you clearly can't tolerate me doing so.
    Last edited by Lindley; October 12th, 2009 at 11:29 PM.

  12. #27
    Join Date
    May 2009
    Posts
    2,413

    Re: C++ new line HELP

    Quote Originally Posted by Lindley View Post
    For whatever reason you've decided to make this personal. Maybe I'll just leave your mistakes for someone else to point out next time, since you clearly can't tolerate me doing so.
    I think I draw the line here for today.

    Continuing would mean I had to expose your flawed character and I save that for another day. Goodnight.
    Last edited by nuzzle; October 12th, 2009 at 11:44 PM.

  13. #28
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: C++ new line HELP

    ^Until we have something that's actually worth debating, then.

    Quote Originally Posted by Sabensohn70 View Post
    okay i seperated it into three lines, now i am suppose to type it in two lines but have it show in one line when i compile it. how do i do this? so far i have.

    cout << "The average rainfall for "<<month1<<, "<<month2<<" and "<<month3<<" is: " << average << " inches"<< endl;

    I have to type that in 2 line so its shorter, but when I compile it can only show in one line.
    It'll be exactly the same as the show-in-three-lines code, except with fewer endls.

  14. #29
    Join Date
    Jan 2003
    Posts
    615

    Re: C++ new line HELP

    Sabensohn70: Please post your complete code using code tags.
    Before post, make an effort yourself, try googling or search here.

    When posting, give a proper description of your problem, include code* and error messages.

    *All code should include code tags

  15. #30
    Join Date
    Jun 2009
    Location
    France
    Posts
    2,513

    Re: C++ new line HELP

    Quote Originally Posted by laasunde View Post
    Sabensohn70: Please post your complete code using code tags.
    That's OK, I think Lindley and Nuzzle just killed the thread...
    Lindley, you should have left when you said you'd leave it at that. Be the bigger man.

    @Sabensohn70
    If you are still reading this thread, I think it is time you start studying your classes, and proof reading your code. No offense, but no one should need this much help for a simple cout program. Maybe you are just a little lazy, and hope people here would help you, which could explain that.

    But if you are truly having difficulties with this, it's either time to buy a good book and study hard, or start worrying :/

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured