Like Tree3Likes

Output error

This is a discussion on Output error within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by Elysia What outdated version of the compiler are you using? 4.0? I am using Microsoft Visual C++ ...

  1. #16
    Registered User
    Join Date
    Aug 2011
    Posts
    385
    Quote Originally Posted by Elysia View Post
    What outdated version of the compiler are you using? 4.0?
    I am using Microsoft Visual C++ 6.0

  2. #17
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,304
    Quote Originally Posted by juice
    I am using Microsoft Visual C++ 6.0
    Yeah, that is a pre-standard compiler. You should use at least MSVC7.1, which comes with Visual Studio 2003. That said, even the latest C++ compilers available today are pre-standard with respect to the current edition of the C++ standard, published just this year, but at least if you use a more recent version, you would get access to more features that were introduced in this new edition of the standard.

    (Plus, it is more likely that bugs related to features from the previous edition of the standard were fixed, even though new bugs may have been introduced with new features, heh.)
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #18
    Registered User
    Join Date
    Aug 2011
    Posts
    385
    I wanna say thanks laser. u've always been kind with me and helped me out with all my stupid mistakes.
    Thanks..

  4. #19
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,528
    Quote Originally Posted by juice View Post
    The book that I am referring "Let us C++" by Yashwant Kanetkar has never said int main() or <iostream.h>, and I don't find any compelling reasons to do that either.
    Yet another book that teaches an antique version of "C with classes".
    It is not a bad book, but there are plenty of better ones available.
    I'd suggest -- Accelerated C++ ; and complement with some online tutorials/lectures and exercises.
    Manasij Mukherjee | gcc-4.9.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  5. #20
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,025
    Quote Originally Posted by juice View Post
    I am using Microsoft Visual C++ 6.0
    What made you think that was a good idea, considering its age?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #21
    Registered User
    Join Date
    Aug 2011
    Posts
    385
    Never mind. I have migrated to visual studio 2010, and am loving it.
    laserlight likes this.

  7. #22
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,691
    Quote Originally Posted by juice View Post
    I have visual studio 2010 but I am a newbie, and I am not that apt at using these modern compilers. So it will take some time for me to catch up!!
    The sooner you get apt () the better.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with an error in the output of my code!
    By justiliang in forum C Programming
    Replies: 11
    Last Post: 09-24-2011, 10:29 AM
  2. compiler error not formatting output
    By Joeg1484 in forum Linux Programming
    Replies: 8
    Last Post: 04-06-2011, 04:08 PM
  3. sprintf output error
    By Ji33my in forum C++ Programming
    Replies: 2
    Last Post: 09-16-2010, 11:53 PM
  4. rcp error output question
    By cristane in forum Linux Programming
    Replies: 1
    Last Post: 07-18-2005, 10:47 PM
  5. Error End of OutPut
    By swgh in forum C++ Programming
    Replies: 4
    Last Post: 07-01-2005, 09:43 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21