Welcome! Please Login or Sign Up.

Code Problem

Discussion in 'Technology Forum' started by Mix Man Ardent, Dec 23, 2011.


Thread Status:
Not open for further replies.
  1. VIP

    Joined:
    Feb 14, 2009
    Posts:
    212
    Likes:
    1,488
    Trophy Points:
    31
    Well I am trying to get into Programming a little. So Ive been reading this book. Can anyone tell me whats wrong with these codes, I keep getting a compiler errors.

    and this code
    Could It be these codes are actually too aged for the Compiler?
    Btw Im using ANSI Compliant C++ compilers, two actually , Dev C++, and Microsoft Visual Basic 2010 Express.
     
    Mix Man Ardent, Dec 23, 2011


    #1
  2. Member

    Joined:
    Oct 8, 2009
    Posts:
    87
    Likes:
    254
    Trophy Points:
    16
    it could be that they're aged.

    because once a coding language is updated, for example Visual Basic, syntaxes change. a line that you would usually have to do, to say... show the time, is initiated by a different command now to make it easier.

    so it's always best to use the newest compiler you can that has all the updated commands, etc.
     
  3. Member

    Joined:
    Sep 20, 2009
    Posts:
    61
    Likes:
    7
    Trophy Points:
    6
    what are the errors?
    it could be the

    std::cout << end1; //should be endl
    std::cout << x + y << " " << x * y;
    std::cout << end; //should be endl
     
  4. Newbie

    Joined:
    Jul 26, 2011
    Posts:
    11
    Likes:
    0
    Trophy Points:
    1
    Post the errors it'll be a lot easier to debug!
     
Thread Status:
Not open for further replies.

Share This Page