#include <iostream>
using namespace std;
int main()
{
int a;
cout<< "Password:";
cin>> a;
Type: Posts; User: PublicAutopsy
#include <iostream>
using namespace std;
int main()
{
int a;
cout<< "Password:";
cin>> a;
It says
expected primary-expresion before "eleS"
expected `;' before "else"
[line 23]expected `}' at end of input (times 2)
What do all those mean?
Can someone patch up the program abocve for me?
There seems to be a few things wrong with it.
#include <iostream>
using namespace std;
int main()
{
int a;
int ( a == 159753 );
do{
cout<< "Password:";
"expected `;' before "do""
That is the error I get on the do line.
what does that mean exactly?
#inclide <iostream
using namespace std;
int main()
{
int a;
int ( a == 159753 )
do {
cout<< "Password:";
Sorry its 2 am here, I have a headache and I havnt lept isn over 24 hours.
What im doing seems logical at the time lol guess not though.
Im not going to bed until I get this.
Do you think I...
#include <iostream>
int main()
{
int a;
( a == 159753 )
do
{
Alright I re-read the tutorial part and this is what I came up with
#include <iostream>
int main()
{
int a;
#include <iostream>
using namespace std;
int main()
{
int a;
cout<< "Password please: ";
cin>> a;
How do I get it to repeat from the incorrect password to asking for a password again?
#include <iostream>
using namespace std;
int main()
{
int a;
cout<< "Password please: ";
cin>> a;
Im kind of new to C++ and can some one give me an example of a password program?
I know its probably really simple but yeah i could use an example.
Ye55 the keyboard im u5ing doe5 have a broken key.
But anyway5, Im wondering what language I 5hould learn.
Not for any 5pecific purpo5e5 but what do you think i5 the be5t programing language ju5t...