Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: HELPMERHONDA on May 27, 2020, 03:03:23 am

Title: code blacks giving black screen after compiling
Post by: HELPMERHONDA on May 27, 2020, 03:03:23 am

Why is the code below giving a black screen after compiling???

#include <iostream>
using namespace std;

void testcode(){
cout << "test" << endl;
}

int main (){

void testcode();

return 0;
}
Title: Re: code blacks giving black screen after compiling
Post by: BlueHazzard on May 27, 2020, 08:14:31 am
http://wiki.codeblocks.org/index.php/FAQ-Compiling_(general)#Q:_I_get_a_blank_.28black.29_terminal_window_on_windows