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

    We start with very simple codes. The more you progress, page after page, the more sophisticated the scripts will be.

    C 0001 - Hello World !

    Say hello...
    Watch for the indentation !
    #include <iostream>
    using namespace std;

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

    Reproduce this code, choosing one of the compilers below (♦ See DEF.) (don't copy-paste! It would be too easy). They have the same function, 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 0002 - Syntax

    Say hello and continue on the same line...
    Watch for the indentation !
    #include <iostream>
    using namespace std;

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

    Reproduce this code, choosing one of the compilers below (♦ See DEF.) (don't copy-paste! It would be too easy). They have the same function, 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 0003 - Go to the next line

    Go to the next line...
    Watch for the indentation !
    #include <iostream>
    using namespace std;

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

    Reproduce this code, choosing one of the compilers below (♦ See DEF.) (don't copy-paste! It would be too easy). They have the same function, 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 0004 - Declarations and Statements

    Compare two digits...
    Watch for indentation !
    #include <iostream>
    using namespace std;

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

    Reproduce this code, choosing one of the compilers below (♦ See DEF.) (don't copy-paste! It would be too easy). They have the same function, 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 !

    Info+

    Creation
    C ++
    » Creation date: 1983

    * Created by Bjarne Stroustrup
    * Influenced by C, Algol and Simula
    * Compiled programming language
    C
    » Creation date: 1972
    * Created by Dennis Ritchie and Brian Kernighan
    * Influenced by Algol and Fortran
    * Imperative programming language

    Tools & Levels

    Software & Frameworks

    Practical cases

    In order to train you, we add small programs every week to this section in order to keep you up to speed.

    CASE 1

    BASIC LEVEL

    Prepare the working environment

    These recommendations will get you started with C++ as comfortably as possible.

    TRY

    CASE 2

    INTERMEDIATE LEVEL

    Create a management program (libraries)

    This little kit will allow you to design an App. managing several types of virtual libraries.

    TRY

    CASE 3

    EXPERT LEVEL

    Create a professional directory

    Design and develop a program featuring an interactive professional directory...

    TRY

    2021 (C) Fond of Code tm (official trademark) - Reflex002 / Diego Piccini (da Todi).
    All rights reserved. Protected editorial content (www.theethicalweb.com) / INPI France.

    About Us...

    About Us...
    Reflex002

    O-O
    Programming
    Development

    Main Topics

    Main Topics

    Legal/Support

    Legal/Support
    Image
    © Copyright 2022 Reflex002. Designed By Art and Earth Networks and Technology / Diego Piccini / Piccini da Todi G&D Studio