Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query #1

Closed
akshitbtw opened this issue Apr 26, 2021 · 7 comments
Closed

Query #1

akshitbtw opened this issue Apr 26, 2021 · 7 comments
Labels
fixed fixed

Comments

@akshitbtw
Copy link

akshitbtw commented Apr 26, 2021

Hi,
I'm new to GitHub so idk how to ask a query, that's why I'm writing it here.
First of all thanks for this amazing solution. I managed to add the compile options in tasks.json & found a way to run it through code-runner extension.

My query : Do you know how can we combine the 'WIndows BGI' popup window (that comes at the time of running the program) with the terminal?
Because I've been working on user input programs and I have to write the user input separately in the integrated terminal of VS code.
Like in TurboC, the output of printf commands as well as the graphics commands(like line, rectangle, arc) comes in the same window. But in VS code, I've to use the outtextxy command so that the input strings show in the Windows BGI.

Do let me know if you know how to fix this.

@ullaskunder3
Copy link
Owner

ullaskunder3 commented Apr 26, 2021 via email

@ullaskunder3
Copy link
Owner

ullaskunder3 commented Apr 26, 2021

User input!

Screenshot 2021-04-27 001349

Is this what you are talking about...

@akshitbtw
Copy link
Author

code

In turboc, the user input as well as the graphics come in the same window.
But in vs code, you have to enter the input in the integrated terminal and the output comes in a separate window.
So I was thinking whether there is a way through which we can combine them in the same window.

@akshitbtw
Copy link
Author

turboc Output

This is how turboc's output looks like.

@ullaskunder3
Copy link
Owner

sorry to disappoint you but I don't think that is possible because vs code and mingw.graphics.h is totally separate...

@ullaskunder3
Copy link
Owner

code

In turboc, the user input as well as the graphics come in the same window.
But in vs code, you have to enter the input in the integrated terminal and the output comes in a separate window.
So I was thinking whether there is a way through which we can combine them in the same window.

Good thought though... you might research on it in future may be you can create an extension that do the trick good look

@akshitbtw
Copy link
Author

No Problem Man! Thanks for your time :D

@ullaskunder3 ullaskunder3 added the fixed fixed label Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed fixed
Projects
None yet
Development

No branches or pull requests

2 participants