![]() |
Модераторы: Poseidon |
![]() ![]() ![]() |
|
Gilgamesh |
|
|||
Новичок Профиль Группа: Участник Сообщений: 17 Регистрация: 23.11.2008 Репутация: нет Всего: нет |
В Microsoft Visual C++ 6.0
Удалить из строки s1 все символы, встречающиеся в строке s2. |
|||
|
||||
Rififi |
|
|||
Эксперт ![]() ![]() ![]() Профиль Группа: Завсегдатай Сообщений: 1254 Регистрация: 9.3.2008 Репутация: 4 Всего: 36 |
Спросить-то чего хотел? :?:
|
|||
|
||||
Gilgamesh |
|
|||
Новичок Профиль Группа: Участник Сообщений: 17 Регистрация: 23.11.2008 Репутация: нет Всего: нет |
Да собственно незнаю как прогу написать!
|
|||
|
||||
solverr |
|
||||
![]() Новичок Профиль Группа: Участник Сообщений: 17 Регистрация: 31.12.2008 Репутация: 1 Всего: 1 |
Лень запускать студию, поэтому попробую написать в броузере
|
||||
|
|||||
Gilgamesh |
|
|||
Новичок Профиль Группа: Участник Сообщений: 17 Регистрация: 23.11.2008 Репутация: нет Всего: нет |
У меня выдает 33 ошибки
|
|||
|
||||
Gilgamesh |
|
|||
Новичок Профиль Группа: Участник Сообщений: 17 Регистрация: 23.11.2008 Репутация: нет Всего: нет |
Нашёл в нете код, но чот не то выдает
Это сообщение отредактировал(а) Gilgamesh - 22.1.2009, 21:47 |
|||
|
||||
Shooroop |
|
|||
![]() Шустрый ![]() Профиль Группа: Участник Сообщений: 75 Регистрация: 28.4.2008 Где: Красноярск Репутация: 2 Всего: 2 |
попробуй этот код:
|
|||
|
||||
Gilgamesh |
|
|||
Новичок Профиль Группа: Участник Сообщений: 17 Регистрация: 23.11.2008 Репутация: нет Всего: нет |
хм, 48 ошибок((
|
|||
|
||||
mrbrooks |
|
|||
![]() трололомен ![]() ![]() ![]() ![]() Профиль Группа: Завсегдатай Сообщений: 4259 Регистрация: 4.10.2006 Где: Дол Гулдур Репутация: 16 Всего: 306 |
||||
|
||||
Shooroop |
|
|||
![]() Шустрый ![]() Профиль Группа: Участник Сообщений: 75 Регистрация: 28.4.2008 Где: Красноярск Репутация: 2 Всего: 2 |
1. действительно какие именно ошибки 2. откуда 48 ![]() качай с сайта майкрософта visual studio 2008 express edition она бесплатная и работает "из коробки" сразу. а так-же прочитай как создавать проекты в ней, думаю дело в этом. |
|||
|
||||
Gilgamesh |
|
|||
Новичок Профиль Группа: Участник Сообщений: 17 Регистрация: 23.11.2008 Репутация: нет Всего: нет |
Да дело в том что мне нужно именно Microsoft Visual C++ 6.0
c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(7) : error C2059: syntax error : '}' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(7) : warning C4508: 'main' : function should return a value; 'void' return type assumed c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(8) : error C2143: syntax error : missing ';' before 'for' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(8) : error C2143: syntax error : missing ')' before ';' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(8) : error C2065: 'i' : undeclared identifier c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(8) : error C2057: expected constant expression c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(8) : error C2466: cannot allocate an array of constant size 0 c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(8) : error C2501: 's2' : missing storage-class or type specifiers c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(8) : error C2143: syntax error : missing ';' before '++' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(8) : error C2501: 'i' : missing storage-class or type specifiers c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(8) : error C2143: syntax error : missing ';' before '++' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(8) : error C2059: syntax error : ')' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(10) : error C2143: syntax error : missing ';' before '<<' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(10) : error C2501: 'cout' : missing storage-class or type specifiers c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(10) : error C2143: syntax error : missing ';' before '<<' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(11) : error C2143: syntax error : missing ';' before '<<' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(11) : error C2501: 'cout' : missing storage-class or type specifiers c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(11) : error C2086: 'cout' : redefinition c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(11) : error C2143: syntax error : missing ';' before '<<' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(12) : error C2143: syntax error : missing ';' before 'for' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(12) : error C2143: syntax error : missing ')' before ';' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(12) : error C2057: expected constant expression c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(12) : error C2466: cannot allocate an array of constant size 0 c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(12) : error C2501: 's1' : missing storage-class or type specifiers c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(12) : error C2143: syntax error : missing ';' before '++' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(12) : error C2501: 'i' : missing storage-class or type specifiers c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(12) : error C2086: 'i' : redefinition c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(12) : error C2143: syntax error : missing ';' before '++' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(12) : error C2059: syntax error : ')' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(14) : error C2143: syntax error : missing ';' before '{' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(14) : error C2447: missing function header (old-style formal list?) c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(19) : error C2143: syntax error : missing ';' before '<<' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(19) : error C2501: 'cout' : missing storage-class or type specifiers c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(19) : error C2086: 'cout' : redefinition c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(19) : error C2143: syntax error : missing ';' before '<<' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(20) : error C2143: syntax error : missing ';' before '<<' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(20) : error C2501: 'cout' : missing storage-class or type specifiers c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(20) : error C2086: 'cout' : redefinition c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(20) : error C2143: syntax error : missing ';' before '<<' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(21) : error C2143: syntax error : missing ';' before '<<' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(21) : error C2501: 'cout' : missing storage-class or type specifiers c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(21) : error C2086: 'cout' : redefinition c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(21) : error C2143: syntax error : missing ';' before '<<' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(22) : error C2143: syntax error : missing ';' before '.' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(22) : error C2501: 'cin' : missing storage-class or type specifiers c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(22) : error C2143: syntax error : missing ';' before '.' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(23) : error C2143: syntax error : missing ';' before '}' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(23) : error C2143: syntax error : missing ';' before '}' c:\program files (x86)\microsoft visual studio\myprojects\10\10.cpp(23) : error C2143: syntax error : missing ';' before '}' Error executing cl.exe. 10.obj - 48 error(s), 1 warning(s) |
|||
|
||||
Shooroop |
|
|||
![]() Шустрый ![]() Профиль Группа: Участник Сообщений: 75 Регистрация: 28.4.2008 Где: Красноярск Репутация: 2 Всего: 2 |
Все разобрался! пришлось vs6 в инете искать ели как нашел.
создаем проект : Concol Application -> Empty project
теперь должно все проканать ![]() Проблема вроде заключается в не соответствии MS C++ компилятора стандарту C++. Если кому интересно то есть статья по моемому называется "Нестандартный С" Крис Касперски Это сообщение отредактировал(а) Shooroop - 23.1.2009, 13:39 |
|||
|
||||
Gilgamesh |
|
|||
Новичок Профиль Группа: Участник Сообщений: 17 Регистрация: 23.11.2008 Репутация: нет Всего: нет |
Все заработало спс!
|
|||
|
||||
![]() ![]() ![]() |
Правила форума "Центр помощи" | |
|
ВНИМАНИЕ! Прежде чем создавать темы, или писать сообщения в данный раздел, ознакомьтесь, пожалуйста, с Правилами форума и конкретно этого раздела.
Более подробно с правилами данного раздела Вы можете ознакомится в этой теме. Если Вам помогли и атмосфера форума Вам понравилась, то заходите к нам чаще! С уважением, Poseidon, Rodman |
1 Пользователей читают эту тему (1 Гостей и 0 Скрытых Пользователей) | |
0 Пользователей: | |
« Предыдущая тема | Центр помощи | Следующая тема » |
|
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности Powered by Invision Power Board(R) 1.3 © 2003 IPS, Inc. |