This is my C++ repository, containing some basic to application specific C++ program
Run following command:
C++ file needs to be complied first before execution.
For this a IDE like Atom
, Sublime
, CodeBlocks
, etc. can be used
or
Compliers like g++
or gcc
can also be used.
For g++
:
$ g++ codefile_name.cpp -o output_name
$ ./output_name
For gcc
:
$ gcc codefile_name.cpp -o output_name
$ ./output_name
Here the -o
makes the file to be an output file and output_name
is the complied file for our C++ program file.
This repository contains different folders with specific type of programs in it. List of them can be found here:
-
basic_programs = It contains simple and basic programs.
-
arithmetic_op = It contains basic programs related to arithmetic operations.
-
control_flow = It consists of logical and relational operators based programs along with loops.
-
pointers = Contains a basic program showing usage of pointers
-
arrays = Contains few programs to practice various operations on arrays and using arrays.
-
functions = Contains few programs with different types of function and referencing
-
classes = Contains few programs to introduce classes in C++
-
vectors and iterators =
-
hackerRank = Programming exercise from HackerRank
-
misc = It has some programming practice code files from different problem statements
-
bucky_tut = Contains C++ Programming Tutorials From Basic to Advance YouTube video series by Easy Programming channel.