Thread: Question about compilers?

  1. #1
    Registered User
    Join Date
    Dec 2019
    Posts
    99

    Question about compilers?

    Is notepad c++ the same as codeblocks c++?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    notepad is an editor - it edits text files, and that's it.

    notepad++ is a better editor, and through various 'run' type macros, you can start to mimic some crude behaviour of an IDE.

    codeblocks is an IDE. But it really doesn't care about what programming language you choose, or which compiler you choose.
    You could use it just as an editor, and figure out how to compile the code by some other means.

    The advantages of an IDE are
    - The editor probably knows things about the syntax of the language you're editing
    - You can point at things and get help on things like keywords, function names etc.
    - It knows how to find and run the compiler for you.
    - It can create projects which help with managing larger projects containing many files.
    - It can work with the debugger.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 03-06-2011, 07:45 PM
  2. Microsoft compilers question....
    By CommonTater in forum C++ Programming
    Replies: 27
    Last Post: 01-14-2011, 01:39 PM
  3. Question about C-Compilers
    By intrinsic_value in forum C Programming
    Replies: 1
    Last Post: 01-06-2011, 08:41 PM
  4. Academic Question About Compilers
    By keira in forum C Programming
    Replies: 4
    Last Post: 02-21-2008, 12:03 AM
  5. Quick question about compilers
    By Tsunexus in forum C++ Programming
    Replies: 2
    Last Post: 12-23-2005, 11:26 PM

Tags for this Thread