Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

vim, g++ logs and stuff

Name: Anonymous 2006-08-11 15:25

So I got vim for on a school computer (running windows of course), works fine and everything, except for any commands requiring an exclamation mark in front of it (like :!q or :!sav). Whenever I try to do :!q, I get the following message in a new command prompt:

C:\WINDOWS\system32\cmd.exe /c q
'q' was not recognized as an internal or external command, an application or a batch-file.
shell returned 1
Hit any key to close this window...

Any idea as to how to solve this?

=====

And to finish off, I want to know if there's any way of telling g++ to print it's errors to a log file?
(To be used for launching a .txt file from xoblite menu)

=

cookies to everyone who helps

Name: Anonymous 2006-08-12 12:18

You mean something like a Windows equivalent of "g++ foo.c > goatse.txt"?

The Windows equivalent is "g++ foo.c > goatse.txt".  I don't know if that'll work though, as I think g++ sends all its output to 2, or stderr, in which case you'd have to use 2> instead of >.  I don't know if Windows supports 2> :/

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List