Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  


Shop
CPP All : Beginning to Program
Concept Notes and Resources
Concept Learning Code Sheets

Hello World #1235

This is traditional program we always start by simply displaying some characters on standard output device.

Hello World (Variation for Older Compilers) #1237

This is a traditional program we always start by simply displaying some characters on standard output device. This variation works on older compilers like “Turbo C”still used in some schools.

Commenting Code #1243

Here is a simple example to show different types of comments.

Displaying Multiple String Literals #1241

This program shows how multiple strings can be shown one after the other on the standard output.

Hello World (Variation without global namespace) #1239

This is a traditional program we always start by simply displaying some characters on standard output device. This variation uses independent namespace with related objects.

Solved Problems

Displaying multiple String Literals #1563

Write a C++ code to display the following text “I am happy today.”

Write a C++ code to display the following text “I am happy today.” using four separate string literals and by using the same cout instruction.

Displaying long cout chains #3060

Write a C++ code to display the following text using the same cout chain.

Write a C++ code to display the following text using the same cout chain.
Apples = 5 Kg
Bananas = 2 Doz
Oranges = 2.5 Kg

 

 

Finding errors – Programming basics #3159

Find the errors in the following code and explain.

Find the errors in the following code and explain.

Finding errors – Programming basics #5340

Find errors in the following code and explain. Assume that required header fi

Find errors in the following code and explain. Assume that required header files are present.

main()
{
  cout<<endl<<a;
  return 0;
}
Practice Problem
Quizzes

Concept Notes:2  Code Sheets:5  Solved Problems:4  Practice Problems:2  Quizzes:1
×
Introductory Sessions Beginning to Program Tokens Keyword and Identifiers Data Types Variables and Constants Operators Simple User Input Building Expressions and Formulas Simple Real World Problems Simple If and If Else Multiple-Nested-Ladder of If Else Switch case selection Simple Loops Tricks in Loops - break continue scope Loop Applications - Handling numerals Series printing loops Nested Loops Pattern printing loops Number Varieties and Crunches String Handling (Null Terminated) Strings - string class type Functions (Built-in) Functions - user defined Functions Reference Passing/Returning Arrays Concepts and 1-D Arrays Array Data Management Two dimensional arrays and Matrices Structures Basics Structures passing/returning Display Using IO Manipulation Display Using C Formatting Tricks User Defined Data Types Enumerated Types Preprocessor Directives And Macros Exception Handling Programming Paradigms and OOPs Advantages Abstraction and Encapsulation Polymorphism Inheritance Function Overloading Concepts Function Overloading Varieties Function Overloading Special Cases Defining Classes Creating and Using Class Objects Class Members Accessibility Class Function Types Inline Functions Constant Functions Nesting of Functions Class Members Scope Resolution Static Members in a Class Array of Objects Constructor Concepts Default Constructor Parameterized Constructor Copy Constructor Constructor Overloading Destructors Inheritance Fundamentals Public Derivations Private and Protected Derivations Multiple Inheritance Mult-Level Inheritance Class Nesting Data File Concepts Handling Text Files Handling Binary Files Pointer Concepts Pointer and Arrays Pointers and Functions Object Pointers This Pointer Linked Lists Stacks Queues


Back