Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

C/C++ Programming for Beginners (Basic to Advance)

License

NotificationsYou must be signed in to change notification settings

The-Young-Programmer/C-CPP-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Warning: This repository was moved tothis one. The owner of project losed his accont, then he will now update everything there...

C/C++ Programming for Beginners
Basic to Advance



Contents :

Visit here for full course

> Click the drop-down to view the outline

Introduction
C++ Basics
C++ Advance (GUI) Visit here for full course
C Basics
C Advance (GUI) Visit here for full course
Projects
Download App





Introduction to C++🔝

What is C++ Programming Language ?

  • C++ is a cross-platform language that can be used to create high-performance applications.

  • C++ was developed by Bjarne Stroustrup, as an extension to the C language.

  • It is developed at AT and T's Bell Lab (USA) in 1979

  • The language was updated 4 major times in 2011, 2014, 2017, and 2020 to C++11, C++14, C++17, C++20.

  • C++ is fun and easy to learn!

  • As C++ is close to C# and Java, it makes it easy for programmers to switch to C++ or vice versa.

Application of C++

  • Developing Games

  • Operating Syatems

  • Compilers and Editors

  • Database Systems and Interpreters

  • Graphics Packages

  • Network Drivers

C++ compiler /IDE

To start using C++, you need two things:

  • A text editor, like Notepad, to write C++ code
  • A compiler, like GCC, to translate the C++ code into a language that the computer will understand

An IDE (Integrated Development Environment) is used to edit AND compile the code.

Popular IDE's include:Code::Blocks,Eclipse, andVisual Studio Code.These are all free, and they can be used to both edit and debug C++ code.

I will be usingVisual Studio Code in this Project, which I believe is a good place to start.

You can find the latest version of VSCode athttps://code.visualstudio.com/.

Follow this process to install and setup VSCode, which will install the text editor with a compiler.

Quick Start :

  • Let's create our first C++ file.
  • OpenVSCode and go to File > New Text File.
  • Write the following C++ code and save the file asmyfirstprogram.cpp (File > Save File as):
// myfirstprogram.cpp#include <iostream>using namespace std;int main() {  cout << "Hello World!";  return 0;}
  • In VSCode, it should look like this:

Screenshot 2023-04-22 110959

  • Then, go to Run > Run to run (execute) the program.
  • Congratulations! You have now written and executed your first C++ program.




Introduction to C🔝

What is C Programming Language ?

  • C is a general-purpose programming language created by Dennis Ritchie at the Bell Laboratories in 1972.

  • It is a very popular language, despite being old.

  • C is strongly associated with UNIX, as it was developed to write the UNIX operating system.

  • Both C/C++ has the same features and applications

NOTEC and C++ uses the same compiler and IDE

Quick Start :

  • Let's create our first C file.
  • OpenVSCode and go to File > New Text File.
  • Write the following C code and save the file asmyfirstprogram.c (File > Save File as):
// myfirstprogram.c#include <stdio.h>int main() {  printf("Hello World!");  return 0;}




Differences between and🔝

  • C++ was developed as an extension of C, and both languages have almost the same syntax.

  • The main difference between C and C++ is that C++ support classes and objects, while C does not.




C++/C Compiler on different OS🔝

For Windows, Linux and MacOS

  • InstallVSCode by going to there official website,VSCode

For Andriod OS

  • InstallC4Droid on playstore,C4Droid

For IOS



How to Contribute:🔝

  • Just fork the project and clone it into your machine
  • Then make your contribution and upload it to your fork repository
  • Then click on pull request

Donates to Support


Countributors🔝


Info🔝

Join ourGitHub Organization:octocat: and continue to contribute to our Open Source Software ✨

Connect With Us


[8]ページ先頭

©2009-2025 Movatter.jp