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

Общий форум

Compilation_Error
Послано Denis 6 сен 2006 14:13
I can't understand what is wrong. On my PC a can compilate code without any errors, but when I send my solution compliation error takes place. My code is very simple with only 2 includes:
#include <iostream.h>
#include <string.h>

Please help me :(
Re: Compilation_Error
Послано Samsonov Alex [USU] 6 сен 2006 21:50
try to add 3 lines:

int main(){
 return 0;
}
Re: Compilation_Error
Послано Denis 7 сен 2006 18:05
Very funny :)
I have those 3 lines and a little bit more. I mean maybe there are some features in this system which I don't know? Problem 1109 have the same trouble. If I'm not mistaken 'Compilation error' means that my code can't be compiled at all, but then why on my PC I don't have such problems? In 1109 I use

#include "iostream.h"
#include "string.h"
#include "stdlib.h"
#include "math.h"

May be some of this files cant be found on testing machine?
Re: Compilation_Error
Послано GaLL [Tyumen SU] 7 сен 2006 22:59
There is difference between "math.h" and <math.h>. Files in <...> are searched at first in "Include" directory, in "..." - in directory of project
Re: Compilation_Error
Послано Krayev Alexey (PSU) 11 сен 2006 14:01
Read the FAQ, It is said there how to know the reason of CE.