DEV Community

Pushpender Singh
Pushpender Singh

Posted on

1

C++ - The Introduction

C++ Logo

What is C++?

C++ is the Programming Language use to create computer programs.

It is a Cross Platform Language means programs made in c++ are able to run on different platforms like Windows/Linux etc with no or little modifications.

It was developed by Bjarne Stroustrup at Bell labs in 1979.

It is a Object Oriented Language (Note:- will discuss about it).

How to Create Programs in C++?

To do that we need :-

Hard way

  1. Text Editor :- Where you type code. It could be Notepad but VSCode will be better.
  2. Compiler:- who convert our file into computer's understandable form.

Note:- file extension should be .cpp and compiler will be according to your platform (Windows/Linux etc).

Easy Way

Just download one of these softwares:-

  1. DevC++ (Link)
  2. Code::Blocks (Link)

Note:- These are called IDEs (Integrated Development Environment).
Simply put Text Editor + Compiler = IDE.

Super Easy way

There are Online C++ Compilers:-

  1. Link 1
  2. Link 2

#Important terms

  1. Source File :- File you create with text editor.
  2. Executable File :- File that computer can understand/run directly.
  3. Compilation :- Process of converting source file into Executable file.

That's it for today.

If you find anything incorrect or know about it let me know in the comments it would be really appreciated.

Bye Guys Have a good day.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

If you found this piece interesting, consider dropping a ❤ī¸ or leaving a kind remark!

Great!