Click here to Skip to main content
15,920,618 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to splice two big image Pin
Russell'17-Sep-07 3:03
Russell'17-Sep-07 3:03 
GeneralRe: how to splice two big image Pin
King Tran17-Sep-07 3:20
King Tran17-Sep-07 3:20 
QuestionRe: how to splice two big image Pin
Russell'17-Sep-07 3:23
Russell'17-Sep-07 3:23 
AnswerRe: how to splice two big image Pin
King Tran17-Sep-07 3:32
King Tran17-Sep-07 3:32 
GeneralRe: how to splice two big image Pin
Russell'17-Sep-07 3:45
Russell'17-Sep-07 3:45 
GeneralRe: how to splice two big image Pin
King Tran17-Sep-07 14:08
King Tran17-Sep-07 14:08 
GeneralRe: how to splice two big image Pin
Russell'17-Sep-07 21:39
Russell'17-Sep-07 21:39 
Questionwant to add picture in dialog box Pin
Dhiraj kumar Saini17-Sep-07 0:50
Dhiraj kumar Saini17-Sep-07 0:50 
AnswerRe: want to add picture in dialog box Pin
Russell'17-Sep-07 1:15
Russell'17-Sep-07 1:15 
AnswerRe: want to add picture in dialog box Pin
Programm3r17-Sep-07 1:15
Programm3r17-Sep-07 1:15 
AnswerRe: want to add picture in dialog box Pin
Hamid_RT17-Sep-07 2:00
Hamid_RT17-Sep-07 2:00 
GeneralRe: want to add picture in dialog box Pin
Hamid_RT17-Sep-07 1:59
Hamid_RT17-Sep-07 1:59 
GeneralRe: want to add picture in dialog box Pin
Dhiraj kumar Saini17-Sep-07 2:42
Dhiraj kumar Saini17-Sep-07 2:42 
GeneralRe: want to add picture in dialog box Pin
Iain Clarke, Warrior Programmer17-Sep-07 5:27
Iain Clarke, Warrior Programmer17-Sep-07 5:27 
GeneralRe: want to add picture in dialog box Pin
Hamid_RT18-Sep-07 2:48
Hamid_RT18-Sep-07 2:48 
GeneralRe: want to add picture in dialog box Pin
Dhiraj kumar Saini18-Sep-07 3:24
Dhiraj kumar Saini18-Sep-07 3:24 
GeneralRe: want to add picture in dialog box Pin
Hamid_RT18-Sep-07 19:35
Hamid_RT18-Sep-07 19:35 
Questioninserting checkbox in multicolumn ClistCtrl and set width of columns Pin
Dhiraj kumar Saini16-Sep-07 23:40
Dhiraj kumar Saini16-Sep-07 23:40 
AnswerRe: inserting checkbox in multicolumn ClistCtrl and set width of columns Pin
Sreedhar DV17-Sep-07 1:31
Sreedhar DV17-Sep-07 1:31 
AnswerRe: inserting checkbox in multicolumn ClistCtrl and set width of columns Pin
Hamid_RT17-Sep-07 2:04
Hamid_RT17-Sep-07 2:04 
Questioninline or not inline...this is the problem Pin
Russell'16-Sep-07 23:34
Russell'16-Sep-07 23:34 
GeneralRe: inline or not inline...this is the problem Pin
Matthew Faithfull17-Sep-07 0:09
Matthew Faithfull17-Sep-07 0:09 
To get inlining to work you generally need to implement the function in the header file. i.e. no separate declaration and definition, all in one like:-

in file.h
<br />
inline double foo(/*...*/)<br />
{<br />
//...<br />
}<br />


Note that there are numerous reasons why the MS C++ Compiler might refuse to inline or auto inline functions without being asked not all of which are even publicly documented. There is no way to gaurantee inlining even using __force_inline the compiler can still ignore the instruction. Also inlining tends to disappear in Debug builds as compared with Release so it's difficult to prove whether it's happening or not wihtout examining Release code at the assembly level. Any kind of instrumentation or leaving debug information in is quite likely to alter the compiler's inlining decisions anyway. Microsoft's take is basically truct the compiler and don't worry about it.

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: inline or not inline...this is the problem Pin
Russell'17-Sep-07 0:34
Russell'17-Sep-07 0:34 
GeneralRe: inline or not inline...this is the problem Pin
Chris Losinger17-Sep-07 3:26
professionalChris Losinger17-Sep-07 3:26 
GeneralRe: inline or not inline...this is the problem Pin
Russell'17-Sep-07 3:45
Russell'17-Sep-07 3:45 

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.