| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: This work`s, but... |
CF> char array[2][10]; CF> CF> cout << "Enter array 1: "; CF> cin >> array[1]; CF> CF> cout << "Enter array 2: "; CF> cin >> array[2]; In c/c++ all arrays are zero indexed: This means you have to start counting at zero; cin >> array[0]; cin >> array[1];* --- GEcho 1.00 ---------------* Origin: Digital OnLine Magazine! - (409)838-8237 (1:3811/350) |
|
| SOURCE: echomail via exec-pc | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.