Page 1 of 1
ANSI C++ Manual
Posted: Sun Nov 03, 2002 9:42 pm
by Navid
I Generally write my codes in Visual C;
but at the end ,some problems Occurs when Visual C isn't Ansi
1)I want an Ansi Compiler under Windows 2000(Certainly with a good IDE like VC)that when I write my code,I Be sure from runnig my program on Valladolid Machines
2)And So with a Good user reference for ANSI C++
3)Does Anyone know what is the Valladolid C++ Compiler?
Thanks
Posted: Tue Nov 05, 2002 12:16 pm
by Juergen Werner
1) As far as I remember, there is an ANSI checkbutton hidden somewhere in a dialog tab for compile options, but it's long time ago that I used VC the last time. I also think that in the online help it is listed to which standard the functions conform to.
If that doesn't help, you could use the DJGPP compiler (
http://www.delorie.com/djgpp/ ), which is more or less a port of GCC to Windows. As for an IDE, at least for the usually short programs for the Online Judge, I'd recommend just a good text editor that also supports programming like Emacs for Windows (
http://www.gnu.org/software/emacs/windows/ntemacs.html ) or GVim (
http://www.vim.org/download.php ).
2) I Don't know any good online reference for C++ in general (prefering books), but a STL documentation can be found at:
http://www.sgi.com/tech/stl/
3) Since the Judge System is running under Linux, they are using the GNU C Compiler GCC. I guess some 2.9x version since there was the discussion about an upgrade to 3.x on this board.
Posted: Wed Nov 06, 2002 12:03 am
by zorbathut
MSVC++6 isn't terribly good, but MSVC.NET has an option for basically full ANSI compatibility - look through the project settings for "Disable Microsoft Extensions", as I remember, and that'll do it. MSVC.NET is what I use for competitions if I can. :)
Posted: Tue Sep 26, 2006 12:02 am
by 53460MF
I have changed my programming environment to Linux. when I use emacs or vi I miss the good old C IDE's. Because I have to type commands when i debug. and it is so time consuming. what is easy way to debug when you use emacs or vi.
Posted: Tue Sep 26, 2006 2:18 am
by Krzysztof Duleba
I usually just print out a lot of debbuging info or use gdb as the last resort (or to find quickly the reason of a segfault). If you don't like this style, try insight or ddd, they might suit you better.
Posted: Wed Oct 11, 2006 11:47 am
by ImLazy
In Windows, I use MinGW as command line compiler. which is almost identical as gcc in Linux (It has a little bug on printf("%lld")).
Dev C++ is a good IDE in Windows, which is free and small in size. And it is also based on MinGW.