Is there any way to get the last key press in a console without using Windows messages or the std::cin stream? I've heard that there is a function in the standard library. Solutions should preferably be as portable as possible. Thanks for your help in advance.
...
Is it possible to change a console window's icon from .net? Without using win32 calls.
...
Is there a way to find the width of the console in which my Java program is running?
I would like this to be cross platform if possible...
I have no desire to change the width of the buffer or the window, I just want to know its width so I can properly format text that is being printed to screen.
...
How can I configure Tomcat 6.0 (running under Centos 5.3) to log what comes out of my web app's console (System.out/err)? Is it possible to specify a path and file size limit as well?
Thanks for your help!
...
Is it possible to output values to the console from within a class library?
For example
Console App -> calls method in -> assembly > function
Is it possible to write a console.out method in the function of the assembly?
I know in web its possible to get the httpcontext, and do a response.write.
...
Hi,
i need a simple logging solution while writing Cocoa/OpenGL application in C++.
I'd like:
cout << "debug line" << endl;
to open a console window and show the text. Is it possible?
I'm using XCode, maybe it has some logging utility in debug mode?
Thanks in advance,
Etam.
...
I need the characters/escape sequences that move the console's cursor position. It would be nice to know the left/right/up/down cursor controls, but if that's not possible, a home (go to the first character of the first line in the console). Thanks in advance.
...
I have a console application that's calling a web service method.
In the web service method, I am using System.Console.WriteLine, but its getting ignored.
How can I give feedback to the console application from within my web service method?
...
I've been spending a lot of time utilizing Mercurial. On windows, I've been using TortoiseHg and on Linux and Mac OS X, I've been (forced) to use the console interface.
After spending time with the console utilities, I find (to my surprise) that I do like them.
But, most of my usage has been superficial. I've been doing basic clones,...
I've written a small console application to wrap a third-party DLL that has issues. I am calling it from a GUI application using _popen, and just want to read a value from the console program's standard output. In doing so, an undesirable console window is briefly displayed.
I am aware that this can be avoided by using a certain STARTUP...
How I can make wait x sec in console (cmd), without "timeout" command?
...
I have a progaram that can be ran both as a winform, or from command line. If it is invoked from a command line I call AttachConsole(-1) to attach to parent console.
However, after my program ends, the user must hit enter to get back the standard command prompt ("c:\>"). is there a way to avoid that need?
Thanks.
I could wrap it in a c...
How to get rid of the console that shows up as standard output when running wxPython programs in Windows?
...
I am writing a console program in C# and I need to use a database.
I am looking for very basic tutorials on connecting with and using a db from a C# console program. I haven't been able to find anything basic enough yet and I hope people here can help me find the info I need. I've read the material on MSDN, but MSDN assumes basic knowl...
I am, effectively, a bare beginner to databases, and am very inexperienced at programming generally. For a C# console app (I'm writing with VS Express), which after testing will have a UI added, I need to use a database to store its data.
Can someone tell me, or point me to, bare beginner's explanations, and pros and cons, of these dat...
Hi,
Is there any way to clear ALL OF THE TEXT OF THE COMMAND CONSOLE (i.e. all the output of my class AND the output of everything outputted from other programs run before (not always Java)) which started the Java VM?
...
I've got a win32 project that I've loaded into Visual Studio 2005. I'd like to be able to print things to the Visual Studio output window, but I can't for the life of me work out how. I've tried 'printf' and 'cout <<' but my messages stay stubbornly unprinted.
Is there some sort of special way to print to the Visual Studio output window...
I have a small Win32 console application and when executing from the debugger the console takes about five seconds to appear. If I place a breakpoint on the last line of main, the break point is hit immediately, so the application is already finished but the console does not appear for about five seconds. I have removed all my breakpoint...
Ok, so here's the thing. I need to read the output (the one that you usually see in a linux console). My biggest problem is that I don't need to read the output of a linear execution, but something rather like wget http://ubuntu.com/jaunty.iso and show its ETA.
Also, the work-flow is the following:
S - webserver
C1 - computer1 in S's ...
I'm looking for a class that can output an object and all its leaf values in a format similar to this:
User
- Name: Gordon
- Age : 60
- WorkAddress
- Street: 10 Downing Street
- Town: London
- Country: UK
- HomeAddresses[0]
...
- HomeAddresses[1]
...
(Or a clearer format). This would be equivalent to:
...