WIN32 console problem
how the hell do you print to a win32 console project screen i know the System::Console::Writeline("") is how you do it for a normal console but that does not work, sorry if this is a dumb question.
If you are using native C for the application:
#include <stdio.h>
printf("print your string here, even do ints and floats like %i and %f", intVar, floatVar);
If you are using native C++ for the application:
#include <iostream>
using namespace std;
cout << "This is the string, its like this: " << intVar << " and floats like this " << floatVar << "!" << endl;
#include <stdio.h>
printf("print your string here, even do ints and floats like %i and %f", intVar, floatVar);
If you are using native C++ for the application:
#include <iostream>
using namespace std;
cout << "This is the string, its like this: " << intVar << " and floats like this " << floatVar << "!" << endl;
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement