>
> Thanks for all of the suggestions. The default gvim works great so far. I
> found out you have to save the file as .cpp before it will do syntax
> highlighting. It even indents things for me too.
>
> The only problem I have now is with MinGW. I installed it, and it works
> great, but the process that I am going through is a bit tedious in order to
> compile. There must be a better way than this...
>
> Copy .cpp file to "C:\MinGW\bin"
> Open cmd
> cd "C:\MinGW\bin"
> g++ helloworld.cpp -o helloworld.exe
> helloworld.exe
you need to set your %PATH% to include C:\MinGW\bin
then you can execute your compilation command in whichever directory you
save your source files.
>
> Is there some way to drag and drop compile, or better yet type a command in
> gvim to compile? I would like to do this without installing a bunch of
> plugins.
first, read
:help make
and then if needed, google compiling from within vim
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment