|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
C + + procedural questions to ask [code]#include "Iostream>
#include "Cstdlib>
Using namespace std;
Void entry (int x);
Int main () (
Int a, c;
Do{
A=rand ();
Cout<< "################\n";
Cout<< "1.input a new\n";
Cout<< "2.entry\n";
Cout<< "3.quit\n";
Cout<< "################\n";
Do{
Cout<< "entry your choice."
Cin>>c;
}while (C<0&&c>4);
Switch (c) (
Case 1 :
Break;
2:entry case (a);
Break;
Case 3 :
Break;
}
}while (C!=3);
Return 0
}
Void entry (int x) (
Int 1997a
Cin>>b;
If (b==x)
Cout<< "rignt";
Else
Cout<< "fault";
}
This procedure is very simple, through the translation, but the choice of 2:00, still no result, which is what
[/code]
|
Do not know. . . Write some code, including proposals to use the code. |
Including how? Please enlighten a while?
Found a problem, you and your son like grown |
-->
For example ^
I have already said that the code. Perhaps you are one point above the icon.
Moreover, the term "grown like you and your son," it is inevitable. |
Cin>>b;
B-value imported.
Landlord, more reliable code is not clear?
[code]
#include "Iostream>
#include "Cstdlib>
Using namespace std;
Void entry (int x);
Int main () (
Int a, c;
Do{
A=rand ();
Cout<< "################\n";
Cout<< "1.input a new\n";
Cout<< "2.entry\n";
Cout<< "3.quit\n";
Cout<< "################\n";
Do{
Cout<< "entry your choice."
Cin>>c;
}while (Threshold, named c>4);
Switch (c) (
Case 1 :
Break;
Case 2 :
Entry (a);
Break;
Case 3 :
Break;
}
}while (C!=3);
Return 0
}
Void entry (int x) (
Int 1997a
Cin, "" 1997a
If (b==x)
Cout<< "rignt\n";
Else
Cout<< "fault\n";
}
[/code]
|
The message reply to the fifth floor westgarden But I have to import the b value of the imported turned out? ? ? |
Jimmy clear to first put your own ideas. First, second.
As with the C + +, we can consider the type of use. C who has less direct.
. . . Is not only arbitrary code thought disorder. . .
Clear his first painting of plans you have. |
Correctly translated, but also the correct operation of Azerbaijan |
It seems
C + + Oh, there is one school |
7, Yarco reply to the message You really say that too many things to learn, not to create a good idea, thank you |
| |