samedi 26 août 2017

cannot understand the if command...

Im trying to make it so when i type "load" in the console it shows up a custom message but i cant seem to get it to work :/

#include "stdafx.h"
#include "iostream"
#include "string"

using namespace std;


int main()
{
    int commands();
    string text;
    cout << "Write your registered e-mail to continue...\n";
    cin >> text;

    string input;
    cout << "\n";
    cout << "Welcome " << text << endl;
    cout << "\n";
    cout << "http://ift.tt/2vfkVaU; ";
    cin >> input;
    if (input = load);
    cout << "loading...";

    system("pause");

    return 0;

    }

it also gives me the error = identifier "load" is undefined.

Aucun commentaire:

Enregistrer un commentaire