Click here to Skip to main content
       

ATL / WTL / STL

 
Generalresolved, with many curses directed at myself Pinmemberbkelly1310-Mar-13 7:38 
GeneralRe: resolved, with many curses directed at myself PinmvpRichard MacCutchan10-Mar-13 8:05 
GeneralRe: resolved, with many curses directed at myself PinmemberAlbert Holguin10-Mar-13 14:27 
GeneralRe: resolved, with many curses directed at myself Pinmemberbkelly1310-Mar-13 15:44 
GeneralRe: resolved, with many curses directed at myself PinmemberAlbert Holguin10-Mar-13 15:49 
Generalsomething new to me Pinmemberbkelly1310-Mar-13 16:14 
GeneralRe: something new to me [modified] PinmemberAlbert Holguin11-Mar-13 7:53 
Questionrookie need help with STL Pinmemberspawn200420-Feb-13 7:40 
Hi everybody Smile | :) I need some professional help from experienced people. I am writing a program in C++ about a game. I have to specify a class Questions with attributes question, answers and difficulty. In the program i should have methods add, edit, select, search, print and remove. The problem that i have is that i have to work dynamically with these questions and when i choose from the menu save, just then to save everything into the file. So far i have ideas for everything except what kind of container to use?? I thought that i can use "map" but the key ( this should be the number of question) is const and if i delete a question the keys after that will remain the same. I need when i delete a question this integer ( question number) to decrease with 1. Can you give me an advise what kind of container to use and if i need to put question number as an attribute into the class.
Thank you in advance for the help Smile | :)
AnswerRe: rookie need help with STL PinmemberJonathan Davies21-Feb-13 1:05 
AnswerRe: rookie need help with STL PinmemberRahul from Poona23-Feb-13 22:26 
Questionlocals not valid in debugger [modified] Pinmemberbkelly1313-Feb-13 3:13 
AnswerRe: locals not valid in debugger PinmvpRichard MacCutchan13-Feb-13 3:18 
GeneralRe: locals not valid in debugger [modified] Pinmemberbkelly1313-Feb-13 3:51 
AnswerRe: locals not valid in debugger PinmemberAlbert Holguin13-Feb-13 4:42 
GeneralRe: locals not valid in debugger PinmvpRichard MacCutchan13-Feb-13 5:36 
Question64 bit MFC application failed to create mdb and mdw files ? Pinmemberkhaliloenit12-Feb-13 3:28 
AnswerRe: 64 bit MFC application failed to create mdb and mdw files ? PinmvpRichard MacCutchan12-Feb-13 4:57 
GeneralATL how get the name of the target class inside of a template? PinmemberFrank Coder12-Feb-13 3:16 
GeneralRe: ATL how get the name of the target class inside of a template? PinmvpRichard MacCutchan12-Feb-13 4:55 
GeneralRe: ATL how get the name of the target class inside of a template? PinmemberFrank Coder15-Feb-13 19:51 
Questionadd sys dsn failed on windows 7 64 Pinmemberkhaliloenit11-Feb-13 5:59 
QuestionSQL Server Compact Edition PinmemberHaakon S.11-Feb-13 4:23 
AnswerRe: SQL Server Compact Edition PinmvpRichard MacCutchan11-Feb-13 4:42 
GeneralRe: SQL Server Compact Edition PinmemberHaakon S.11-Feb-13 5:37 
GeneralRe: SQL Server Compact Edition PinmvpRichard MacCutchan11-Feb-13 5:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 12 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid