Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to insert a string into the Listbox? Pin
Hamid_RT31-Jul-07 20:17
Hamid_RT31-Jul-07 20:17 
Questionkey codes for alphabets Pin
prithaa24-Jul-07 0:56
prithaa24-Jul-07 0:56 
AnswerRe: key codes for alphabets Pin
_AnsHUMAN_ 24-Jul-07 1:25
_AnsHUMAN_ 24-Jul-07 1:25 
QuestionAbout Threading model Pin
siddharthsan24-Jul-07 0:55
siddharthsan24-Jul-07 0:55 
AnswerRe: About Threading model Pin
DevMentor.org24-Jul-07 12:54
DevMentor.org24-Jul-07 12:54 
GeneralRe: About Threading model Pin
Matthew Faithfull25-Jul-07 1:09
Matthew Faithfull25-Jul-07 1:09 
QuestionAnyone knows a tool to find C style casts ? Pin
sixio24-Jul-07 0:24
sixio24-Jul-07 0:24 
AnswerRe: Anyone knows a tool to find C style casts ? Pin
James R. Twine24-Jul-07 2:11
James R. Twine24-Jul-07 2:11 
   A C-style cast is generally in the form of (type)ValueToCast.  If you are looking for things like that for code-review purposes, also watch out for temporaries that are created using the following syntax: type(ValueToCast).

   For example:
int iValueA = (int)dDoubleValue;
int iValueB = int( dDoubleValue );
 
FuncThatTakesACString( CString( "String Literal To Make A CString From" ) );
   Things things should be rather easy to do a find-in-files search on, you can even automate VS using a macro to repeat the find using a list of types.

  Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

GeneralRe: Anyone knows a tool to find C style casts ? Pin
DevMentor.org25-Jul-07 9:39
DevMentor.org25-Jul-07 9:39 
GeneralRe: Anyone knows a tool to find C style casts ? Pin
James R. Twine25-Jul-07 11:08
James R. Twine25-Jul-07 11:08 
AnswerRe: Anyone knows a tool to find C style casts ? Pin
jhwurmbach24-Jul-07 2:20
jhwurmbach24-Jul-07 2:20 
AnswerRe: Anyone knows a tool to find C style casts ? Pin
DevMentor.org25-Jul-07 9:43
DevMentor.org25-Jul-07 9:43 
QuestionProblem with fopen Pin
Maynka24-Jul-07 0:13
Maynka24-Jul-07 0:13 
AnswerRe: Problem with fopen Pin
codeII24-Jul-07 0:17
codeII24-Jul-07 0:17 
AnswerRe: Problem with fopen Pin
David Crow24-Jul-07 3:22
David Crow24-Jul-07 3:22 
QuestionPrinting problem for GDI+ in HIMETRIC mode Pin
Md. Ali Naser Khan24-Jul-07 0:03
Md. Ali Naser Khan24-Jul-07 0:03 
AnswerRe: Printing problem for GDI+ in HIMETRIC mode Pin
bob1697224-Jul-07 3:18
bob1697224-Jul-07 3:18 
GeneralRe: Printing problem for GDI+ in HIMETRIC mode Pin
Md. Ali Naser Khan27-Jul-07 1:02
Md. Ali Naser Khan27-Jul-07 1:02 
Questionconnection problem Pin
p_23-Jul-07 23:45
p_23-Jul-07 23:45 
AnswerRe: connection problem Pin
Rage24-Jul-07 1:41
professionalRage24-Jul-07 1:41 
GeneralRe: connection problem Pin
p_24-Jul-07 1:55
p_24-Jul-07 1:55 
GeneralRe: connection problem Pin
David Crow24-Jul-07 3:24
David Crow24-Jul-07 3:24 
QuestionDiff. between DestroyWindow() and EndDialog() Pin
Abhijeet Pathak23-Jul-07 23:13
Abhijeet Pathak23-Jul-07 23:13 
AnswerRe: Diff. between DestroyWindow() and EndDialog() Pin
Rage23-Jul-07 23:26
professionalRage23-Jul-07 23:26 
AnswerRe: Diff. between DestroyWindow() and EndDialog() Pin
nitin323-Jul-07 23:52
nitin323-Jul-07 23:52 

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.