c++

File operations

File operations in C++ | c++ Advanced | Part – 12

C++ allows us to perform operations on files. We can read contents of a file and even write some content in the file through a C++ program. Isn’t that awesome? To perform operations on files, C++ provides several built-in functions. These functions are all declared in fstream header file. To perform operations on file, the fstream and iostream header files should …

File operations in C++ | c++ Advanced | Part – 12 Read More »

Header files in C++

Header files in C++ | c++ Advanced | Part – 11

We brush our teeth every day. But do we make the toothpaste? Someone already made the toothpaste which we are directly using. Similar is the purpose of a header file. Header files are files containing functions, variables, data-type definitions and constants that can be used within the programs. We use a preprocessor directive #include to include header …

Header files in C++ | c++ Advanced | Part – 11 Read More »

What is inheritance

What is inheritance? | C++ Advanced | Part -4

Why do I look so similar to my father? My nose is also exactly like him. That’s because you have inherited his features. Inheritance is when a class derives some properties from another class. Just like human beings inherit features from their parents. The class which uses/inherits the properties is known as derived class or sub class. And the class from which the features …

What is inheritance? | C++ Advanced | Part -4 Read More »

PYQ of History UGC NET UGC NET Mathematical Reasoning and Aptitude ICT (Digital Initiatives) | UGC NET | paper – 1 The Scope of Information and Communication Technology(ICT) PYQ of People, Development, and Environment Top 30 PYQ of HINDI | UGC NET – 2023 Top 30 PYQ of Teaching Aptitude PYQ of Research Aptitude | NTA UGC NET | Paper 1 | Part 1 UGC NET Paper 1 Syllabus | Updated | 2023 Types of Research | Research Aptitude | nta ugc net | UGC NET 2023