View Single Post
Old Mar 10th, 2006, 11:54 AM   #1
demon101
Hobbyist Programmer
 
demon101's Avatar
 
Join Date: Mar 2006
Location: westboro, ohio
Posts: 160
Rep Power: 0 demon101 is an unknown quantity at this point
Send a message via Yahoo to demon101
problem with a code

i am having a problem with a code i am trying to do

// Hey Everyone
//Welcome:
//Counting from 0 to 10

#include
using namespace std;

void main ()
           {
     // declare a variable
     int i;
     for(i= 0; i < 11; i++)
     count << i << endl;
     }
     /*this opens the comment:
            this is the generated output:
                 0
                 1
                 2
                 3
                 4
                 5
                 6
                 7
                 8
                 9
                 10
                 /* this cloese comment
demon101 is offline