Dev C++ Reference

 
Dev-C++ is a free IDE for Windows that uses either MinGW or TDM-GCC as underlying compiler.
Originally released by Bloodshed Software, but abandoned in 2006, it has recently been forked by Orwell, including a choice of more recent compilers. It can be downloaded from:
http://orwelldevcpp.blogspot.com

Installation

Run the downloaded executable file, and follow its instructions. The default options are fine.

Support for C++11

By default, support for the most recent version of C++ is not enabled. It shall be explicitly enabled by going to:
Tools -> Compiler Options
Here, select the 'Settings' tab, and within it, the 'Code Generation' tab. There, in 'Language standard (-std)' select 'ISO C++ 11':
Ok that. You are now ready to compile C++11!

Compiling console applications

To compile and run simple console applications such as those used as examples in these tutorials it is enough with opening the file with Dev-C++ and hit F11.
As an example, try:
File -> New -> Source File (or Ctrl+N)
There, write the following:
Then:
File -> Save As.. (or Ctrl+Alt+S)
And save it with some file name with a .cpp extension, such as example.cpp.
Now, hitting F11 should compile and run the program.
If you get an error on the type of x, the compiler does not understand the new meaning given to auto since C++11. Please, make sure you downloaded the latest version as linked above, and that you enabled the compiler options to compile C++11 as described above.

Tutorial

You are now ready to begin the language tutorial: click here!.
  1. Dev C++ 4.9.9.2 Download
  2. Dev C++ Linker Error Undefined Reference To
-->

This reference explains the C++ programming language as implemented in the Microsoft C++ compiler. The organization is based on The Annotated C++ Reference Manual by Margaret Ellis and Bjarne Stroustrup and on the ANSI/ISO C++ International Standard (ISO/IEC FDIS 14882). Microsoft-specific implementations of C++ language features are included.

Dev-C is Free Software (also referred as Open Source), and is written in Delphi (yes I know the irony). Notice that gets is quite different from fgets: not only gets uses stdin as source, but it does not include the ending newline character in the resulting string and does not allow to specify a maximum size for str (which can lead to buffer overflows). Parameters str. Apr 27, 2015  Dev-C is looking for translators, because the author doesn't master all thirty languages Dev-C is (partially) translated in. So, if you're willing to translate Dev-C into a language or update the existing translation, don't hesitate to open up YourLanguage.lng and start translating/updating, using English.lng as the reference language.

Orwell Dev-C is a full-featured Integrated Development Environment (IDE) for the C/C programming language. It uses Mingw port of GCC (GNU Compiler Collection) as its compiler. Standard C Library reference. C Library The elements of the C language library are also included as a subset of the C Standard library. These cover many aspects, from general utility functions and macros to input/output functions and dynamic memory management functions.

For an overview of Modern C++ programming practices, see Welcome Back to C++.

See the following tables to quickly find a keyword or operator:

In This Section

Lexical Conventions
Fundamental lexical elements of a C++ program: tokens, comments, operators, keywords, punctuators, literals. Also, file translation, operator precedence/associativity.

Basic Concepts
Scope, linkage, program startup and termination, storage classes, and types.

Built-in typesThe fundamental types that are built into the C++ compiler and their value ranges.

Standard Conversions
Type conversions between built-in types. Also, arithmetic conversions and conversions among pointer, reference, and pointer-to-member types.

Declarations and definitionsDeclaring and defining variables, types and functions.

Operators, Precedence and Associativity
The operators in C++.

Expressions
Types of expressions, semantics of expressions, reference topics on operators, casting and casting operators, run-time type information.

Lambda Expressions
A programming technique that implicitly defines a function object class and constructs a function object of that class type.

Statements
Expression, null, compound, selection, iteration, jump, and declaration statements.

Classes and structs
Introduction to classes, structures, and unions. Also, member functions, special member functions, data members, bit fields, this pointer, nested classes.

Unions
User-defined types in which all members share the same memory location.

Derived Classes
Single and multiple inheritance, virtual functions, multiple base classes, abstract classes, scope rules. Also, the __super and __interface keywords.

Member-Access Control
Controlling access to class members: public, private, and protected keywords. Friend functions and classes.

Dev C++ Reference

Overloading
Overloaded operators, rules for operator overloading.

Exception Handling
C++ exception handling, structured exception handling (SEH), keywords used in writing exception handling statements.

Assertion and User-Supplied Messages
#error directive, the static_assert keyword, the assert macro.

Templates
Template specifications, function templates, class templates, typename keyword, templates vs. macros, templates and smart pointers.

Dev C++ 4.9.9.2 Download

Event Handling
Declaring events and event handlers.

Microsoft-Specific Modifiers
Modifiers specific to Microsoft C++. Memory addressing, calling conventions, naked functions, extended storage-class attributes (__declspec), __w64.

Inline Assembler
Using assembly language and C++ in __asm blocks.

Compiler COM Support
A reference to Microsoft-specific classes and global functions used to support COM types.

Microsoft Extensions
Microsoft extensions to C++.

Nonstandard Behavior
Information about nonstandard behavior of the Microsoft C++ compiler.

Traktor pro mp3 e2 manual. Welcome Back to C++
An overview of modern C++ programming practices for writing safe, correct and efficient programs.

Related Sections

Dev C++ Linker Error Undefined Reference To

Component Extensions for Runtime Platforms
Reference material on using the Microsoft C++ compiler to target .NET.

C/C++ Building Reference
Compiler options, linker options, and other build tools.

C/C++ Preprocessor Reference
Reference material on pragmas, preprocessor directives, predefined macros, and the preprocessor.

Visual C++ Libraries
A list of links to the reference start pages for the various Microsoft C++ libraries.

See also