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

Общий форум

do you really use Visual C++ 6.0 compiler?
Послано tjq(killer of zju) 9 окт 2000 10:12
I try to use sqrt(l) in my program, l is a long int, but
the compiler reported amibigous call:
temp\3122(13) : error C2668: 'sqrt' : ambiguous call to
overloaded function
while I compile it in my VC6, it's all ok,

and when I use hypot function, it reported linker error:
3589.obj : error LNK2001: unresolved external symbol _hypot
temp/3589.exe : fatal error LNK1120: 1 unresolved externals
that means you have the function in your header file, but
you cut it in your library file or you delete the whole
library, it's terrible, I don't know for any reason it can
become a restricted function.
Re: do you really use Visual C++ 6.0 compiler?
Послано longman cheng(@Killer team of ZJU) 9 окт 2000 11:45
as i remember,the ANSI sqrt() is :

double sqrt(double x)