C Programming Software For Windows 10

By Thomas Carriero
This tutorial gives you easy-to-follow instructions, with screenshots, for setting up a compiler (the MINGW compiler), a tool that will let youturn the code that youwrite into programs, and Code::Blocks, a free development environment for C and C++. This tutorial explains how to install Code::Blocks on Windows 2000, XP, Vista or Windows 7. Note: if you're running Linux, go here to learn how to use GCC; if you're on OS X, go here to get set up using Apple XCode.

Step 1: Download Code::Blocks

  • Go to this website: http://www.codeblocks.org/downloads
  • Follow the link to 'Download the binary release' (direct link)
  • Go to the Windows 2000 / XP / Vista / 7 section
  • Look for the file that includes mingw in the name. (The name as of this writing was codeblocks-10.05mingw-setup.exe; the 10.05 may be different).
  • Save the file to your desktop. It is roughly 74 megabytes.

Step 2: Install Code::Blocks

  • Double click the installer.
  • Hit next several times. Other setup tutorials will assume you have installed in C:Program FilesCodeBlocks (the default install location), but you may install elsewhere if you like
  • Do a Full Installation
  • Launch Code::Blocks

Step 3: Running in Code::Blocks

You will be prompted with a Compilers auto-detection window:
When you get the compiler auto-detection window, just hit OK.Code::Blocks may ask if you want to associate it as the default viewer forC/C++ files--I'd suggest you do.Click on the File menu, and under 'New', select 'Project...'
The following window will come up:
Click on 'Console Application' and hit the 'Go' button.
Click next until you get to the Language Selection Dialog:
You'll be asked to choose whether you want to use C or C++. If you'renot sure, use C++. Otherwise, choose based on the language you are learning. (You can find tutorials here on both C and C++.)
After clicking 'Next', Code::Blocks will then prompt you with where you'd like to save the consoleapplication:
I'd recommend you put it in its own folder, as it may createseveral files (this is especially true if you create other types of projects). You will need to give your project a name, anything willbe fine.
Clicking 'Next' again will prompt you to set up your compiler:
You don't need to do anything here. Just accept the defaults by hitting'Finish'.
You can now open the main.cpp file on the left:
(You may need to expand the contents of the 'Sources' folder if you don't see main.cpp.)
At this point, you will have your main.cpp file, which you can modify if you like. For now, it just says 'Hello World!', so we can run it as is. Hit F9, which will first compile it and then run it.
You now have a running program! You can simply edit main.cpp and then hit F9 to compile it and run it again.
Now that you've finished setting your compiler up, it's time to learn toprogram: Intro toC++ (or if you're learning C, Intro to C).

Troubleshooting

The most common error people see if things don't work is a message like

'CB01 - Debug' uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...'

First, make sure that you downloaded the right version of Code::Blocks, theone that included MinGW. If that doesn't solve the problem, it is likely aproblem with compiler auto-detection. Here's how you can check your current'auto-detected' state. Go to 'Settings Compiler and Debugger...'. Then on theleft, choose 'Global Compiler Settings' (it has a gear icon) and on the right,select the 'Toolchain executables' tab. This tab has a 'Auto-detect' buttonthat you can use. That might fix the problem--if it doesn't, you can manuallyfill out the form. Here's a screenshot demonstrating what things look like onmy system. Change the path marked 'Compiler's installation directory' if youinstalled to a different location, and make sure everything else is filled in as shown.

Once you've done that, try pressing F9 again to see if you get a running program.

Continue to Intro toC++ (or Intro to C).

Advertising Privacy policy Copyright © 2019 Cprogramming.com Contact About

C++, an extension of well known C language, is an excellent, powerful and general purpose programming language that offers modern and generic programming features for developing large-scale applications ranging from video games, search engines, other computer software to operating systems.

C++ is highly reliable and also enables low-level memory manipulation for more advanced programming requirements.

There are several text editors out there that programmers can use to write C/C++ code, but IDE have come up to offer comprehensive facilities and components for easy and ideal programming.

Don’t Miss:12 Best Text Editors (GUI + CLI) for Linux I Found in 2015

In this article, we shall look at some of the best IDE’s you can find on the Linux platform for C++ or any other programming.

1. Netbeans for C/C++ Development

Netbeans is a free, open-source and popular cross-platform IDE for C/C++ and many other programming languages. Its fully extensible using community developed plugins.

It includes project types and templates for C/C++ and you can build applications using static and dynamic libraries. Additionally, you can reuse existing code to create your projects, and also use drag and drop feature to import binary files into it to build applications from the ground.

Let us look at some of its features:

  1. The C/C++ editor is well integrated with multi-session GNU GDB debugger tool.
  2. Support for code assistance
  3. C++11 support
  4. Create and run C/C++ tests from within
  5. Qt toolkit support
  6. Support for automatic packaging of compiled application into .tar, .zip and many more archive files
  7. Support for multiple compilers such as GNU, Clang/LLVM, Cygwin, Oracle Solaris Studio and MinGW
  8. Support for remote development
  9. File navigation
  10. Source inspection

NetBeans IDE for C++ Programming

Visit Homepage: https://netbeans.org/features/cpp/index.html

2. Code::Blocks

Code::Blocks is a free, highly extensible and configurable, cross-platform C++ IDE built to offer users the most demanded and ideal features. It delivers a consistent user interface and feel.

And most importantly, you can extend its functionality by using plugins developed by users, some of the plugins are part of Code::Blocks release and many are not, written by individual users not part of the Code::Block development team.

Its features are categorized into compiler, debugger and interface features and these include:

  1. Multiple compiler support including GCC, clang, Borland C++ 5.5, digital mars plus many more
  2. Very fast, no need for makefiles
  3. Multi-target projects
  4. Workspace that supports combining of projects
  5. Interfaces GNU GDB
  6. Support for full breakpoints including code breakpoints, data breakpoints, breakpoint conditions plus many more
    display local functions symbols and arguments
  7. custom memory dump and syntax highlighting
  8. Customizable and extensible interface plus many more other features including those added through user built plugins

Visit Homepage: http://www.codeblocks.org

3. Eclipse CDT(C/C++ Development Tooling)

Eclipse is a well known open-source, cross-platform IDE in the programming arena. It offers users a great GUI with support for drag and drop functionality for easy arrangement of interface elements.

The Eclipse CDT is a project based on the primary Eclipse platform and it provides a full functional C/C++ IDE with following features:

  1. Supports project creation
  2. Managed build for various toolchains
  3. Standard make build
  4. Source navigation
  5. Several knowledge tools such as call graph, type hierarchy, in-built browser, macro definition browser
  6. Code editor with support for syntax highlighting
  7. Support for folding and hyperlink navigation
  8. Source code refactoring plus code generation
  9. Tools for visual debugging such as memory, registers
  10. Disassembly viewers and many more

Eclipse IDE for Linux

Visit Homepage: http://www.eclipse.org/cdt/

4. CodeLite IDE

CodeLite is also a free, open-source, cross-platform IDE designed and built specifically for C/C++, JavaScript (Node.js) and PHP programming.

Some of its main features include:

  1. Code completion, and it offers two code completion engines
  2. Supports several compilers including GCC, clang/VC++
  3. Displays errors as code glossary
  4. Clickable errors via build tab
  5. Support for LLDB next generation debugger
  6. GDB support
  7. Support for refactoring
  8. Code navigation
  9. Remote development using built-in SFTP
  10. Source control plugins
  11. RAD (Rapid Application Development) tool for developing wxWidgets-based apps plus many more features

Visit Homepage: http://codelite.org/

6. Bluefish Editor

Bluefish is a more than just a normal editor, it is a lightweight, fast editor that offers programmers IDE like features for developing websites, writing scripts and software code. It is multi-platform, runs on Linux, Mac OSX, FreeBSD, OpenBSD, Solaris and Windows, and also supports many programming languages including C/C++.

It is feature rich including the ones listed below:

  1. Multiple document interface
  2. Supports recursive opening of files based on filename patterns or content pattern
  3. Offers a very powerful search and replace functionality
  4. Snippet sidebar
  5. Support for integrating external filters of your own, pipe documents using commands such as awk, sed, sort plus custom built scripts
  6. Supports full screen editing
  7. Site uploader and downloader
  8. Multiple encoding support and many more other features

BlueFish IDE Editor for Linux

Visit Homepage: http://bluefish.openoffice.nl

7. Brackets Code Editor

Brackets is a modern and open-source text editor designed specifically for web designing and development. It is highly extensible through plugins, therefore C/C++ programmers can use it by installing the C/C++/Objective-C pack extension, this pack is designed to enhance C/C++ code writing and to offer IDE like features.

Visit Homepage: http://brackets.io/

8. Atom Code Editor

Atom is also a modern, open-source, multi-platform text editor that can run on Linux, Windows or Mac OS X. It is also hackable down to its base, therefore users can customize it to meet their code writing demands.

It is fully featured and some of its main features include:

  1. Built-in package manager
  2. Smart auto-completion
  3. In-built file browser
  4. Find and replace functionality and many more

Atom Code Editor for Linux

Visit Homepage: https://atom.io/
Installation Instructions: https://www.tecmint.com/atom-text-and-source-code-editor-for-linux/

9. Sublime Text Editor

Sublime Text is a well refined, multi-platform text editor designed and developed for code, markup and prose. You can use it for writing C/C++ code and offers a great user interface.

It’s features list comprises of:

  1. Multiple selections
  2. Command palette
  3. Goto anything functionality
  4. Distraction free mode
  5. Split editing
  6. Instant project switching support
  7. Highly customizable
  8. Plugin API support based on Python plus other small features

Visit Homepage: https://www.sublimetext.com
Installation Instructions: https://www.tecmint.com/install-sublime-text-editor-in-linux/

10. JetBrains CLion

CLion is a non-free, powerful and cross-platform IDE for C/C++ programming. It is a fully integrated C/C++ development environment for programmers, providing Cmake as a project model, an embedded terminal window and a keyboard oriented approach to code writing.

It also offers a smart and modern code editor plus many more exciting features to enable an ideal code writing environment and these features include:

  1. Supports several languages other than C/C++
  2. Easy navigation to symbol declarations or context usage
  3. Code generation and refactoring
  4. Editor customization
  5. On-the-fly code analysis
  6. An integrated code debugger
  7. Supports Git, Subversion, Mercurial, CVS, Perforce(via plugin) and TFS
  8. Seamlessly integrates with Google test frameworks
  9. Support for Vim text editor via Vim-emulation plugin

JetBains CLion IDE

Visit Homepage: https://www.jetbrains.com/clion/

11. Microsoft’s Visual Studio Code Editor

Visual Studio is a rich, fully integrated, cross-platform development environment that runs on Linux, Windows and Mac OS X. It was recently made open-source to Linux users and it has redefined code editing, offering users every tool needed for building every app for multiple platforms including Windows, Android, iOS and the web.

It is feature full, with features categorized under application development, application lifecycle management, and extend and integrate features. You can read a comprehensive features list from the Visual Studio website.

Visit Homepage: https://code.visualstudio.com/

12. KDevelop

KDevelop is just another free, open-source and cross-platform IDE that works on Linux, Solaris, FreeBSD, Windows, Mac OSX and other Unix-like operating systems. It is based on the KDevPlatform, KDE and Qt libraries. KDevelop is highly extensible through plugins and feature rich with the following notable features:

  1. Support for Clang-based C/C++ plugin
  2. KDE 4 config migration support
  3. Revival of Oketa plugin support
  4. Support for different line editings in various views and plugins
  5. Support for Grep view and Uses widget to save vertical space plus many more

KDevelop IDE Editor

Visit Homepage: https://www.kdevelop.org

13. Geany IDE

Geany is a free, fast, lightweight and cross-platform IDE developed to work with few dependencies and also operate independently from popular Linux desktops such as GNOME and KDE. It requires GTK2 libraries for functionality.

Its features list consists of the following:

  1. Support for syntax highlighting
  2. Code folding
  3. Call tips
  4. Symbol name auto completion
  5. Symbol lists
  6. Code navigation
  7. A simple project management tool
  8. In-built system to compile and run a users code
  9. Extensible through plugins

Visit Homepage: http://www.geany.org/

14. Ajunta DeveStudio

Ajunta DevStudio is a simple GNOME yet powerful software development studio that supports several programming languages including C/C++.

It offers advanced programming tools such as project management, GUI designer, interactive debugger, application wizard, source editor, version control plus so many other facilities. Additionally, to above features, Ajunta DevStudio also has some other great IDE features and these include:

  1. Simple user interface
  2. Extensible with plugins
  3. Integrated Glade for WYSIWYG UI development
  4. Project wizards and templates
  5. Integrated GDB debugger
  6. In-built file manager
  7. Integrated DevHelp for context sensitive programming help
  8. Source code editor with features such as syntax highlighting, smart indentation, auto-indentation, code folding/hiding, text zooming plus many more

Anjuta DevStudio for Linux

Visit Homepage: http://anjuta.org/

15. The GNAT Programming Studio

The GNAT Programming Studio is a free easy to use IDE designed and developed to unify the interaction between a developer and his/her code and software.

Built for ideal programming by facilitating source navigation while highlighting important sections and ideas of a program. It is also designed to offer a high-level of programming comfortability, enabling users to developed comprehensive systems from the ground.

It is feature rich with the following features:

  1. Intuitive user interface
  2. Developer friendly
  3. Multi-lingual and multi-platform
  4. Flexible MDI(multiple document interface)
  5. Highly customizable
  6. Fully extensible with preferred tools

Visit Homepage: http://libre.adacore.com/tools/gps/

16. Qt Creator

It is a non-free, cross-platform IDE designed for creation of connected devices, UIs and applications. Qt creator enables users to do more of creation than actual coding of applications.

It can be used to create mobile and desktop applications, and also connected embedded devices.

Some of its features include:

  1. Sophisticated code editor
  2. Support for version control
  3. Project and build management tools
  4. Multi-screen and multi-platform support for easy switching between build targets plus many more

Qt Creator for Linux

Visit Homepage: https://www.qt.io/ide/

17. Emacs Editor

Emacs is a free, powerful, highly extensible and customizable, cross-platform text editors you can use on Linux, Solaris, FreeBSD, NetBSD, OpenBSD, Windows and Mac OS X.

The core of Emacs is also an interpreter for Emacs Lisp which is a language under the Lisp programming language. As of this writing, the latest release of GNU Emacs is version 24.5 and the fundamental and notable features of Emacs include:

  1. Content-aware editing modes
  2. Full Unicode support
  3. Highly customizable using GUI or Emacs Lisp code
  4. A packaging system for downloading and installing extensions
  5. Ecosystem of functionalities beyond normal text editing including project planner, mail, calender and news reader plus many more
  6. A complete built-in documentation plus user tutorials and many more

Visit Homepage: https://www.gnu.org/software/emacs/

18. VI/VIM Editor

Vim an improved version of VI editor, is a free, powerful, popular and highly configurable text editor. It is built to enable efficient text editing, and offers exciting editor features for Unix/Linux users, therefore, it is also a good option for writing and editing C/C++ code.

Don’t Miss:Learn Vi/Vim as a Full Text Editor – A BEGINNER’S GUIDE

Generally, IDEs offer more programming comfortability then traditional text editors, therefore it is always a good idea to use them. They come with exciting features and offer a comprehensive development environment, sometimes programmers are caught up between choosing the best IDE to use for C/C++ programming.

There many other IDEs you can find out there and download from the Internet, but trying out several of them can help you find that which suites your needs.

Share