Click here to Skip to main content
14,665,299 members
Home » Discussions » ATL / WTL / STL
   

ATL / WTL / STL

 
Generalresolved, with many curses directed at myself Pin
bkelly1310-Mar-13 7:38
Memberbkelly1310-Mar-13 7:38 
GeneralRe: resolved, with many curses directed at myself Pin
Richard MacCutchan10-Mar-13 8:05
mveRichard MacCutchan10-Mar-13 8:05 
GeneralRe: resolved, with many curses directed at myself Pin
Albert Holguin10-Mar-13 14:27
professionalAlbert Holguin10-Mar-13 14:27 
GeneralRe: resolved, with many curses directed at myself Pin
bkelly1310-Mar-13 15:44
Memberbkelly1310-Mar-13 15:44 
GeneralRe: resolved, with many curses directed at myself Pin
Albert Holguin10-Mar-13 15:49
professionalAlbert Holguin10-Mar-13 15:49 
Generalsomething new to me Pin
bkelly1310-Mar-13 16:14
Memberbkelly1310-Mar-13 16:14 
GeneralRe: something new to me Pin
Albert Holguin11-Mar-13 7:53
professionalAlbert Holguin11-Mar-13 7:53 
Questionrookie need help with STL Pin
spawn200420-Feb-13 7:40
Memberspawn200420-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 Pin
Jonathan Davies21-Feb-13 1:05
MemberJonathan Davies21-Feb-13 1:05 
AnswerRe: rookie need help with STL Pin
Rahul from Poona23-Feb-13 22:26
MemberRahul from Poona23-Feb-13 22:26 
Questionlocals not valid in debugger Pin
bkelly1313-Feb-13 3:13
Memberbkelly1313-Feb-13 3:13 
AnswerRe: locals not valid in debugger Pin
Richard MacCutchan13-Feb-13 3:18
mveRichard MacCutchan13-Feb-13 3:18 
GeneralRe: locals not valid in debugger Pin
bkelly1313-Feb-13 3:51
Memberbkelly1313-Feb-13 3:51 
AnswerRe: locals not valid in debugger Pin
Albert Holguin13-Feb-13 4:42
professionalAlbert Holguin13-Feb-13 4:42 
GeneralRe: locals not valid in debugger Pin
Richard MacCutchan13-Feb-13 5:36
mveRichard MacCutchan13-Feb-13 5:36 
Question64 bit MFC application failed to create mdb and mdw files ? Pin
MrKBA12-Feb-13 3:28
MemberMrKBA12-Feb-13 3:28 
AnswerRe: 64 bit MFC application failed to create mdb and mdw files ? Pin
Richard MacCutchan12-Feb-13 4:57
mveRichard MacCutchan12-Feb-13 4:57 
GeneralATL how get the name of the target class inside of a template? Pin
Frank Thielemann12-Feb-13 3:16
MemberFrank Thielemann12-Feb-13 3:16 
GeneralRe: ATL how get the name of the target class inside of a template? Pin
Richard MacCutchan12-Feb-13 4:55
mveRichard MacCutchan12-Feb-13 4:55 
GeneralRe: ATL how get the name of the target class inside of a template? Pin
Frank Thielemann15-Feb-13 19:51
MemberFrank Thielemann15-Feb-13 19:51 
Questionadd sys dsn failed on windows 7 64 Pin
MrKBA11-Feb-13 5:59
MemberMrKBA11-Feb-13 5:59 
QuestionSQL Server Compact Edition Pin
Haakon S.11-Feb-13 4:23
MemberHaakon S.11-Feb-13 4:23 
AnswerRe: SQL Server Compact Edition Pin
Richard MacCutchan11-Feb-13 4:42
mveRichard MacCutchan11-Feb-13 4:42 
GeneralRe: SQL Server Compact Edition Pin
Haakon S.11-Feb-13 5:37
MemberHaakon S.11-Feb-13 5:37 
GeneralRe: SQL Server Compact Edition Pin
Richard MacCutchan11-Feb-13 5:58
mveRichard MacCutchan11-Feb-13 5:58 

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

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