|
|
Регистрация Восстановить пароль |
Регистрация | Задать вопрос |
Заплачу за решение |
Новые сообщения |
Сообщения за день |
Расширенный поиск |
Правила |
Всё прочитано |
|
Опции темы | Поиск в этой теме |
10.10.2012, 15:54 | #1 |
Регистрация: 01.05.2012
Сообщений: 6
|
что то не работает....
Я написал клас card но почему то МВС 2012 експрес не компилирует...
вот код Код:
static const vector<string> vr {"2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K", "A"}; //vaild ranks static const vector<string> vs {"spade", "heart", "diamond", "club"}; //vaild suits static const map<string, int> rtp {{"2", 2}, {"3", 3}, {"4", 4}, {"5", 5}, {"6", 6}, {"7", 7}, {"8", 8}, {"9", 9}, {"10", 10}, {"J", 10}, {"Q", 10}, {"K", 10}, {"A", 11}}; //rank to points заране спс Последний раз редактировалось Stilet; 10.10.2012 в 16:18. |
10.10.2012, 16:41 | #2 |
С++
Форумчанин
Регистрация: 22.09.2008
Сообщений: 791
|
синтаксис определения статических членов другой
Код:
Форматируйте код, будьте людьми.
|
10.10.2012, 19:07 | #3 |
Регистрация: 01.05.2012
Сообщений: 6
|
вроде в c++11 так можно... если нет то не скажите как???
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
программа не работает, что не так? | klubnika | Общие вопросы C/C++ | 7 | 11.10.2011 22:47 |
Что то не работает как надо... | rezak91 | Паскаль, Turbo Pascal, PascalABC.NET | 9 | 24.05.2010 22:27 |
Не работает программа, что делать? | St1mkA | Помощь студентам | 6 | 28.04.2010 20:22 |
Работа с TXT, что то не работает | nolz | Помощь студентам | 6 | 12.10.2009 21:33 |
не работает, что-то не так. | Анжелика | Помощь студентам | 2 | 06.12.2008 21:47 |