Startertutorials Blog
Tutorials and articles related to programming, computer science, technology and others.
Subscribe to Startertutorials.com's YouTube channel for different tutorial and lecture videos.

Introduction to Python Programming

Categories: Python Programming. 6 Comments on Introduction to Python Programming

This article provides an introduction to Python programming by describing what is Python, who is Python’s developer, Python applications and features, how to create and execute Python scripts, how to work with variables, what are different keywords and how to perform input/output in Python scripts.   What is Python? Watch the below video which provides […]

Read the rest of this entry »

C Programming Basics Video Lectures

Categories: C Programming Videos. 6 Comments on C Programming Basics Video Lectures

This article provides a collection of C Programming basics video lectures created by Suryateja Pericherla.   Note: Please wait 10 to 30 seconds to let the videos load from Youtube. Introduction to C Programming Language   Structure of a C Program   Creating and Running C Programs in Windows   Creating and Running C Programs in […]

Read the rest of this entry »

CPP program for handling divide by zero exception

Categories: Exception Handling. 5 Comments on CPP program for handling divide by zero exception

In this article we will learn to implement a CPP program for handling divide by zero exception. A C++ program is provided below for handling divide by zero exception. Program is as follows: #include <iostream> using namespace std; int main() { int a, b; cout<<"Enter two integer values: "; cin>>a>>b; try { if(b == 0) […]

Read the rest of this entry »

Cpp program to create a function template to swap two numbers

Categories: Templates. No Comments on Cpp program to create a function template to swap two numbers

In this article we will learn to implement a Cpp program to create a function template to swap two numbers. A C++ program is provided below to create a function template for swapping.   Program is as follows: #include <iostream> using namespace std; template<class T> void swapme(T &x, T &y) { T temp = x; […]

Read the rest of this entry »

CPP program to create a function template for power of a number

Categories: Templates. No Comments on CPP program to create a function template for power of a number

In this article we will learn to implement a CPP program to create a function template for power of a number. A C++ program is provided below to create a function template for calculating power of a number.   Program is as follows: #include <iostream> #include <cmath> using namespace std; template<class T> void power(T x, […]

Read the rest of this entry »

CPP program to illustrate member function template

Categories: Templates. No Comments on CPP program to illustrate member function template

In this article we will learn to implement a CPP program to illustrate member function template. A C++ program is provided below to illustrate member function template.   Program is as follows: #include <iostream> using namespace std; class Adder { public: template<class T1, class T2> void add(T1 x, T2 y) { cout<<"Sum is: "<<(x+y)<<endl; } […]

Read the rest of this entry »

CPP program to illustrate class template with multiple parameters

Categories: Templates. No Comments on CPP program to illustrate class template with multiple parameters

In this article we will learn to implement a CPP program to illustrate class template with multiple parameters. A C++ program is provided below to demonstrate a template class with multiple parameters.   Program is as follows: #include <iostream> using namespace std; template<class T1, class T2> class Adder { private: T1 x; T2 y; public: […]

Read the rest of this entry »