Beginner
Image

C is a programming language ( see DEF) object oriented, created in 1972. It allows you to create computer programs, in the broad sense.

C ++ is a programming language ( see DEF) object oriented, created in 1983. It allows you to create, among other things, applications, software and games.

Code Examples

→ Let's start with very simple codes. The more you progress, page after page, the more sophisticated the scripts will be. However, you must go over 30 to 40 pages per level, before moving on to the next step...

→ In order to evaluate your codes, click on the icon on the left at the bottom of the page (gears), then choose a compiler from the list that will be open in another tab. Finally, test your work.

NOW REPRODUCE AND IMMERSE YOURSELF!

C 0001 - Hello World !

Reproduce this code (please do not copy-paste!). Watch out for the indentation !

#include <iostream>
using namespace std;

int main() {
  cout << "Hello World !";
  return 0;
}

C 0002 - Syntax

Reproduce this code (please do not copy-paste!). Watch out for the indentation !

#include <iostream>
using namespace std;

int main() {
  cout << "Hello World !";
  cout << " I'm learning C++ !";
return 0;
}

C 0003 - Go To The Next Line

Reproduce this code (please do not copy-paste!). Watch out for the indentation !

#include <iostream>
using namespace std;

int main() {
  cout << "Hello World !" << endl;
  cout << "I'm learning C++ !";
return 0;
}

C 0004 - Declarations And Statements

Reproduce this code (please do not copy-paste!). Watch out for the indentation !

#include <iostream>
using namespace std;

int main() {
  if (40 > 20) {
  cout << "40 is greater than 20";
}
return 0;
}

Icon

CHOOSE YOUR COMPILER

Reproduce this code, choosing one of the compilers below (♦ see DEF) (don't copy-paste! It would be too easy). They have the same use, just pick up one according to your preferences.

When you copy your code, replace the existing code (by default) with your own.

Warning ! For some of these compilers, you might have to choose the programming language yourself, in a specific menu which is offered to you. Of course, don't forget to click on RUN !

C/C++ Technical Specifications

Tools And Methodologies

Info+ (C/C++)

Creation
C++
» Date of creation: 1983
* Created by Bjarne Stroustrup
* Influenced by C, Algol and Simula
* Compiled programming language
VS
» Date of creation: 1972
* Created by Dennis Ritchie and Brian Kernighan
* Influenced by Algol and Fortran
* Mandatory programming language

Tools+ (C/C++)

Softwares & Frameworks

News

Tags

Reflex 002 ©
2023 / All rights reserved

Legal structure based in
Nice - FRANCE / Montreal - CANADA
Only by appointment...

Search

Image