|
|
back to boardCommon Boardwhich c/c++ compilers/linkers are used here? what comlilers and linkers does this tester-system use? i wrote a simple c++ code with headers included: #include <stdio.h> #include <malloc.h> #include <memory.h> with no microsoft specific extentions. microsoft visual c++6 sp3 compiles and links it with "default" libraries with no problems, but the timus's tester show me a Status="Compilation Error". Why? neither msvc6, nor bc31 i tested my code on both compilers they compile my code fine, but here still 'Compilation Error' try stdlib.h instead of memory.h and malloc.h (if you select 'replay to my email' you'll get error messages) Posted by hajime 16 Mar 2002 00:43 > what comlilers and linkers does this tester-system use? > i wrote a simple c++ code with headers included: > > #include <stdio.h> > #include <malloc.h> > #include <memory.h> > > with no microsoft specific extentions. microsoft visual c++6 sp3 > compiles and links it with "default" libraries with no problems, but > the timus's tester show me a Status="Compilation Error". Why? Re: try stdlib.h instead of memory.h and malloc.h (if you select 'replay to my email' you'll get error messages) but f.e memset(...); isnt defined in <stdlib.h> |
|
|