im no pro but you missed the { } on your if and else try this
if (num2 < 0.6){
cout << "\nok, this worked.\n";
}
else {
cout << "ok, this didn't work.\n";
}
Type: Posts; User: dreadfear
im no pro but you missed the { } on your if and else try this
if (num2 < 0.6){
cout << "\nok, this worked.\n";
}
else {
cout << "ok, this didn't work.\n";
}
Im working on an rpg project heres the files :
main.cpp
#include <cstdlib>
#include <iostream>
#include <conio>
#include "new_game.h"
#include "load.h"
#include "help.h"