|
|
Регистрация Восстановить пароль |
Регистрация | Задать вопрос |
Заплачу за решение |
Новые сообщения |
Сообщения за день |
Расширенный поиск |
Правила |
Всё прочитано |
|
Опции темы | Поиск в этой теме |
07.08.2009, 19:15 | #1 |
Пользователь Подтвердите свой е-майл
Регистрация: 01.10.2008
Сообщений: 82
|
Ссылка на неразрешенный внешний символ(error LNK2019)
Вот сама программа:
Код:
1>test.obj : error LNK2019: ссылка на неразрешенный внешний символ "void __cdecl ShowVector<class Student>(class std::vector<class Student,class std::allocator<class Student> > const &)" (??$ShowVector@VStudent@@@@YAXABV?$ vector@VStudent@@V?$allocator@VStud ent@@@std@@@std@@@Z) в функции _main Что-то не пойму, почему эта ошибка выскакивает и как её исправить… может, кто ни будь, подскажет, что я сделал не правильно? P.S: Пользуюсь Microsoft Visual C++ 2008 Express Edition. |
07.08.2009, 19:35 | #2 |
Старожил
Регистрация: 22.05.2007
Сообщений: 9,085
|
template <class T>
void ShowVector(const vector<T> &y); и template <class T> void ShowVextor(const vector<T> &v) Найдите одно отличие |
07.08.2009, 19:58 | #3 |
Пользователь Подтвердите свой е-майл
Регистрация: 01.10.2008
Сообщений: 82
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Внешний и Внутренний IP | Пепел Феникса | Win Api | 7 | 09.02.2010 15:38 |
Как прервать внешний цикл? | AndreyF | Общие вопросы Delphi | 15 | 15.06.2009 17:46 |
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/main.exe : fatal error LNK11 | prefak | Win Api | 0 | 19.04.2009 16:51 |
Внешний Ip | Enemy | Работа с сетью в Delphi | 3 | 20.11.2007 01:00 |