C/C++ Programming
 
 
 
C/C++ Programming
 
exceptions
exceptions
exceptions

Exception Handling in C++ ( Use Try, Catch)

Handling exceptions in C++ is a quite easy, but pretty imporant procedure. You go even go about creating your own class that would handle exceptions locally. The idea is that you define your set of functions that checks for cer...
 
C/C++ Programming
 
threads
threads
threads

Create a Thread Using pThreads in C

Threaded programming is a quite large programming topic on its own. However, little by little, we will get to know of pThreads better. For starters, we will be describing how to create a simple thread using pThreads. Doing so i...

 
C/C++ Programming
 
assert
assert
assert

Use Assert to Catch Logic Programming Errors

The assert macro is a very nice utility for programmers. It may sound complicated, but it is just a small macro that exits the program, giving us some debugging information on where the assertion happened, if a certain conditio...
 
C/C++ Programming
 
oracle_overload
oracle_overload
oracle_overload

What is Function Overloading && How to Use it to Write Better Code

C++ is all about making C programmers lives easier. Function overloading is one more C++ feature that presented a nice technique for writing better and more managed code. What is Operator Overloading ? Imagine a function like &...
 
C/C++ Programming
 
C++
C++
C++

5. C++ Looping Structures

Whenever we need to fill in an array, multiply a variable against a value multiple times or generally want to do the same stuff over and over, we use the C++ looping structures. They help us repeat the commands that we want to ...

 
C/C++ Programming
 
C++
C++
C++

4. C++ Introduction to Functions

Each C++ program contains at least one function, main(), which signifies the entry point of the program. Think of functions as procedures that execute certain tasks. Functions consist of parameters that actually are auxiliary v...