Skip to content

This is a repo for my journey into the world of C++ from various online resources, like the Codeacademy C++ course, Introduction to C++ by Microsoft in edx.org, etc.

License

Notifications You must be signed in to change notification settings

soham2109/cpp_basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpp_basic

This is a repo for my journey into the world of C++ from various online resources, like the Codeacademy C++ course, Introduction to C++ by Microsoft in edx.org, etc.

To run a cpp program in linux

$ g++ -O2 <CppProgram> -o <outputFileName>
$./<outputFileName>

eg. To run hello.cpp in the terminal, type:

$ g++ -O2 hello.cpp -o hello
$ ./hello
Hello World!

Here, g++ is the compiler, -O2 is an option for optimization of the program (not necessarily important but is good to use).

About

This is a repo for my journey into the world of C++ from various online resources, like the Codeacademy C++ course, Introduction to C++ by Microsoft in edx.org, etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages