I want to make a program which will determine the Rank of a given Matrix in C# Console Application. But I cannot able to make the algorithm for that. Can you please help me make that algorithm?
...
I observed Android programmers using LogCat to see colored Debugger Console output. It looks like you can have different classes do their debug output in different colors. Is this possible when developing for iPhone?
...
Hi folks,
I've been playing around with some ANSI stuff (like colors etc.) in java and php (from scratch) and I'm trying to find a way to basically wait for a key press. I'd like to have something like the following pseudo code at the end of my main event loop:
If (KeyPressed)
Begin
var event = new KeyboardEvent();
event.Ke...
I have a simple C++ program that uses cout and printf to log stuff and it is only showing at the end when the program is closed but if I'm stepping through the program using debug nothing is shown. Did anybody have this problem? This is probably a punishment for doing homework for someone else. :|.
...
Hi,
I have a winform app that is writing to console and it seems to work well. I'm using this code:
AttachConsole(-1)
Console.Out.WriteLine("Hellow world")
FreeConsole()
The question is:
If I run the app's exe file from command line, and try to redirect the output into a file. It doesn't work.
For example:
C:\ > myapp.exe > c:\out...
Help!
in my rails controllers, there is a 'Admin' namespace.
(My the structure of the controllers dir is like this :
app/controllers:
home_controller.rb
...
admin/posts_controller.rb
admin/pages_controller.rb
The 'Admin' will automatically become a Module constant (I know it from the console: 'puts Admin => Module');
And...
I use rails-3.0.0.beta3 and ruby-1.9.2-preview3.
I have defined some new methods in the application_controller.rb, and need to test them in the console.
If I changed some codes in the application_controller.rb.
I have to restart the console.
I have tried to use 'reload!' command, just dosen't work.
And then I use "require 'applicati...
I have wrapped the console API to provide granular logging levels as well as few other sugar features.
This works fine, the only problem is that firebug (or whatever other console) will always report the line number the log came from as the line the console API itself is invoked.
How would you suggest I make the console log the line nu...
I was wondering if anyone knew of a library for .net console apps that handled all the menuing functionality. I know its not that complex and I can just use Console.WriteLine("..."); to write text then do Console.ReadLine();, but am just curious if anyone knows of something existing that would handle the menuing. I'm likely to need sub...
Hello all!
I have a custom logging function to log to the firebug console that looks like this:
// the name here is just for fun
function ninjaConsoleLog() {
var slicer = Array.prototype.slice;
var args = slicer.call(arguments);
console.log(args);
}
And it works exactly like I want it to....except that if I have string v...
I execute the following commands to make the model:
script/generate model user firstname:string lastname:string
script/generate song group songname:string songtitle:string
a user has_many :songs and a song belongs_to :user
after this I run rake db:migrate however, the associations are not carried to my actual DB. Because in my actu...
Hello,
Im trying to call an external python script, and so far i was able to do so successfully using:
os.system("START fileNameHere")
However right now im running in the console, and i want the contents of the other python file to be shown in the same console. ATM it shows it in a separate console.
Thanks in Advance.
...
Hey guys,
I made a new project in XCode (console application). Then I added a new Objective-C class and compiled it. However, it wouldn't build. Here are the errors I am seeing:
Undefined symbols:
"_objc_msgSendSuper", referenced from:
-[Terminal init] in Terminal.o
-[Terminal dealloc] in Terminal.o
".objc_class_name_NS...
I'm using Delphi 2010, and I need to run a console application and automate the tasks that would normally require the user to enter information (for example a password).
So basically I need some way to pipe all the text and read the lines so I know when the application is read for some kind of input, then automatically have my program s...
Hey guys,
I made a new Console Application Project in XCode, and in the main.c file, I tried to Import Cocoa.h and another header file that I made. However, XCode started freaking out and gave me a bunch of errors. All of the errors were Parse Issues and came from NSObjCRuntime.h, NSZone.h, and NSObject.h. Anyone know why? Thanks!
...
Is it possible to bring up a Java console window in Win XP that shows detailed debugging and tracing info for whatever is happening to the JVM at the moment?
There are a few proprietary JAR files that I am using and I want to pick up some details on what is going wrong. Is this possible?
...
Hello,
The question is given, I want a smaller font to display these lines in the Android Console window (NOT the Logcat window). I've changed the other console's font (cvs, svn, ...) in the preferences, but this window still has same font size. I want this window to be much smaller and put it on the side of my screen, not on the bottom...
When I attempt to load the Rails console (or load my website running Apache/Passenger), I get an error that it can't load a gem that I've already installed:
> script/console
Loading development environment (Rails 2.3.8)
no such file to load -- authlogic
/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/usr/lib/...
The question basically explains the problem.
I'm using Windows XP Pro Service Pack 3
ComSpec=C:\WINDOWS\system32\cmd.exe
I launched the console via Start... Run-dialog... cmd.exe
Here is a "view" of my console:
The command, then the output (and my // comments)
C:\> chcp 850
Active code page: 850
// output is as expected
C:\> echo @c...
Hey,
I would like to set the position of the cursor in the Console to the last visible line. How can I do this?
Cheers,
Pete
...