Forum: Posting Games Mar 12th, 2005 |
| Replies: 7,564 Views: 469,040 |
Forum: C++ Oct 5th, 2004 |
| Replies: 20 Views: 75,562 |
Forum: C++ Oct 5th, 2004 |
| Replies: 7 Views: 3,773 Re: State abbreviations actually i also will use if else.
how to use the table driven you mention above? can u teach me? |
Forum: C++ Oct 5th, 2004 |
| Replies: 9 Views: 11,949 Re: Comparing arrays #include <iostream.h>
void main()
{ int a[50],b[50],i,n,g;
cout<<"Give the number of elements of both vectors: "; cin>>n;
for(i=1;i<=n;i++) { cout<<"a["<<i<<"]= "; cin>>a[i]; }... |
Forum: C++ Oct 5th, 2004 |
| Replies: 9 Views: 11,949 |
Forum: C++ Oct 3rd, 2004 |
| Replies: 20 Views: 75,562 replacement of getch() i just want to whether there is a replacement for getch() in C++.
my friend said getch() is C function.
thanks! |
Forum: C++ Sep 27th, 2004 |
| Replies: 5 Views: 4,343 infinite loop... i dunno whether this question has been ask before but i've try to search but didn't found. so i ask it here...
very simple... if i declare
int Z;
cin >> Z;
if I enter integer, it works fine... |
Forum: C++ Sep 14th, 2004 |
| Replies: 2 Views: 2,757 |
Forum: C++ Sep 11th, 2004 |
| Replies: 5 Views: 2,288 |
Forum: C++ Sep 10th, 2004 |
| Replies: 5 Views: 2,288 why gets() is skip in this program? I've just wrote this program and when i compile, the gets() function is skip before i can enter the string. i have try cin.getline but the same problem occurs. Can anybody tells me what's the problem... |