Tech Blog   »   Home   »   Coders Forum   »   Computer Directory   »   Math Calculators   »   Subnetting RSS:Directory|Forum 

Programming?

Check out the Forum area for beginners, intermediate, or advanced for free C++ source code examples. Also, there is source code posted throughout the rest of this website, check the pages for the respected language.

Forum Area maSpinner

List of forum topics: Forum Topics.
Become a member, it's free, registration is here: Registration.
For a live feed that is parsed into an HTML page: New Posts (HTML)
For a live feed that you can save in your browser: New Posts (RSS)

Other C++ source code examples - Check the C++ source code examples page for: for loops, while loops, <fstream> (inFile and outFile), arrays, switch control structures, if, else if, else statements, functions(), and more. Also, other language source code will be uploaded including JAVA application examples.


C++ Program: While loop counter

Compiler (Visual Studio) showing C++ Source Code:
// While loop.
#include <iostream>
using namespace std;
int main()
{
   int num = 1;  // Initialize counter starting at 1.

   while (num <= 7) // Loop - number controls how many times.
   {
	 cout << num;  // Show the number as it increments.
   	 num++;  // Increment by adding 1 each iteration.
   	 cout << " - Hello world!\n";
   }
   cout << "\n";
   return 0;
}
/*==================[output]===============================
1 - Hello world!
2 - Hello world!
3 - Hello world!
4 - Hello world!
5 - Hello world!
6 - Hello world!
7 - Hello world!

Press any key to continue . . .
===========================================================*/
The above source code is C++, using a while loop.
Here is the Source Code: while loop


Forum Categories:

C++
JAVA
BIN / DEC / HEX / OCT
HTML
JavaScript
htaccess / htpasswd
Linux
SQL
Programmers Wanted
Trainning for Programmers
Info / Suggestions
Lounge



System Development

Methods:
  • Structured Analysis
  • Object-Oriented
  • Waterfall
  • Agile
  • Spiral




Structured or O-O?



JAVA VS. C++
How similar are they?

Similarities and Differences




C++





Source Code




If you have a website that is related to any kind of programming or computers. Add it to the computer Programming directory.
Validated with no errors:

Valid XHTML 1.0 Transitional     Valid CSS!


Site Map