16 / 16 / 0
Регистрация: 13.11.2009
Сообщений: 69
|
|
1 | |
vc++2008 ошибка cmath(21) : error C2039: 'acosf' : is not a member of '`global namespace''13.03.2011, 18:19. Показов 3594. Ответов 1
Метки нет (Все метки)
Использую math.h
При компиляции выдает : cmath(21) : error C2039: 'acosf' : is not a member of '`global namespace'' 1>D:\Microsoft Visual Studio 9.0\VC\include\cmath(21) : error C2873: 'acosf' : symbol cannot be used in a using-declaration 1>D:\Microsoft Visual Studio 9.0\VC\include\cmath(21) : error C2039: 'asinf' : is not a member of '`global namespace'' 1>D:\Microsoft Visual Studio 9.0\VC\include\cmath(21) : error C2873: 'asinf' : symbol cannot be used in a using-declaration Что сделать что бы работало? #include <iostream> поможит?
0
|
13.03.2011, 18:19 | |
Ответы с готовыми решениями:
1
Error C2039: fprintf: не является членом "`global namespace'" Error C2039: 'Sth' : is not a member of 'std::vector<_Ty>' MVS 2019 ошибка C2039: 'pNext': is not a member of 'QueueList<int>::Node<T>' Ошибка в yvals.h - Syntax error:missing ';' before 'namespace' |
8384 / 3616 / 419
Регистрация: 03.07.2009
Сообщений: 10,709
|
|
13.03.2011, 18:28 | 2 |
ronniko, попробуйте подключить errno.h, iostream не поможет, потому что он отвечает за ввод/вывод.
В чем принципиальная необходимость использовать acosf и float, а не acos и double?
1
|
13.03.2011, 18:28 | |
13.03.2011, 18:28 | |
Помогаю со студенческими работами здесь
2
Ошибка PHP Fatal error: Cannot re-assign auto-global variable _POST Ошибка на сайте Fatal error: Call to a member Ошибка syntax error, unexpected T_STRING при использовании namespace Ошибка Fatal error: Call to a member function fetch() Ошибка С# Assets\fireM.cs(11,28): error CS0246: The type or namespace name 'FixedButton' could not be found (are you Фатальная ошибка Uncaught Error: Call to a member function fetch() Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |