Feb 17, 2011 at 1:54am UTC
if (startPassword == conformation)
This doesn't work with character arrays. Use an std::string.
Feb 17, 2011 at 2:11am UTC
do i need to include something for that?
Feb 23, 2011 at 1:36pm UTC
or use gets(fname);
and include<stdio>
Feb 23, 2011 at 3:10pm UTC
Don't ever use gets(). It allows buffer overruns and has been a major security problem in the past. And the header is either stdio.h (in C) or cstdio (in C++), never stdio.
Last edited on Feb 23, 2011 at 3:11pm UTC
Feb 23, 2011 at 3:38pm UTC
Why is there an 'f'?
1 2 3 4 5
else
cout << "Wrong!" ;f
system("pause" );
return 0;
}
Last edited on Feb 23, 2011 at 3:53pm UTC
Feb 23, 2011 at 3:49pm UTC
@alexanderswang: watch your manners and be polite. This is a friendly forum.
Feb 23, 2011 at 3:54pm UTC
@filipe: Sorry, got it fixed.