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
ANSI C++ Manual
Moderator: Board moderators
-
- New poster
- Posts: 27
- Joined: Wed Apr 17, 2002 7:54 pm
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.
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.
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact:
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.
For millions of years, mankind lived just like the animals. Then something happened which unleashed the power of our imagination. We learned to talk and we learned to listen...