| tommythetwinkie (6) | |
|
so my program does not stop for the cin's can anyone tell me why cout << "enter the amount sperate items you wish you order" <<endl; cin >>X; cout <<"please enter art code" <<endl; cin >> artcode1; cout <<"enter the amount you wish to order" <<endl; cin >>qty1; if (X>1) { cout <<"please enter art code" <<endl; cin>>artcode1; cout <<"enter the amount you wish to order" <<endl; cin >>qty2; } | |
|
|
|
| Sharpie (22) | |
can you please use the code function it looks a lot better.also as for your problem do you mean it doesn't record them, or it skips that step and wont even let you enter them? | |
|
Last edited on
|
|
| selenium (45) | |||
I wrote a code to record and print out the data, in the process,
But if i change the artcode[n] into string type, the program seem to be unresponsive, anyone know why? Is it because the size of string is undefined and error occur when the array size increase? | |||
|
Last edited on
|
|||