I’ve got some questions from C++ and other topics and due to the time constraints I am unable to answer all of them in time. But I will always try to solve as many as possible and keep publishing in this blog. This post is in response to Kigozi Ronald from M...
Read More
Tagged As: Array, C++ Program
Are you looking to download the C++ source code of Insertion Sort? Here is the code you can copy and paste on your IDE to run, learn and understand it. I tried to make it as simple as possible to read the code and to grasp the output. You can find the screensh...
Read More
Tagged As: c++ source code, Data Structures and Algorithms, example, insertion sort
This question was asked in Computer Officer Examination 2010 conducted by Public Service Commission. The question carried 10 mark. Following is the program for this question. I’ve tried to make it simpler and included most essential components only. The ...
Read More
Tagged As: C++ Example, computer officer exam, Download C++ Source Code, Download Payroll System, Public Service Commission
When you need to input numbers and strings you’ll certainly use cin and getline functions in C++. If you are beginning programmer, you must face this weird problem. Look at the code below: #include<iostream> #include<string> using namespace std;
...
Read More
Tagged As: C++ Program, cin, getline, getline does not input, Problem cin and getline
After going through Pointers and Memory eBook on Stanford CS Education Library, I feel it worth going through for you all. The eBook is concise; covering everything is bit greater speed but I hope it is sufficient for you to get started and sharpen your unders...
Read More
Tagged As: C++ Tutorial, Class Notes, Data Structures and Algorithms, Download eBook, Lecture Notes, Linked Lists
Surfing and searching for really useful study materials for computer science students, I ramble here and there, most often. This time I was looking for C++ refreshing courses. There are vast amount of materials, easy enough to tangle your feet, available in In...
Read More
Tagged As: Basic Pointers, Download, Download eBook, Heap Memory, Local memory, PDF File, Pointers and Memory, Reference Parameters
Though it is simple and really intuitive to align text in center of screen through C++ program, I found many new students are confused and keep looking for any built in function. Thus, here I present the source code of function that will center the text suppli...
Read More
Tagged As: C++, center align, cplus plus, example code, Source code, text