User forums > Using Code::Blocks

code blacks giving black screen after compiling

(1/1)

HELPMERHONDA:

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;
}

BlueHazzard:
http://wiki.codeblocks.org/index.php/FAQ-Compiling_(general)#Q:_I_get_a_blank_.28black.29_terminal_window_on_windows

Navigation

[0] Message Index

Go to full version