C and C++ and Python programming tutorial online

A C and C++ programming tutorial for everyone.You may use the material given in this site as a beginner’s guide(to C and C++ programming) or you may use it as a reference,if you are already familiar with the C and C++ languages.Besides the basic C and C++ topic the new features added to the languages such as C11,C++11,C++14,C++17 will be also discussed here.Every effort will be made to cover all the topics as much as possible.For every topic a code example will be provided to help you understand the concept better and if you need further assistance you may comment or contact us.We can assure you we are endeavouring to provide all the information as much updated as possible and in the course of using the site if any mistake or mis-interpretation of the concept is found just drop us an email,any suggestion to improve the content of this is always welcome,if you have any other issue we are always there just shout out to us!! 🙂

 

C is part of C++!

Even if the title suggest I do not mean to give a history on C and C++ or how it came to be,search Google for that.I rather meant to convey you that C is part of C++ and if you read the history of C++ you will find that C++ is rather built from C but with much more power and versatility but of course C still triumph in speed though.The simple fact is you can just get started with C++ without learning C and C++ cover most of the topics of C some of the recent features being an exception.So,either you are learning C or C++ you can jump back and forth between the two with little effort.But side note fully understanding the concept of Object-oriented programming,inheritance ,polymorphism,etc. requires a little more effort but still,C++ is fun so you will cover them in no time.Lastly before we begin a quote from the C++ creator;rather a comparison between C and C++:

C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off.

*Bjarne Stroustrup




Chapters

001-Data types

 
 

 

002-C of C++

 

->C++ execution control statement : if() else{ }

->C++ do() while control execution statement

->C++ while executive control statement

->C++ for() control executive statement

->C++ switch() case control execution statement

->C++ array : myths and conception

->C++ accessing an array

->C++ what is function?

->C++ Function declaration and definition and their differences

->C++ function parameters and arguments

->C++ reference

->C++ pointers – everything you need to know about

->Relation between pointers and array in C++

->C++ Void pointers-everything you need to know

->C++ Difference between pointer and reference and their uses

->C++ multidimensional arrays:2D , 3D and 10D array

->C++ pointers and multidimensional array

->passing array to function and returning array from function C++

->Passing multidimensional array to a function returning multidimensional array from function

->C type enum : unscoped enumeration

->Properties of enumeration and enumerators C++

->C++ static_cast function

->C++ const_cast casting

->C++ reinterpret cast

->C++ Preprocessor directives #include

->C++ #if , #elif ,#else ,#endif preprocessor conditional directives

->C++ the #ifndef , #define preprocessor directives

->C++ #line, #error , #undef , #pragma preprocessor directives

->C++ Using Ellipsis (…) or variable argument list-everything you need to know

 

Miscellaneous


->C++ exchanging the array name and index value when accessing the array element

->C++11 initializer_list everything you need to know about


 

C++11 , C++14 and C++17



**If you are confuse which IDE to choose you can watch the video below