Click here to Skip to main content
15,894,405 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to automatically add lines and scroll in CEdit? Pin
Rostfrei29-Jan-06 22:12
Rostfrei29-Jan-06 22:12 
AnswerRe: How to automatically add lines and scroll in CEdit? Pin
Owner drawn29-Jan-06 22:06
Owner drawn29-Jan-06 22:06 
AnswerRe: How to automatically add lines and scroll in CEdit? Pin
David Crow30-Jan-06 3:12
David Crow30-Jan-06 3:12 
QuestionChecking if a user is in a group Pin
kelprinc29-Jan-06 21:12
kelprinc29-Jan-06 21:12 
AnswerRe: Checking if a user is in a group Pin
David Crow30-Jan-06 3:25
David Crow30-Jan-06 3:25 
GeneralRe: Checking if a user is in a group Pin
kelprinc30-Jan-06 3:30
kelprinc30-Jan-06 3:30 
Questiondetecting file access Pin
_kane_29-Jan-06 20:41
_kane_29-Jan-06 20:41 
AnswerRe: detecting file access Pin
Stephen Hewitt29-Jan-06 21:41
Stephen Hewitt29-Jan-06 21:41 
GeneralRe: detecting file access Pin
_kane_29-Jan-06 21:48
_kane_29-Jan-06 21:48 
QuestionImage selection Pin
_anil_29-Jan-06 20:31
_anil_29-Jan-06 20:31 
AnswerRe: Image selection Pin
PJ Arends29-Jan-06 20:47
professionalPJ Arends29-Jan-06 20:47 
GeneralRe: Image selection Pin
_anil_29-Jan-06 20:55
_anil_29-Jan-06 20:55 
GeneralRe: Image selection Pin
_anil_29-Jan-06 21:37
_anil_29-Jan-06 21:37 
QuestionHow to transfer IStream into IDataObject Pin
saravana pandy29-Jan-06 20:23
saravana pandy29-Jan-06 20:23 
Questionwhat is the size of a empty class? Pin
vikas amin29-Jan-06 20:11
vikas amin29-Jan-06 20:11 
AnswerRe: what is the size of a empty class? Pin
Owner drawn29-Jan-06 20:17
Owner drawn29-Jan-06 20:17 
AnswerRe: what is the size of a empty class? Pin
Laxman929-Jan-06 21:26
Laxman929-Jan-06 21:26 
GeneralRe: what is the size of a empty class? Pin
vikas amin29-Jan-06 21:56
vikas amin29-Jan-06 21:56 
GeneralRe: what is the size of a empty class? Pin
Laxman930-Jan-06 0:50
Laxman930-Jan-06 0:50 
AnswerRe: what is the size of a empty class? Pin
toxcct30-Jan-06 0:44
toxcct30-Jan-06 0:44 
AnswerRe: what is the size of a empty class? Pin
David Crow30-Jan-06 3:40
David Crow30-Jan-06 3:40 
Question2-dimensional arrays Pin
eivanlo29-Jan-06 19:06
eivanlo29-Jan-06 19:06 
AnswerRe: 2-dimensional arrays Pin
Owner drawn29-Jan-06 19:16
Owner drawn29-Jan-06 19:16 
eivanlo wrote:
Is (0, 0) the index number of A?


No It's (1,1)


eivanlo wrote:
Is (1, 0) the index number of B?


No It's (1,2)


eivanlo wrote:
Is (0, 1) the index number of C?


No it's (2,1)

eivanlo wrote:
If so, how can I put, let's say, the index number of A(0, 0) into a temporary variable for swapping with the "hole"(1, 1)?


int temp = nArray[1][1];//for A
nArray[1][1] = nArray[2][1];//stores the element at (2,1) at (1,1)
nArray[2][1] = temp;//now (2,1) has (1,1)'s value


Jesus LovesRose | [Rose]
<marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#99ccff;border-bottom:thin solid 1px #6699cc">
--Owner DrawnRose | [Rose]
--Defeat is temporary but surrender is permanent
--Jesus is LordRose | [Rose]

GeneralRe: 2-dimensional arrays Pin
eivanlo29-Jan-06 19:26
eivanlo29-Jan-06 19:26 
GeneralRe: 2-dimensional arrays Pin
Owner drawn29-Jan-06 19:28
Owner drawn29-Jan-06 19: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.