Latest Articles
-
Array Basics in C++ : Find Sum
Video tutorial to show the basic use of arrays: Initialization, Declaration, Getting values from the users, finding sum of all the array elements etc. Array is a collection of homogeneous data items. Full Source Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [...]
Jan.26, 2012 | Continue reading
-
Find the Factorial of a Number: C++
Video tutorial to find the factorial of a number: if the user enters 3, then the factorial is 1 * 2 * 3 i.e., factorial = 6 This logic must be handled with a c++ program. Full Source Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [...]
Jan.25, 2012 | Continue reading
-
Biggest of 3 Numbers Using Ternary Operator: C++
Video tutorial to find the biggest of the three integer numbers in C++, using if-else control statements and Ternary Operator. Before watching this video, please make sure to watch and understand this short video: Find Biggest of 3 Numbers: C++ Full Source Code 1 2 3 4 5 6 7 8 9 10 11 12 [...]
Jan.24, 2012 | Continue reading
-
Find Biggest of 3 Numbers: C++
Video tutorial to find the biggest of the three integer numbers in C++, using if-else control statements. Full Source Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 #include<iostream .h> #include<conio .h> void main() { int a, [...]
Jan.23, 2012 | Continue reading
-
Biggest of Two Numbers Using Ternary Operator: C++
Video tutorial to find the biggest of the two integer numbers in C++, using Ternary Operator. To find biggest of Two numbers using if-else control structure: Find Biggest of 2 Numbers: C++ Full Source Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [...]
Jan.20, 2012 | Continue reading
-
Find Biggest of 2 Numbers: C++
Video tutorial to find the biggest of the two integer numbers in C++, using if-else control statements. Full Source Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 #include<iostream .h> #include<conio .h> void main() { int a, b; clrscr(); [...]
Jan.19, 2012 | Continue reading
-
Addition of 2 Numbers: C++
This video tutorial illustrates a simple program of adding two integer numbers. Full Source Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 #include<iostream .h> #include<conio .h> void main() { int a, b; clrscr(); cout< <"Enter two no\n"; cin>>a>>b; int [...]
Jan.18, 2012 | Continue reading
-
Object Oriented Programming: C++
To understand and switch from C to C++, you need to know some of the basic similarities and differences between the two. Sample C Program: #include<stdio.h> void main() { printf(“Welcome To C”); } Here stdio.h header file is included inorder to make use of printf and scanf functions. Sample Cpp Program: #include<iostream.h> void main() { [...]
Jan.12, 2012 | Continue reading
-
Colorful Text Output: C program
This video tutorial shows a simple method to get the output in different colors, on the dosprompt: using a simple C program. Video Tutorial: Colorful Text Output: C program YouTube Link: http://www.youtube.com/watch?v=TpasN_6RMMM [Watch the Video In Full Screen.] Full Source code: Colorful Text Output: C program C 1 2 3 4 5 6 7 8 [...]
Jan.05, 2012 | Continue reading
-
Write Data To Text File In C: Character by Character
This video tutorial demonstrates the creation of a simple file and writing data to text file ‘character by character’ using a simple C program. #include< stdio.h> is the only header file required to include. DOSBOX I’m using a software called DOSBOX to write my c program. Using this software we can run 32-bit programs on [...]
Jan.02, 2012 | Continue reading
-
Creating Simple Window in Java: using swings
This Java video tutorial demonstrates the creation of a simple window by importing Swings package and extending JFrame class. import javax.swing.*; javax.swing provides a set of lightweight components that, to the maximum degree possible, works the same on all platforms. myWindow Class class myWindow extends JFrame { } myWindow is user the name given [...]
Dec.29, 2011 | Continue reading
-
Simple Interest: C Program
Video Tutorial illustrating: C Program To Calculation of Simple Interest. Header File: #include<stdio.h> To be able to use printf function, we have to include stdio.h header file. main() This is the starting point of C program execution. since it does not return any value, we write void main() Declaration of Variables: int p, n; float [...]
Oct.19, 2011 | Continue reading

