Click here to Skip to main content
15,902,492 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: auto_ptr array Pin
George_George1-Apr-08 21:16
George_George1-Apr-08 21:16 
GeneralRe: auto_ptr array Pin
CPallini1-Apr-08 21:40
mveCPallini1-Apr-08 21:40 
GeneralRe: auto_ptr array Pin
George_George1-Apr-08 22:29
George_George1-Apr-08 22:29 
GeneralRe: auto_ptr array Pin
CPallini1-Apr-08 22:47
mveCPallini1-Apr-08 22:47 
GeneralRe: auto_ptr array Pin
George_George1-Apr-08 23:02
George_George1-Apr-08 23:02 
GeneralRe: auto_ptr array Pin
CPallini1-Apr-08 23:07
mveCPallini1-Apr-08 23:07 
GeneralRe: auto_ptr array Pin
George_George1-Apr-08 23:14
George_George1-Apr-08 23:14 
GeneralRe: auto_ptr array Pin
CPallini1-Apr-08 23:49
mveCPallini1-Apr-08 23:49 
No George. You are wrong. Your code
int array[20] = {100};

initializes only the first element of the array (please make a test).
You can indeed apply the same syntax to an auto_ptr array.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


GeneralRe: auto_ptr array Pin
George_George2-Apr-08 1:14
George_George2-Apr-08 1:14 
GeneralRe: auto_ptr array Pin
Stephen Hewitt2-Apr-08 16:33
Stephen Hewitt2-Apr-08 16:33 
GeneralRe: auto_ptr array Pin
George_George3-Apr-08 0:01
George_George3-Apr-08 0:01 
GeneralRe: auto_ptr array Pin
ankita patel1-Apr-08 11:33
ankita patel1-Apr-08 11:33 
GeneralRe: auto_ptr array Pin
George_George1-Apr-08 19:42
George_George1-Apr-08 19:42 
GeneralInternationalization - Pin
kutti1-Apr-08 0:31
kutti1-Apr-08 0:31 
GeneralRe: Internationalization - Pin
_AnsHUMAN_ 1-Apr-08 0:53
_AnsHUMAN_ 1-Apr-08 0:53 
GeneralRe: Internationalization - Pin
kutti1-Apr-08 1:07
kutti1-Apr-08 1:07 
GeneralA Question about FindWindowEx Pin
Mushtaque Nizamani1-Apr-08 0:17
Mushtaque Nizamani1-Apr-08 0:17 
GeneralRe: A Question about FindWindowEx Pin
Iain Clarke, Warrior Programmer1-Apr-08 0:33
Iain Clarke, Warrior Programmer1-Apr-08 0:33 
GeneralRe: A Question about FindWindowEx Pin
Mushtaque Nizamani1-Apr-08 0:46
Mushtaque Nizamani1-Apr-08 0:46 
GeneralRe: A Question about FindWindowEx Pin
Iain Clarke, Warrior Programmer1-Apr-08 1:23
Iain Clarke, Warrior Programmer1-Apr-08 1:23 
GeneralRe: A Question about FindWindowEx Pin
CPallini1-Apr-08 1:39
mveCPallini1-Apr-08 1:39 
GeneralRe: A Question about FindWindowEx Pin
Mushtaque Nizamani1-Apr-08 1:47
Mushtaque Nizamani1-Apr-08 1:47 
GeneralOT: Iain cautious approach... Pin
CPallini1-Apr-08 2:06
mveCPallini1-Apr-08 2:06 
GeneralRe: OT: Iain cautious approach... Pin
Iain Clarke, Warrior Programmer1-Apr-08 3:10
Iain Clarke, Warrior Programmer1-Apr-08 3:10 
QuestionHow can I change the config of Windows services with a MFC program?? Pin
oceandeeplawrence1-Apr-08 0:10
oceandeeplawrence1-Apr-08 0:10 

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.