Thread: A question about choosing a compiler.

  1. #1
    Registered User
    Join Date
    Jun 2011
    Posts
    4

    A question about choosing a compiler.

    I finally got a programming book, Workout C, at a thrift store for 50 cents. The problem is that the disks are missing that have the compiler Power C, on them. I want to ask what a good substitute would be, because i know there are many free Compilers. I just don't know which one to use because i want to know which one would be best to use with that book, that runs on windows.

  2. #2
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    Download an IDE( e.g. netbeans,codeblocks) which have their own compilers...You may need to download some extra packages related to the IDE,but this is also free

  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    A search of the Web shows that, apparently, "Power C is an ANSI compatible C compiler for DOS that requires very few resources". If the "ANSI compatible" part really means that the compiler mostly conforms to the 1989/1990 C standard, and if DOS-specific aspects are not prevalent in the book, than any C compiler that reasonably conforms to the C standard will do. Such examples include gcc (the MinGW port of which is available on Windows bundled with the Code Blocks IDE) and the compiler that comes with the Pelles C 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

  4. #4
    Registered User
    Join Date
    Sep 2012
    Posts
    11

  5. #5
    Registered User
    Join Date
    Jun 2011
    Posts
    4
    Thank you. Code:Blocks is working fine with the book tutorials, can't wait to actually write some of my own programs. No more procrastination.

  6. #6
    Registered User
    Join Date
    Jul 2012
    Location
    Australia
    Posts
    242
    Quote Originally Posted by evilyoshi View Post
    Thank you. Code:Blocks is working fine with the book tutorials, can't wait to actually write some of my own programs. No more procrastination.
    Code::Blocks is great. C is a lot of fun.
    IDE: Code::Blocks | Compiler Suite for Windows: TDM-GCC (MingW, gdb)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Choosing a compiler
    By Jez in forum C Programming
    Replies: 12
    Last Post: 02-28-2011, 11:58 PM
  2. Choosing the right C++ compiler
    By thomas_joyee in forum C++ Programming
    Replies: 5
    Last Post: 06-18-2008, 06:29 AM
  3. Choosing a compiler
    By pushingsquares in forum Game Programming
    Replies: 27
    Last Post: 12-14-2006, 10:33 AM
  4. Choosing a compiler
    By Unregistered in forum C++ Programming
    Replies: 8
    Last Post: 06-10-2002, 04:00 PM
  5. choosing a compiler
    By almost_here in forum Game Programming
    Replies: 4
    Last Post: 11-29-2001, 07:20 AM