Thread: Beginner programmer

  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    23

    Beginner programmer

    I am new to programming and was wondering what is the best user friendly C/C++ program to use. I hav Dev-C++ on my computer and am a little confused. I had microsoft visual C++ 2008 and was loving it, but my trial ran out.

    Is there a site where I can get visual C++ 2008 professional version or a good substitute?

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by Kool4School
    I had microsoft visual C++ 2008 and was loving it, but my trial ran out.
    Use the Express edition then.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Nov 2004
    Location
    USA
    Posts
    516
    I use Code::Blocks or Dev Cpp if I am on windows. On Linux, i use Kwrite as the text editor and g++ as the compiler to write and compile code respectively. Dev Cpp is lightweight and very simple to use. I would suggest using that.
    Last edited by PING; 11-24-2008 at 01:05 PM. Reason: Clarity.
    Code:
    >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+++.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++.

  4. #4
    Registered User
    Join Date
    Nov 2008
    Posts
    23
    to laser-

    My trial ran out on the express

    to ping-

    Code::Blocks is good? Is it easy to use? I found visual C++ to be fairly easy to use, is it comprable?

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by Kool4School
    to laser-

    My trial ran out on the express
    The Express editions do not have a time limit. They do have a time limit for registration, apparently, but registration is free.

    Quote Originally Posted by Kool4School
    Code::Blocks is good? Is it easy to use? I found visual C++ to be fairly easy to use, is it comprable?
    It depends on what exactly are the features you are looking for. Generally, they both are "good" and "easy to use".
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  6. #6
    Registered User
    Join Date
    Nov 2008
    Posts
    23
    Loving code::blocks, thanks for the help.

  7. #7
    Hacker MeTh0Dz's Avatar
    Join Date
    Oct 2008
    Posts
    111
    Quote Originally Posted by PING View Post
    I use Code::Blocks or Dev Cpp if I am on windows. On Linux, i use Kwrite and g++. Dev Cpp is lightweight and very simple to use. I would suggest using that.
    Stop mixing concepts. Code::Blocks, DevCpp, and KWrite are editors/IDEs, g++ is a compiler. More than likely you are using a port of g++ in DevCpp and Code::Blocks.

  8. #8
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by MeTh0Dz
    Stop mixing concepts. Code::Blocks, DevCpp, and KWrite are editors/IDEs, g++ is a compiler. More than likely you are using a port of g++ in DevCpp and Code::Blocks.
    Admittedly, Kool4School did not ask for suggestions for a compiler, but a "C/C++ program", which presumably means a C and C++ development environment of some sort, whether it is integrated, or some text editor with some compiler. Consequently, I see no fault in suggesting Code::Blocks, Dev-C++, and Kwrite and g++ (at the command line, presumably).
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  9. #9
    Registered User
    Join Date
    Nov 2004
    Location
    USA
    Posts
    516
    Stop mixing concepts. Code::Blocks, DevCpp, and KWrite are editors/IDEs, g++ is a compiler. More than likely you are using a port of g++ in DevCpp and Code::Blocks.
    I know my concepts pretty well . He wanted a user friendly C/C++ program to code, so i pointed out that when I am on Linux, I use Kwrite and g++. Both of them are C/C++ programs which are used for writing and compiling code respectively.

    P.S. Dev Cpp uses mingw as a g++ port.
    Code:
    >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+++.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++.

  10. #10
    Hacker MeTh0Dz's Avatar
    Join Date
    Oct 2008
    Posts
    111
    Listing three editors and then a compiler (and not specifying the difference) just seems nonsensical to me. But that's just me.

  11. #11
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by MeTh0Dz
    Listing three editors and then a compiler
    Neither Code::Blocks nor Dev-C++ is an editor

    EDIT:
    Quote Originally Posted by MeTh0Dz
    and not specifying the difference
    Yeah, it probably would have been good to say exactly what is each tool and where to get it, but the point is moot since Kool4School managed to get an IDE working anyway. It may be a problem if Kool4School then thinks that IDE are compilers, but that might also happen if no one ever listed a compiler separately.
    Last edited by laserlight; 11-24-2008 at 01:05 PM.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  12. #12
    Hacker MeTh0Dz's Avatar
    Join Date
    Oct 2008
    Posts
    111
    Okay in that case.

    Listing two IDEs, an editor, and a compiler is even more nonsensical than the set I mentioned beforehand.

  13. #13
    Registered User
    Join Date
    Nov 2004
    Location
    USA
    Posts
    516
    Listing three editors and then a compiler (and not specifying the difference) just seems nonsensical to me. But that's just me
    I mentioned 2 IDEs for windows. I mentioned a text editor and a compiler for Linux. I shall edit my post if its not too clear.
    Code:
    >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+++.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++.

  14. #14
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by MeTh0Dz
    Listing two IDEs, an editor, and a compiler is even more nonsensical than the set I mentioned beforehand.
    Not really. The combination of an editor and a compiler is a valid development environment, though some might add a debugger, etc. Binding these separate tools together makes an IDE.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  15. #15
    Hacker MeTh0Dz's Avatar
    Join Date
    Oct 2008
    Posts
    111
    Okay well he has sense edited his original post so it is harder to convey this point.

    But listing them in that fashion, is somewhat ambiguous. Especially to a novice programmer like the OP, I doubt that he would have known the different functions of each of the four programs.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 04-29-2009, 10:13 AM
  2. Beginner C programmer - My CSV reader
    By spadez in forum C Programming
    Replies: 6
    Last Post: 04-04-2009, 08:46 PM
  3. [C] - String Manipulation {Beginner Programmer}
    By INFERNO2K in forum C Programming
    Replies: 14
    Last Post: 05-21-2005, 11:34 AM
  4. Beginner c++ programmer looking for suggestions....
    By Sheshi in forum C++ Programming
    Replies: 6
    Last Post: 03-08-2003, 04:38 PM
  5. Any beginner C++ programmer wants to.....
    By incognito in forum C++ Programming
    Replies: 5
    Last Post: 12-06-2001, 08:15 AM