Click here to Skip to main content
15,887,822 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: #define problem Pin
kk.tvm10-Aug-09 22:26
kk.tvm10-Aug-09 22:26 
AnswerRe: #define problem Pin
David Crow11-Aug-09 3:18
David Crow11-Aug-09 3:18 
QuestionLNK errors while using an "extern "C"" function Pin
MozhdehQeraati10-Aug-09 18:43
MozhdehQeraati10-Aug-09 18:43 
AnswerRe: LNK errors while using an "extern "C"" function Pin
«_Superman_»10-Aug-09 18:52
professional«_Superman_»10-Aug-09 18:52 
GeneralRe: LNK errors while using an "extern "C"" function Pin
MozhdehQeraati10-Aug-09 19:48
MozhdehQeraati10-Aug-09 19:48 
GeneralRe: LNK errors while using an "extern "C"" function Pin
«_Superman_»10-Aug-09 19:54
professional«_Superman_»10-Aug-09 19:54 
GeneralRe: LNK errors while using an "extern "C"" function Pin
Cedric Moonen10-Aug-09 20:15
Cedric Moonen10-Aug-09 20:15 
QuestionReturn value from a funtion Pin
AkashAg10-Aug-09 18:06
AkashAg10-Aug-09 18:06 
Hi,

I want to know the side effects if I don't save the value returned from a function call.

ex:

int foo()
{
   return (10);
}

main()
{
   foo();
}


Doubts:
1. Does this type of code may cause some warnings or other issues?
2. Is it an optimized approach or do I need to save the value returned by foo()?

Thanks for ur help.
Akash
AnswerRe: Return value from a funtion Pin
«_Superman_»10-Aug-09 18:41
professional«_Superman_»10-Aug-09 18:41 
GeneralRe: Return value from a funtion Pin
AkashAg10-Aug-09 18:46
AkashAg10-Aug-09 18:46 
GeneralRe: Return value from a funtion Pin
«_Superman_»10-Aug-09 18:47
professional«_Superman_»10-Aug-09 18:47 
AnswerRe: Return value from a funtion Pin
Stuart Dootson10-Aug-09 21:22
professionalStuart Dootson10-Aug-09 21:22 
QuestionTranslate Logical Drive to Physical Drive Pin
Bram van Kampen10-Aug-09 14:55
Bram van Kampen10-Aug-09 14:55 
AnswerRe: Translate Logical Drive to Physical Drive Pin
Randor 10-Aug-09 17:45
professional Randor 10-Aug-09 17:45 
GeneralRe: Translate Logical Drive to Physical Drive [modified] Pin
Bram van Kampen11-Aug-09 11:09
Bram van Kampen11-Aug-09 11:09 
GeneralRe: Translate Logical Drive to Physical Drive Pin
Randor 11-Aug-09 13:06
professional Randor 11-Aug-09 13:06 
GeneralRe: Translate Logical Drive to Physical Drive Pin
Bram van Kampen12-Aug-09 8:31
Bram van Kampen12-Aug-09 8:31 
GeneralRe: Translate Logical Drive to Physical Drive Pin
Andy Belton24-Dec-11 21:37
Andy Belton24-Dec-11 21:37 
GeneralRe: Translate Logical Drive to Physical Drive Pin
Randor 26-Dec-11 11:13
professional Randor 26-Dec-11 11:13 
GeneralRe: Translate Logical Drive to Physical Drive Pin
Andy Belton1-Jan-12 1:40
Andy Belton1-Jan-12 1:40 
GeneralRe: Translate Logical Drive to Physical Drive Pin
Randor 1-Jan-12 2:54
professional Randor 1-Jan-12 2:54 
GeneralRe: Translate Logical Drive to Physical Drive Pin
Andy Belton4-Jun-12 4:34
Andy Belton4-Jun-12 4:34 
QuestionIostream processing\flags question Pin
GuimaSun10-Aug-09 12:23
GuimaSun10-Aug-09 12:23 
AnswerRe: Iostream processing\flags question Pin
Stuart Dootson10-Aug-09 21:10
professionalStuart Dootson10-Aug-09 21:10 
GeneralRe: Iostream processing\flags question Pin
GuimaSun11-Aug-09 2:55
GuimaSun11-Aug-09 2:55 

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.