14,120 questions
3
votes
3
answers
57
views
How to do console colors in bash script
I have a Bash script that prints status headers using ANSI color escape codes. The script runs, the output prints, but instead of seeing colored text, I see the literal escape sequences printed to the ...
0
votes
1
answer
356
views
Enabling NCSA access log with wsadmin scrpting
How can someone enable NCSA access log by using wsadmin script?
To view the settings page for an HTTP channels in WAS console we follow these steps:
Servers > Server Types > WebSphere ...
0
votes
2
answers
264
views
How can i read cyrillic text from VS2019 console
int main() {
char faculty[20];
ss=setlocale(LC_ALL, "");
f = fopen("input.txt", "r");
printf("Введите название факультета \n");
scanf("%...
Tooling
0
votes
0
replies
39
views
Window Swallower for MS Windows (10, 11) like "devour" lib on X11
I would like to create a C++ CLI and GUI app that should work on MS Windows.
I need the GUI be launched from CLI and if possible it would be great to have the app folded back to CLI.
As an option, I ...
4
votes
1
answer
3k
views
Newer easier ways to interact with the console in Java 25+? What is IO.println()?
I have seen mentions of new classes and methods for interacting with a console in a Java app. Like this:
You shouldn't use Scanner at all, really. It's not meant for keyboard input, and it has ...
3
votes
3
answers
2k
views
More colors in CMD prompt / Batch file
The Windows's default command prompt only supports 16 colors. For some users who need to output colored text art, this amount of colors is definitely not enough.
Are there any methods to use more ...
1
vote
0
answers
34
views
Why is my TF2 Map in the Hammer editor not compiling?
I'm on windows 11, using the Hammer editor found in the tf files. I am using a custom texture that I converted to the correct file type. The texture renders fine in the editor. I just need help with ...
0
votes
1
answer
8k
views
programming snake in c# with console
I'm trying to make a snake in the console to keep me in training in c #. I have a problem in the movement. To test I wanted to do so by pressing the letter "a" would shift the "food" on the X I ...
4
votes
2
answers
2k
views
How to color text more efficiently?
So I know how to color text, I am using a class to define colors and then using that in a print statements -
class color:
purple = '\033[95m'
cyan = '\033[96m'
darkcyan = '\033[36m'
blue = '\033[...
7
votes
1
answer
9k
views
How to show console output on webpage?
When I go to websites like Codecademy or JSBin, I notice that they allow you to see console output. How does that work?
Just to clarify, let's say a user types this in a textbox
console.log('hello')...
0
votes
2
answers
9k
views
Code::Blocks does not show any output
I installed Code::Blocks 16.01 along with the MinGW compiler.I created a project just to test it out, built and run the default code in the default main.c that's included when I made the project.
...
190
votes
15
answers
415k
views
Changing default encoding of Python?
I have many "can't encode" and "can't decode" problems with Python when I run my applications from the console. But in the Eclipse PyDev IDE, the default character encoding is set to UTF-8, and I'm ...
3
votes
1
answer
13k
views
How can I print something on the client console from a react component?
I do not know if I gave myself to understand for example in the file server / main.js place something like this
Meteor.startup (() => {
console.log ('where am I');
// example of ...
0
votes
1
answer
55
views
MSI launched with /q (silent) - is it possible to print a message to the console?
I have an MSI installer (built with WiX), and some users run it in silent mode, for example:
msiexec /i MyApp.msi /q
If the user starts the MSI like this without passing certain required properties (...
212
votes
24
answers
318k
views
How to keep the console window open in Visual C++?
I'm starting out in Visual C++ and I'd like to know how to keep the console window.
For instance this would be a typical "hello world" application:
int _tmain(int argc, _TCHAR* argv[])
{
cout &...