I'm always making the same steps when I do:
script/console
do you know some file to edit or something similiar to avoid doing always the same, like for example loading some particular required gem (in my casi 'spawners' :))
...
hello all,
i'm new to console apps and would appreciate some pointers...
i have created a new console app and (not finished but it should be working), i selected win32 console app and then selected 'empty project'
here's my code:
#include <iostream>
void main() {
struct dude {
string name;
int age;
} about;
about.name ...
Is it even achievable?
We need STDERR (ie. other streams then STDOUT) to have different colo(u)r. For example red.
We use bash, terminal should be Konsole (XTerm, gnome terminal or any usable).
Thanks if you know :-)
...
If save my code files as .pyw, no console window appears--which is what I want--but if the code includes a call to os.system, I still get a pesky console window. I assume it's caused by the call to os.system. Is there a way to execute other files from within my .pyw script without raising the console window at all? Thanks.
...
I'm curious if anyone has figured out how to create their own Debug Output window in Visual Studio. For applications without a real console window (e.g. web apps), writing Debug or Trace messages end up in the Debug output window along with every other message (including overly verbose DLL loading messages).
It would be great if we coul...
I am getting the following error in Firebug (console -> show css errors)
Expected ',' or '{' but found '0.2'.
This is on a page with jCarousel.
Is there a way to get more information about this error in Firebug, I can't find it in the code.
...
If I run 'python' on the linux command line, and I don't provide any command line arguments, the program displays a welcome message and waits for user input. I would assume that under the hood, the program sends the message to the 'standard output' stream and performs a blocking read on the 'standard input' stream.
If, however, I invoke...
Hi,
I am using a TextWriterProxy in the WPF application as follows:
TextBlock output = new TextBlock();
TextWriterProxy proxy = new TextWriterProxy();
proxy.Add(Console.Out);
StringBuilder sb = new StringBuilder();
StringWriter resultStringWriter = new StringWriter(sb);
proxy.Add(resultStringWriter);
output.Text = sb.To...
This is a probably an embarasing question as no doubt the answer is blindingly obvious.
I've used Visual Studio for years, but this is the first time I've done any 'Console Application' development.
When I run my application the console window pops up, the program output appears and then the window closes as the application exits.
Is ...
I'm trying to use System.Windows.Forms.HTMLDocument in a console application. First, is this even possible? If so, how can I load up a page from the web into it? I was trying to use WebBrowser, but it's telling me:
Unhandled Exception:
System.Threading.ThreadStateException:
ActiveX control '885
6f961-340a-11d0-a96b-00c04fd705a2...
I believe with JPGs, the width and height information is stored within the first few bytes. What's the easiest way to get this information given an absolute URI?
...
We have some methods that output a lot of coloured text to the Console.
It's actually a menu that is built by looping through a collection of data.
Because we are writing item by item (and one line contains many items in different colours),
this process is rather slow on low-end and mid-end machines. On those machines you can see each ...
Hi. I'm a little behind in my X86 Asm class, and the book is making me want to shoot myself in the face. The examples in the book are insufficient and, honestly, very frustrating because of their massive dependencies upon the author's link library, which I hate. I wanted to learn ASM, not how to call his freaking library, which calls mor...
When you create a C++ console application under Windows you automatically get the console window created for you and std::cout outputs to the console window.
I have a GUI application for which I also want to create a console window. I can create the console window using the AllocConsole() function, but how do I redirect / attach std::c...
How can I change the default settings of the Visual Studio console window?
...
Is there an API to add to the a windows command prompt history? I writing a console program and it would be handy to pop some commands into the history buffer under certain (limited) conditions.
...
Hello all.
What's the different between Console.Write("H") and Console.Write('H') in C#. thanks.
:-)
...
I'm using the system command in C++ to call some external program, and whenever I use it, a console window opens and closes after the command finishes.
How can I avoid the opening of a console window? I would be happy if the solution could be platform-independent. I would also like for my program to wait until the command is finished....
So, there are web frameworks, there are GUI frameworks, I was just wondering if there was a console/command line framework for ruby?
Specifically, I would like to be able to:
Have a particular view wherein I could tab to different input segments. Exactly like you can do with forms on a web page.
I would like the usual console shortcut...
Hello,
I would like to everytime I call System.out.println to append to a given JTextArea, without having to change all calls to System.out.println... Is this possible?
Thank you.
...