|
|
|
Переход с VS2002 на VS2005
|
|||
|---|---|---|---|
|
#18+
Создал проект в VS2005 (Win 32 Console App), пытаюсь откомпилить элементарный код (взятый с проекта VS2002): Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. Жму CTRL+F5, компилятор ругается и выдает такое безобразие: автор1>------ Build started: Project: 4356, Configuration: Debug Win32 ------1>Compiling...1>4356.cpp1>c:\documents and settings\king\my documents\visual studio 2005\projects\4356\4356\4356.cpp(3) : error C2871: 'std' : a namespace with this name does not exist1>c:\documents and settings\king\my documents\visual studio 2005\projects\4356\4356\4356.cpp(8) : error C2065: 'cin' : undeclared identifier1>c:\documents and settings\king\my documents\visual studio 2005\projects\4356\4356\4356.cpp(10) : error C2065: 'cout' : undeclared identifier1>Build log was saved at "file://c:\Documents and Settings\KING\My Documents\Visual Studio 2005\Projects\4356\4356\Debug\BuildLog.htm"1>4356 - 3 error(s), 0 warning(s)========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.02.2007, 16:25 |
|
||
|
Переход с VS2002 на VS2005
|
|||
|---|---|---|---|
|
#18+
поменять местами инклюды не пробовал? -------------------------------------------------------------- [подпись с другого сайта] ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.02.2007, 17:28 |
|
||
|
Переход с VS2002 на VS2005
|
|||
|---|---|---|---|
|
#18+
Cerebrumпоменять местами инклюды не пробовал? -------------------------------------------------------------- [подпись с другого сайта] Спасибо, работает) в чем-же проблема была? получается, что iostream содержит компоненты stdafx? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.02.2007, 17:55 |
|
||
|
Переход с VS2002 на VS2005
|
|||
|---|---|---|---|
|
#18+
StalcerСпасибо, работает) в чем-же проблема была? получается, что iostream содержит компоненты stdafx?Посмотри в stdafx может быть сам все поймешь. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.02.2007, 18:00 |
|
||
|
Переход с VS2002 на VS2005
|
|||
|---|---|---|---|
|
#18+
Попытался подключить библиотеки: Код: plaintext 1. 2. 3. 4. 5. 6. 7. Компиль пишет, что нет таких. Как быть? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.02.2007, 18:04 |
|
||
|
|

start [/forum/topic.php?fid=57&msg=34344523&tid=2029409]: |
0ms |
get settings: |
6ms |
get forum list: |
9ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
179ms |
get topic data: |
6ms |
get forum data: |
2ms |
get page messages: |
24ms |
get tp. blocked users: |
1ms |
| others: | 232ms |
| total: | 465ms |

| 0 / 0 |
