Hi, I've recently been doing some work on linux for web purposes. You can't compile the code using VC++ but you can use VC++ to check your syntax, etc. - especially if you stick to ANSI routines.
Here's how I've been doing things:
I write my code in VC++ and syntax check wherever possible. I upload the source to my linux web server by FTP and make a telnet connection.
Once I navigate my way to the directory which holds the source file using telnet, I type in the command
[tt]gcc -o outputname.out sourcename.cpp[/tt]
this uses the built-in linux GNU c++ compiler to compile the source file. Then set the file permissions by typing this command:
[tt]chmod 0700 outputname.out[/tt]
Once the source is compiled OK (any errors will show up during compilation) you can execute your code in two ways by typing into telnet either of these commands:
[tt]./outputname.out[/tt]
or
[tt]./outputname.out&[/tt]
use the ampersand '&' if you want your program to continue running after you close the telnet connection.
Hope this gives you some pointers!
Obviously, [tt]outputname[/tt] and [tt]sourcename[/tt] in my examples are the names of your output program file and source files respectively.
programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.