I have a piece of code that should output some text, but when I run it an empty window pops up. I want to create characters on a window. Can someone tell me why this doesn't happen?
Here is the code:
#include "stdafx.h"
#include <iostream>
using namespace std;
int main() {
char str[] = "Hello C++";
cout << "Value of str is : " << str << endl;
return 0;
}
Thanks