Click here to Skip to main content
15,899,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Escape characters Pin
Michael Dunn23-Jul-06 8:53
sitebuilderMichael Dunn23-Jul-06 8:53 
AnswerRe: Escape characters Pin
Steve Echols23-Jul-06 17:52
Steve Echols23-Jul-06 17:52 
QuestionVirtual WebCam Pin
DobosCake23-Jul-06 7:17
DobosCake23-Jul-06 7:17 
AnswerRe: Virtual WebCam Pin
Justin Tay23-Jul-06 7:44
Justin Tay23-Jul-06 7:44 
AnswerRe: Virtual WebCam Pin
DobosCake23-Jul-06 8:49
DobosCake23-Jul-06 8:49 
GeneralRe: Virtual WebCam Pin
Justin Tay23-Jul-06 10:07
Justin Tay23-Jul-06 10:07 
AnswerRe: Virtual WebCam Pin
DobosCake23-Jul-06 23:48
DobosCake23-Jul-06 23:48 
Questionwhy use new() function in C++? Pin
kitty523-Jul-06 7:16
kitty523-Jul-06 7:16 
my question is when would you want to use new()? do you only use it if you don't quite know how large to make your array?

I need to create a buffer and allocate enough space to be able to hold my data that I'll be getting from an external source. However, I know exactly how large it needs to be. (i.e. int x[1000][1000]; int y[1000][1000]; ) I wouldn't need to use new(), correct?Confused | :confused:

Also, i know that my computer an unsigned int is 4bytes and an unsigned long is 4bytes. why would one use int over long and vise versa?Confused | :confused:

To confirm: if I do: ULONG x[1000][1000]; I've created a double array of 1000 x 1000 and each element of that array can hold data the size of 4 bytes?

Thanks,Big Grin | :-D

Kitty5

AnswerRe: why use new() function in C++? Pin
Chris Losinger23-Jul-06 10:03
professionalChris Losinger23-Jul-06 10:03 
GeneralRe: why use new() function in C++? Pin
kitty523-Jul-06 13:06
kitty523-Jul-06 13:06 
GeneralRe: why use new() function in C++? Pin
Chris Losinger23-Jul-06 14:11
professionalChris Losinger23-Jul-06 14:11 
QuestionArray of chars Pin
jon-8023-Jul-06 4:08
professionaljon-8023-Jul-06 4:08 
AnswerRe: Array of chars [modified] Pin
Justin Tay23-Jul-06 4:22
Justin Tay23-Jul-06 4:22 
QuestionNM_CUSTOMDRAW with the default ToolBar in MDI Pin
kdehairy23-Jul-06 1:39
kdehairy23-Jul-06 1:39 
AnswerRe: NM_CUSTOMDRAW with the default ToolBar in MDI Pin
Hamid_RT23-Jul-06 3:05
Hamid_RT23-Jul-06 3:05 
GeneralRe: NM_CUSTOMDRAW with the default ToolBar in MDI Pin
kdehairy27-Jul-06 7:42
kdehairy27-Jul-06 7:42 
GeneralRe: NM_CUSTOMDRAW with the default ToolBar in MDI Pin
Hamid_RT27-Jul-06 22:27
Hamid_RT27-Jul-06 22:27 
QuestionCListCtrl with static columns. Pin
paperke6723-Jul-06 1:35
paperke6723-Jul-06 1:35 
AnswerRe: CListCtrl with static columns. Pin
Hamid_RT27-Jul-06 7:25
Hamid_RT27-Jul-06 7:25 
GeneralRe: CListCtrl with static columns. Pin
paperke6729-Jul-06 2:29
paperke6729-Jul-06 2:29 
GeneralRe: CListCtrl with static columns. Pin
Hamid_RT29-Jul-06 2:55
Hamid_RT29-Jul-06 2:55 
QuestionListbox control variable ?? Pin
jon-8023-Jul-06 1:15
professionaljon-8023-Jul-06 1:15 
AnswerRe: Listbox control variable ?? Pin
Hamid_RT23-Jul-06 3:00
Hamid_RT23-Jul-06 3:00 
QuestionHow get all new contacts which are created after a given time Outlook Express? Pin
mpprasad23-Jul-06 0:17
mpprasad23-Jul-06 0:17 
Questionneed projects in VC++ Pin
premium122-Jul-06 21:28
premium122-Jul-06 21:28 

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.