A step by step tutorial teaching you how to create your own chat client and chat server easily in C#, for local networks or the Internet.
A C# tutorial showing you how to make use of WMI to extract information on disk drives, such as model, capacity, sectors and serial number.
This tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type.
Creating a Rich Text Editor using JavaScript is easier to do than you might think, thanks to the support of modern browsers; this tutorial will walk you through it.
Introducing the 'for' loopA really small tutorial introducing the 'for' loop, good for C++ newbies and programming beginners. |
On Saturday, March 13th 2004 at 05:59 PM By Andrew Pociu (View Profile) ![]() ![]() ![]() ![]() (Rated 3.6 with 8 votes) |
||
|
In this tutorial I expect you to have a little knowledge about programming, but to understand at least the C++ variables and other basic information.
Because when counter hits the value 9, the condition returns false. 9 is not smaller than 9, it is equal. This is the result because when the counter hits the value 9, the condition returns false. 9 is not smaller than 9, it is equal. |
|||
Digg It!
Del.icio.us
Reddit
StumbleIt
Newsvine
Furl
BlinkList
|
|||
|
|||
Current CommentsHello, I like your article. However I modified it and I would like to see you to see what is wrong with this code#include <iostream>
#include <stdlib.h>
using namespace std;
using std::cout;
using std::cin;
using std::endl;
int main()
{
char myname;
int numb;
cout<<"Please type your name:";
cin>>myname;
cout<<endl;
cout<<"How many times do you want your name to be displayed: ";
cin>>numb;
cout<<endl;
cout<<"You want "<<myname<<" to be displayed "<<numb<<" times.";
system("pause");
}
Thank you.
Better still can I send it to you by email, because some of the syntax did not appear.
Can I make variable designations in a for loop ?
meaning :
for (int i=0; i<Num; i++) {
string name = "test"+ (string)i;
ClassSomething* name = nem ClassSometing();
}
cheers, ruud
it very good for elementry class. i will copy your tutorial to development knowledge me. thank for you. i hope you can send information about programming C++ me at next time.
aidi
politeknik state of lhokseumawe
indonesia
can u make an old version of c ... the truth is i cant understand the c language coz im only a 1st year college.. ^^
my professor teach only the old c like...
#include <iostream.h>
#include <stdio.h>
#include <conio.h>
main()
{
clrscr();
int x;
cout <<"input numbers 1-10";
for (x=0 ; x<=10 ; x )
cout<<x<<" ";
getch();
}
.. "like this??" ^^,
hmmm... thx...
can i have a sample program on looping for payroll system
Related Tutorials
Related Source Code
C++ Job Search