Click here to Skip to main content
14,635,549 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: connecting to a SQL/MSDE database Pin
elephantstar27-Jan-05 11:05
Memberelephantstar27-Jan-05 11:05 
GeneralRe: connecting to a SQL/MSDE database Pin
wilsonian27-Jan-05 11:26
Memberwilsonian27-Jan-05 11:26 
GeneralRe: connecting to a SQL/MSDE database Pin
elephantstar27-Jan-05 14:05
Memberelephantstar27-Jan-05 14:05 
GeneralCDaoDatabase error Pin
Deian25-Jan-05 12:22
MemberDeian25-Jan-05 12:22 
QuestionHow to get size of dynamic array Pin
r3dqu33n25-Jan-05 10:23
Memberr3dqu33n25-Jan-05 10:23 
AnswerRe: How to get size of dynamic array Pin
Budric B.25-Jan-05 10:45
MemberBudric B.25-Jan-05 10:45 
GeneralRe: How to get size of dynamic array Pin
r3dqu33n26-Jan-05 0:31
Memberr3dqu33n26-Jan-05 0:31 
GeneralRe: How to get size of dynamic array Pin
geo_m26-Jan-05 1:29
Membergeo_m26-Jan-05 1:29 
The C++ inside me says:
Better to use some class for holding the array (what about ready-to-use stl::vector?) that could return you the size of the array by using something line myArray.size()? You will also get the automated memory management included and many more other stl usefull functions.

The C devil says:
on most compilers, the size of the array is stored at some negative offset of the array (but differs on compilers, also can differ on compiler versions etc - simply don't try it at home, it's ugly ugly ugly hack - just mentioned in case of emergency)

GeneralRe: How to get size of dynamic array Pin
David Crow26-Jan-05 3:08
MemberDavid Crow26-Jan-05 3:08 
GeneralConvert CString Pin
RedDragon2k25-Jan-05 8:48
MemberRedDragon2k25-Jan-05 8:48 
GeneralRe: Convert CString Pin
toxcct25-Jan-05 9:52
Membertoxcct25-Jan-05 9:52 
GeneralRe: Convert CString Pin
Bob Ciora25-Jan-05 12:26
MemberBob Ciora25-Jan-05 12:26 
GeneralRe: Convert CString Pin
RedDragon2k26-Jan-05 5:29
MemberRedDragon2k26-Jan-05 5:29 
GeneralRe: Convert CString Pin
digwizfox13-Apr-05 7:08
Memberdigwizfox13-Apr-05 7:08 
GeneralOutputting to MFC Dialog Box Pin
CNewbie25-Jan-05 8:35
MemberCNewbie25-Jan-05 8:35 
GeneralRe: Outputting to MFC Dialog Box Pin
Wes Aday25-Jan-05 9:34
professionalWes Aday25-Jan-05 9:34 
GeneralRe: Outputting to MFC Dialog Box Pin
Bob Ciora25-Jan-05 11:02
MemberBob Ciora25-Jan-05 11:02 
GeneralRe: Outputting to MFC Dialog Box Pin
toxcct25-Jan-05 9:57
Membertoxcct25-Jan-05 9:57 
GeneralRe: Outputting to MFC Dialog Box Pin
CNewbie25-Jan-05 13:06
MemberCNewbie25-Jan-05 13:06 
GeneralRe: Outputting to MFC Dialog Box Pin
CNewbie25-Jan-05 14:10
MemberCNewbie25-Jan-05 14:10 
GeneralRe: Outputting to MFC Dialog Box Pin
FlyingTinman25-Jan-05 14:54
MemberFlyingTinman25-Jan-05 14:54 
GeneralRe: Outputting to MFC Dialog Box Pin
CNewbie25-Jan-05 15:45
MemberCNewbie25-Jan-05 15:45 
GeneralRe: Outputting to MFC Dialog Box Pin
David Crow26-Jan-05 3:21
MemberDavid Crow26-Jan-05 3:21 
GeneralRe: Outputting to MFC Dialog Box Pin
CNewbie26-Jan-05 16:24
MemberCNewbie26-Jan-05 16:24 
GeneralSetup Project Pin
Galen_225-Jan-05 5:42
MemberGalen_225-Jan-05 5:42 

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.