Forum: C++ Dec 1st, 2008 |
| Replies: 16 Views: 822 #include <iostream>
#include <cstdlib>
#include <iomanip>
#include <ctime> |
Forum: C++ Dec 1st, 2008 |
| Replies: 16 Views: 822 while (choice!=5)
{
Your Programme Body
}
Remember to Intialize Choice With any Number without 5 |
Forum: C++ Dec 1st, 2008 |
| Replies: 16 Views: 822 [code] while (choice!=5)
{
Your Programme Body
}[\code]
Remember to Intialize Choice With any Number without 5 |
Forum: C++ Apr 2nd, 2008 |
| Replies: 5 Views: 666 You havent define your class date
Class date d;
I am just guessing . Please check it. |
Forum: C++ Apr 2nd, 2008 |
| Replies: 5 Views: 666 |
Forum: C Apr 2nd, 2008 |
| Replies: 5 Views: 4,060 |
Forum: C Apr 2nd, 2008 |
| Replies: 5 Views: 4,060 for(i=0; i<arry_size; i++)
{
int check=rand()4%20;
if(check!=19)
nums[i] = check;
}
I dont got your point clearly. May be it is helpful to you. |
Forum: C++ Mar 29th, 2008 |
| Replies: 3 Views: 2,770 Read this article it will help you
"http://notfaq.wordpress.com/2006/08/30/c-convert-int-to-string/" |
Forum: C++ Mar 14th, 2008 |
| Replies: 1 Views: 485 use this
while((c[i]=getche()!='\r')
{
cout<<"*";
i++;
} |
Forum: C++ Mar 12th, 2008 |
| Replies: 8 Views: 596 actually Your function is calling again and again . It is a concept of recursive function in which each values are stored in memory after each call until termination. |
Forum: C++ Mar 12th, 2008 |
| Replies: 8 Views: 1,068 U can like this "Number==5" |
Forum: C++ Mar 12th, 2008 |
| Replies: 8 Views: 596 i think know u understand |
Forum: C++ Mar 12th, 2008 |
| Replies: 8 Views: 596 like i=4 and j=4 so it will become 4pow4 = 256 |
Forum: C++ Mar 12th, 2008 |
| Replies: 8 Views: 596 "i" is actually the number and "j" is its power. |
Forum: C++ Mar 12th, 2008 |
| Replies: 8 Views: 596 Actually You are calling a recursive function ....
it will continue until value of j becomes 1 |