| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | for() |
While Steven was reading other messages, Javier Kohen wrote:
JK> How can I declare to vars in a for statement legally?
JK> Ie:
JK> for (int i, int j; ; ) {
JK> ;
JK> }
// Initializes the variable legally.
#include
main()
{
for(int loop = 1; loop <= 10; loop++)
{
cout << "Hello World!" < |
|
| 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™.