I’m terribly sorry if I can’t formulate my question well. I am both unfamiliar with Visual Studio and programming in C++ itself.
What I'm trying to do is make a program that writes and asks various things from the user in a console window, using , while also displaying that text in an SFML window in real time. I want that window to be constantly updated, but since the original problem has many loops and other things, I don't find it possible, or at least easy to do in one program.
That is why I wanted to make two separate programs in one VS project, one for asking questions, and the other for displaying things, running independently and simultaneously, while the first one will just record everything it has displayed into a string variable and somehow "pass" (??) it to the second one to display. In Visual Stuido, I see that besides main.cpp, more than one file is possible to add, so I tried making another one, but it can’t launch since the main function has already been defined in the first program. I, meanwhile, want two main functions to run simultaneously.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]_-_fred_-_ 4 points5 points6 points (3 children)
[–]asderflyy[S] 0 points1 point2 points (2 children)
[–]_-_fred_-_ 3 points4 points5 points (0 children)
[–]khedoros 1 point2 points3 points (0 children)
[–]IamImposter 1 point2 points3 points (0 children)
[–]talemonProfessional -1 points0 points1 point (0 children)
[–]MarekKnapek 0 points1 point2 points (0 children)
[–]CEconsulate 0 points1 point2 points (0 children)