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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - CupertinoEffect

Pages: [1]
1
General / Re: Write to Console While Out Of Focus/Hidden?
« on: December 09, 2015, 05:52:38 am »
Apparently the only thing CupertinoEffect didn't know was that SFML would also allow text input through the TextEntered event. Hence the attempt to use std::cin -- I doubt he's actually interested in a solution to forcefully use the console just for the sake of it.
I can confirm that I was after the TextEntered event and that I was trying to use the console because I'm godawful at SFML.

2
General / Re: Write to Console While Out Of Focus/Hidden?
« on: December 07, 2015, 01:47:13 am »
Okay, thank you for the quick reply G.

3
General / Re: Write to Console While Out Of Focus/Hidden?
« on: December 07, 2015, 01:34:00 am »
Why don't you use sf::Event::TextEntered?
I'm fairly new to SFML so I'm working on what I know from C++.
Is there a way to use sf::Event::TextEntered to input the value of a string?

4
General / Write to Console While Out Of Focus/Hidden?
« on: December 07, 2015, 12:49:02 am »
I'm trying to figure out if there's a way to write to the console while focused on the window, preferably while the console is hidden.
My goal is to have a line with the function getline(cin, string) that the user can write to without the console being visible.
Is this possible? I'm totally stuck.

Pages: [1]
anything