ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Общий форум

which c/c++ compilers/linkers are used here?
Послано Kolyanich 15 мар 2002 23:44
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
Послано Kolyanich 16 мар 2002 00:17
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)
Послано hajime 16 мар 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)
Послано Kolyanich 19 мар 2002 05:49
but f.e memset(...); isnt defined in <stdlib.h>