Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to accessing std:map (index)th element Pin
Maximilien8-Sep-05 5:54
Maximilien8-Sep-05 5:54 
GeneralRe: how to accessing std:map (index)th element Pin
garbash8-Sep-05 7:06
garbash8-Sep-05 7:06 
AnswerRe: how to accessing std:map (index)th element Pin
Bob Stanneveld8-Sep-05 10:42
Bob Stanneveld8-Sep-05 10:42 
QuestionEdit a record in a DB table opened with ODBC Pin
sirtimid8-Sep-05 4:32
sirtimid8-Sep-05 4:32 
AnswerRe: Edit a record in a DB table opened with ODBC Pin
David Crow8-Sep-05 4:35
David Crow8-Sep-05 4:35 
GeneralRe: Edit a record in a DB table opened with ODBC Pin
sirtimid8-Sep-05 4:51
sirtimid8-Sep-05 4:51 
GeneralRe: Edit a record in a DB table opened with ODBC Pin
David Crow8-Sep-05 5:53
David Crow8-Sep-05 5:53 
QuestionRedefinition Pin
Babto8-Sep-05 4:13
Babto8-Sep-05 4:13 
Is it correct in anyway to declare a same variable (variable type and name same) multiple times in Visual C++ code of single block ?


For example,

void Function( int i, int j )
{

HRESULT hr = E_FAIL;
.
.
.
HRESULT hr = CComObject::GetInterface(...);
.
.
}

Appreciate answers and suggestions. Thanks in advance.
AnswerRe: Redefinition Pin
Cedric Moonen8-Sep-05 4:17
Cedric Moonen8-Sep-05 4:17 
GeneralRe: Redefinition Pin
Babto8-Sep-05 5:41
Babto8-Sep-05 5:41 
GeneralRe: Redefinition Pin
Maximilien8-Sep-05 5:59
Maximilien8-Sep-05 5:59 
AnswerRe: Redefinition Pin
David Crow8-Sep-05 4:32
David Crow8-Sep-05 4:32 
QuestionProblem with worker thread Pin
ashtwin8-Sep-05 4:06
ashtwin8-Sep-05 4:06 
AnswerRe: Problem with worker thread Pin
David Crow8-Sep-05 4:34
David Crow8-Sep-05 4:34 
AnswerRe: Problem with worker thread Pin
Marc Soleda8-Sep-05 4:37
Marc Soleda8-Sep-05 4:37 
AnswerRe: Problem with worker thread Pin
Jim Howard8-Sep-05 12:54
Jim Howard8-Sep-05 12:54 
AnswerRe: Problem with worker thread Pin
ThatsAlok8-Sep-05 18:16
ThatsAlok8-Sep-05 18:16 
QuestionEdit a record in a DB table opened with ODBC Pin
sirtimid8-Sep-05 3:52
sirtimid8-Sep-05 3:52 
AnswerRe: Edit a record in a DB table opened with ODBC Pin
David Crow8-Sep-05 6:01
David Crow8-Sep-05 6:01 
QuestionUsing the Registry Pin
sweep1238-Sep-05 3:39
sweep1238-Sep-05 3:39 
AnswerRe: Using the Registry Pin
kakan8-Sep-05 3:55
professionalkakan8-Sep-05 3:55 
AnswerRe: Using the Registry Pin
Marc Soleda8-Sep-05 4:02
Marc Soleda8-Sep-05 4:02 
AnswerRe: Using the Registry Pin
David Crow8-Sep-05 7:40
David Crow8-Sep-05 7:40 
Questionhow do I turn off a hidden variable?? Pin
IlanTal8-Sep-05 3:37
IlanTal8-Sep-05 3:37 
Questionmap<string, set<string> > Pin
Achim Klein8-Sep-05 3:15
Achim Klein8-Sep-05 3:15 

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.