
-----------------------------------
Thuged_Out_G
Tue Mar 23, 2004 5:21 pm

[Tutorial] If Statements
-----------------------------------
all these darn complicated tutorials lol...here is a nice easy one for the newbs(me) lol

here is a simple password program that i think gives a basic understanding of if statements in C++:


#include 
using namespace std;

char password[9]="password";
char InputPassword[9];

int main()
{
	cout > InputPassword;

	if(InputPassword==password)
		cout  input_password;

   if (input_password == password)
      std::cout 