Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » simple pRoGram(nO conSoLe)
simple pRoGram [message #1090132] Mon, 19 August 2013 14:52
ArbolOne Mising name is currently offline ArbolOne Mising name
Messages: 10
Registered: December 2010
Junior Member
/*
 * main.cpp
 *
 *  Created on: Aug 19, 2013
 *      Author: Arbol One
 */
#include <iostream>
#include <string>
#include <cstdio>

int main(){
	setvbuf(stdout, NULL, _IONBF, 0);
	setvbuf(stderr, NULL, _IONBF, 0);

	std::cout << "Yap, it is working" << std::endl;
	std::cin.get();
	return 1;
}

This is a very simple program, yet not console display. Can anyone help?

I need to have console display, you know... the black windows that we get when using any other IDE.

Thanks
Previous Topic:Issue with Running C++ - Launch Failed. Binary Not Found
Next Topic:warning
Goto Forum:
  


Current Time: Fri Jul 25 05:08:22 EDT 2014

Powered by FUDForum. Page generated in 0.01559 seconds