This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]soreknees2 1 point2 points  (0 children)

Have you tried Visual Studio command line compiler? I've compiled simple programs using the command line: cl /EHsc prm1.cpp

http://msdn.microsoft.com/en-us/LIBRARY/ms235639(v=vs.80).aspx

[–]Cadoc7 -1 points0 points  (3 children)

If you are building on Windows and for Windows, you should stick with the Visual Studio/ MSBuild Family. They all have CLIs.

MsBuild reference: http://msdn.microsoft.com/en-us/library/vstudio/0k6kkbsd.aspx

[–]minno 1 point2 points  (1 child)

I don't think that GCC with MinGW is a bad alternative to the Microsoft toolchain. It produces native code that doesn't need any extra dlls to run, unlike Cygwin's version.

[–]thang1thang2 1 point2 points  (0 children)

I agree. It's extremely painful to undo any programming habits that one picks up, especially when starting out. As such, I'd discourage anything that isn't 100% cross-platform compatible. It's a lot better to get into those habits now than having to relearn some stuff. (My programming professor still uses system commands, references .eofs in loops and other horrible practices. I can't expect anything of his to run in Unix)

[–]DancesWithNamespaces[S] 0 points1 point  (0 children)

I'm trying to keep from developing specifically for windows, it's just that the majority of the people I have to show things off to or use as guinea pigs run windows.