Learn C++ programming language in Marathi
- 5.5 hours on-demand video
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Master principles of Object Oriented Programming
- Become proficient in understanding concepts of C++
- Become expert in comprehending C++ source code
- Become confident to face campus interview
I am privileged to meet you and interact with Marathi community here in online way...
History shows us that people who end up changing the world are always nuts, until they are right, and then they are genius.... John Eliot
"Abstraction is selective ignorance...!"
The complexity of the problems you are able to solve is directly related to the kind and quality of Abstraction
Everywhere you look, you see them - objects..! People, animals, planes, cars, buildings, computers and the like. Human think in terms of objects. We have the marvelous ability of abstraction that enables us to view screen images as objects such as people, plane, trees, and mountains rather than as individual dots of color. We can, if we wish, think in terms of beaches rather than grains of sand, forests rather than trees, and houses rather than bricks...!
"When the code and the comments disagree, both are probably wrong.'' -- Norm Schryer
Here is first set of differences between C and C++. You would learn various minor and major differences like commenting style in C and C++, size of character constant, difference in meaning of empty parenthesis in front of function, compilation rules, placement of variables declaration, initialization of global variables etc. in C and C++.
Don't just listen but pause while you view the code. Type it. Observe output in C and C++ compilers separately. I advise you to use old TC compiler for understanding the beauty of C as well as enhancement made by Stroustrup in C++.
Old TC compiler is available on the internet.
Note: You may find some different outputs than mentioned in the video. But I just want you to understand the attempts behind the possible enhancement.
Here is second set of differences between C and C++ wherein you would learn how tag name of user defined data type differs between C and C++, const modifier, how return type of main function defers, how string constants are handles by C and C++, need of function prototype, type casting, new concepts like void pointer, compiler-only table etc.
Here is third and final set of differences between C and C++. The topic starts with difference in default access category of structure in C and class in C++, and then it is followed by various concepts like scope resolution operator and typecasting methods in C and C++.
Although it is possible to write portable programs, there are many programs among different C and C++ compilers and different computers that can ,make portability difficult to achieve. Simply writing programs in C and C++ does not guarantee portability. The programmer will often need to deal with compiler and computer variations.
Here is summary of the topic. A small but very interested story has been narrated here for you. If you have enrolled for my other course "Demystifying C programming language" then you can skip this story.
Your computer and compiler are good teachers. If after carefully reading your C++ language manual you are not sure how a feature of C++ works, experiment using small test programs like in the previous chapters and see what happens. Se your compiler options for "Maximum warnings". Study each message you get when you compile your programs and correct the program to eliminate the message.
Here is a sample program to understand theory learnt so far in last topic
Swapping contents of two variables using or without using 3rd variable has been second most popular program in while learning any hardcore computer programming language after famous "Hello World" program. And why not it should be? After all, any operating system works on this basic principle...!
Here is the interesting program using reference variable
The arguments in function having default values can be categorized as Mandatory arguments and default arguments. Here is syntax of default arguments along with meaning of mandatory arguments and default arguments. Examples are hypothetical for understanding purpose only. Explore its use by thinking on your own.
A physician, a civil engineer, and a computer scientist were arguing about what was the oldest profession in the world.
The physician remarked, "Well, in the Bible, it says that God created Eve from a rib taken out of Adam. This clearly required surgery, and so I can rightly claim that mine is the oldest profession in the world."
The civil engineer interrupted, and said, "But even earlier in the book of Genesis, it states that God created the order of the heavens and the earth from out of the chaos. This was the first and certainly the most spectacular application of civil engineering. Therefore, fair doctor, you are wrong: mine is the oldest profession in the world."
The computer scientist leaned back in her chair, smiled, and then said confidently, "Ah, but who do you think created the chaos?"
Here is introduction to classes and objects in the world...!
The Question "How does one write good programs in C++?" is very similar to the question "How does one write good English prose?" There are two answers: "Know what you want to say" and "Practice. Imitate good writing". Both appear to be appropriate for C++ as they are for English - and hard to follow.
Here is inside view of typical C++ program written using class
- Student should have in-depth of knowledge of C language
- Must have hands-on experience of writing programs
- Must have and IDE or turbo C++ compiler i.e. TCC
- Student must refresh concepts of C language before starting this course in couple of days
When somebody calls C as "Gods Own Language..." I call C++ as "Nature's own Language...!"
Many a times C++ is regarded as replacement of stdio.h in C by iostream in C++, printf and scanf in C by cout and cin in C++ and structure in C by class in C++...
My objective is to take this course beyond that myths and impressions...
Learning C++ is not just syntax but far more than that. OOP was one of the revolution in s/w industry. Here is an attempt is made to teach concepts of C++ from philosophical point of view and not mere from programming perspective. OOP and C++ are the way we live, behave, act, respond, and exist in the world...!
I am making attempt in the world by mapping each implemented concept of OOP in C++ by mapping it to the real world. May be its first attempt in the world to teach in this manner by using animation.
Besides all features of C++ with OOP along with step by step explanation, I am going to put here notes, quiz, interview questions along with answers and assignments as well.
I am sure if understand the basics, Java, PHP, Python would not only be an easy cakewalk but you would love learning those in the future. So I am using numerous day-to-day examples to explain concepts.
Course starts from basics of programming methodologies and then covers each feature of C++ with detail analysis rather than mere explanation of programs.
- Object Oriented Programming methodology taught with real world examples
- Not just mere syntax, but why C++ programs are written in OOP style
- Absolutely essential for engineering and diploma student
- Perfect benchmark for learning Java, PHP and Python in the future
- Not suitable for those who want to learn C++ directly