Write a C/C++ program to append a file in which user will enter the file name to open it then enters data to append it. Program should termi...
write data into a text file c++ program
Write a C++ program in which user will continuously enter data into a text file and program should terminate when user press ESC key. Keep t...

Fun with Lambdas: C++14 Style (part 4)
This is part 4 in the series of Fun with Lambdas: C++14 Style . The previous posts are part 3 , part 2 , and part 1 . C++14 has a number of...

Learn programming basics to advanced
In today’s world, technology is everywhere and for millions of us it’s a vital part of our lives. With jobs in the field of technology rapi...

const pointer in c++ with examples
What in const in C++? Const which is short form of constant uses where we don't want to change or modify data. In programming const allo...
sizeof operator c++ tutorial with examples
Sizeof of operator is a unary operator which is used to calculate the size of a data type in bytes during a program compilation process. Pa...
c++ pointer simple example pass by reference
Write a program which passes a reference to a function and function has a pointer as argument. Keep the return type void and display result ...
Differ pass by value and reference c++ example
Pass by value in C++ Programming In this method we call a function by passing a value. A new copy of value is made and send to functions bod...