Skip to main content
0 votes
1 answer
122 views

In Debug configuration escape codes works fine, but in Release configuration of unmodded Visual Studio 2017/2022 I get this problem. Just for example. #include <iostream> int main() { char ...
KAT_Editor's user avatar
2 votes
2 answers
213 views

I have the following Java snippet: System.out.print("What is the first name of the Hungarian poet Petőfi? "); String correctAnswer = "Sándor"; Scanner sc = new Scanner(System.in); ...
Csaba Faragó's user avatar
0 votes
1 answer
167 views

I have exposed an API via python that connects to my ftp server via ftplib: from ftplib import FTP @app.route('/api/ftp/list', methods=['GET']) def ftp_list(): remote_dir = request.args.get('...
DevelBase2's user avatar
0 votes
1 answer
287 views

Currently, you cannot easily debug a binary PowerShell module in Visual Studio 2022 (not Code!). Instead of being required to manually open a PowerShell session, change the location to my project, ...
AxD's user avatar
  • 3,366
0 votes
1 answer
146 views

I am using GnuCobol for Win 10. I need to display a console screen with black background and green foreground but doesn't work, It doesn't using the foreground color, neither the background color does....
reymagnus's user avatar
  • 379
0 votes
0 answers
56 views

When I run this Python code in VS Code, it displays the borders fine. But in a Windows command-line (DOS prompt) I get question marks where borders should display. Code I use the code from Textual ...
pf12345678910's user avatar
0 votes
0 answers
172 views

I have a school project that requires me to load a text file that includes UTF-8 characters like "ł,ą,ż,ź,ć,...", and then to do some editing on that text. The problem is that, if I use ...
gniewko milczarski's user avatar
0 votes
1 answer
547 views

I'm encountering difficulties when trying to insert data into my MySQL database using a batch script. Here's the script I'm currently using: set query=INSERT INTO `my_tbl` (`age` ,`birthdate`) VALUES (...
executable's user avatar
  • 3,616
0 votes
1 answer
64 views

This is my code: import os print(list(os.listdir('test'))) When I run the code in Pycharm it outputs the following: ['test.txt'] However, when I run the same file with windows command prompt I get ...
Philip T 2007's user avatar
3 votes
2 answers
3k views

I'm writing a fairly simple console application and I'm wanting to set the console window to a specific size. I've been trying both Console.SetWindowSize() and Console.WindowHeight/WindowWidth, but ...
SkeptiPunk's user avatar
-1 votes
1 answer
77 views

Develop console Snake. At the end of the program gives an error _CrtisValidHeapPointer(block). Found out by experience, that the problem is in SetConsoleCursorPosition function in line 32 #include <...
Babichila's user avatar
6 votes
1 answer
1k views

Consider this trivial Go program, which demonstrates the standard way to "fork off" a background process in Go. When it's run, it should immediately send itself to the background where it ...
Sergey's user avatar
  • 99
0 votes
0 answers
113 views

I was playing around with Windows API console functions for a project that involves drawing an ASCII map. I got everything working the way I want it to until I got to fiddling with foreground and ...
LioButtons's user avatar
0 votes
0 answers
98 views

I have an application that use a CreateProcess() function and create a new console window with FarManager run inside. The FarManager is installed on the computer and registered in the environment ...
Zhe87's user avatar
  • 31
1 vote
2 answers
515 views

This is essentially what I want to do: Write-Host "Enter username: " -NoNewLine $username = Read-Host -NoNewLine if ($username -eq "") { Write-Host "None" } If the ...
Styris's user avatar
  • 204

15 30 50 per page
1
2 3 4 5
41