I try to compile this source code:
#include <iostream>
#include <windows.h>
int a;
int b;
int c;
int choose;
void core(); {
std::cout << "asd" << std::endl;
}
int main() {
std::cout << " Ird be hogy 1!" << std::endl;
std::cin >> choose;
if (choose == 1) {
core();
}
else {
return 0; }
return 0;
}
gives me this error:
main.cpp(9) : error C2447: '{' : missing function header (old-style formal list?)
what the duck is this?
Please help! thanks!

New Topic/Question
Reply




MultiQuote






|