Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: How do I see the console when I run my application?  (Read 1457 times)

0 Members and 1 Guest are viewing this topic.

wizh

  • Newbie
  • *
  • Posts: 19
    • View Profile
How do I see the console when I run my application?
« on: June 02, 2013, 09:22:01 pm »
How do I see the console when I run my program?

I want to be able to read the
std::cout
I have. Currently it only opens the window for the program... All tutorials I see have this.

Thanks in advance :)

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: How do I see the console when I run my application?
« Reply #1 on: June 02, 2013, 09:31:32 pm »
If you use Visual Studio, make sure you have the subsystem (in project options) set to console, not window. If you create an empty project, this should be the default.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

wizh

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: How do I see the console when I run my application?
« Reply #2 on: June 02, 2013, 09:36:24 pm »
If you use Visual Studio, make sure you have the subsystem (in project options) set to console, not window. If you create an empty project, this should be the default.

Excatly what I needed - thanks!

Windows was set as default.

 

anything