Click here to Skip to main content
15,887,420 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I know which item is selected ? Pin
Hans Dietrich11-Mar-11 13:12
mentorHans Dietrich11-Mar-11 13:12 
GeneralRe: How can I know which item is selected ? Pin
_Flaviu11-Mar-11 20:29
_Flaviu11-Mar-11 20:29 
GeneralRe: How can I know which item is selected ? Pin
_Flaviu11-Mar-11 20:37
_Flaviu11-Mar-11 20:37 
QuestionHow can create heading and format cell text in excel? Pin
Le@rner10-Mar-11 23:38
Le@rner10-Mar-11 23:38 
AnswerRe: How can create heading and format cell text in excel? Pin
Richard MacCutchan10-Mar-11 23:56
mveRichard MacCutchan10-Mar-11 23:56 
AnswerRe: How can create heading and format cell text in excel? Pin
Cool_Dev11-Mar-11 0:10
Cool_Dev11-Mar-11 0:10 
QuestionCopying From Single Dimension Array To Multiple Dimension Array Pin
Mike Certini10-Mar-11 15:06
Mike Certini10-Mar-11 15:06 
AnswerRe: Copying From Single Dimension Array To Multiple Dimension Array Pin
chevu10-Mar-11 17:30
chevu10-Mar-11 17:30 
Are trying to transfer content of arr to arr3, right? But I am not able to see any memory allocation for arr3... You have to allocate some memory.. The way you are doing wont be safe in terms of memory pointer usage..

You can do something like this...

case 1: assigning direct pointer of arr to arr3
arr3 = new int[SIZE];
/* for loop with i*/
arr3[i] = &(arr[UPTO_SIZE])

case 2: copyinh content of arr to arr3
arr3 = new int[SIZE];
/* for loop upto size */
 arr3[i] = new int[size2]

/* copy logic from arr to arr3*/



I hope you can add proper code in this logic... As we cannot complete your assignment... Big Grin | :-D
GeneralRe: Copying From Single Dimension Array To Multiple Dimension Array Pin
Mike Certini10-Mar-11 17:51
Mike Certini10-Mar-11 17:51 
AnswerRe: Copying From Single Dimension Array To Multiple Dimension Array Pin
chevu10-Mar-11 18:11
chevu10-Mar-11 18:11 
AnswerRe: Copying From Single Dimension Array To Multiple Dimension Array Pin
Richard MacCutchan10-Mar-11 22:38
mveRichard MacCutchan10-Mar-11 22:38 
AnswerRe: Copying From Single Dimension Array To Multiple Dimension Array Pin
Stefan_Lang11-Mar-11 2:18
Stefan_Lang11-Mar-11 2:18 
QuestionRe: Copying From Single Dimension Array To Multiple Dimension Array Pin
David Crow11-Mar-11 2:49
David Crow11-Mar-11 2:49 
QuestionData Structure library Pin
pandit8410-Mar-11 2:32
pandit8410-Mar-11 2:32 
AnswerRe: Data Structure library Pin
Richard MacCutchan10-Mar-11 3:30
mveRichard MacCutchan10-Mar-11 3:30 
GeneralRe: Data Structure library Pin
pandit8410-Mar-11 23:39
pandit8410-Mar-11 23:39 
GeneralRe: Data Structure library Pin
Richard MacCutchan10-Mar-11 23:52
mveRichard MacCutchan10-Mar-11 23:52 
QuestionProblems with MFCTabCtrl/MDITabbedControl Pin
Dansveen10-Mar-11 2:27
Dansveen10-Mar-11 2:27 
QuestionHandle leaks in WinSock - WIndows Application (MFC) Pin
chevu10-Mar-11 1:09
chevu10-Mar-11 1:09 
AnswerRe: Handle leaks in WinSock - WIndows Application (MFC) Pin
Niklas L10-Mar-11 20:58
Niklas L10-Mar-11 20:58 
GeneralRe: Handle leaks in WinSock - WIndows Application (MFC) Pin
chevu10-Mar-11 21:33
chevu10-Mar-11 21:33 
AnswerRe: Handle leaks in WinSock - WIndows Application (MFC) Pin
bob1697211-Mar-11 1:54
bob1697211-Mar-11 1:54 
GeneralRe: Handle leaks in WinSock - WIndows Application (MFC) Pin
chevu11-Mar-11 2:34
chevu11-Mar-11 2:34 
GeneralRe: Handle leaks in WinSock - WIndows Application (MFC) Pin
bob1697211-Mar-11 3:10
bob1697211-Mar-11 3:10 
Questionhow to fastforward in directshow Pin
raj157610-Mar-11 1:01
raj157610-Mar-11 1:01 

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.