Click here to Skip to main content
15,905,323 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reading a file into an array Pin
jonsey2984717-Feb-08 10:31
jonsey2984717-Feb-08 10:31 
GeneralRe: Reading a file into an array Pin
Rajkumar R17-Feb-08 18:22
Rajkumar R17-Feb-08 18:22 
GeneralRe: Reading a file into an array Pin
jonsey2984718-Feb-08 11:34
jonsey2984718-Feb-08 11:34 
GeneralRe: Reading a file into an array Pin
jonsey2984718-Feb-08 11:36
jonsey2984718-Feb-08 11:36 
QuestionEmbed a CToolBar within a CDialogBar Pin
jeffb4216-Feb-08 4:45
jeffb4216-Feb-08 4:45 
Questionfunctions with 2d array argument Pin
Adnan Merter16-Feb-08 4:18
Adnan Merter16-Feb-08 4:18 
QuestionRe: functions with 2d array argument Pin
CPallini16-Feb-08 4:39
mveCPallini16-Feb-08 4:39 
GeneralRe: functions with 2d array argument Pin
Adnan Merter16-Feb-08 5:24
Adnan Merter16-Feb-08 5:24 
i have an array like x[5][5]
and i need to use it as an argument in my function i know how i use 1d array. i can it by using pointers.

void display (int *p, int size)<br />
{<br />
	int i;<br />
<br />
	for (i = 0; i < size; ++i)<br />
		printf("%-5d%-5d \n", p[i],&p[i]);<br />
}<br />
<br />
int main()<br />
{<br />
	int a[5] = {3, 8, 7, 6, 10};<br />
<br />
	display(a, 5);<br />
return 0;<br />
}


but i dont know how ican use 2d arrays
GeneralRe: functions with 2d array argument Pin
CPallini16-Feb-08 6:46
mveCPallini16-Feb-08 6:46 
Generalsimulate ctrl+alt+delete keys in windows Pin
Abdul_khaliq_16-Feb-08 2:27
Abdul_khaliq_16-Feb-08 2:27 
GeneralRe: simulate ctrl+alt+delete keys in windows Pin
Baltoro17-Feb-08 10:13
Baltoro17-Feb-08 10:13 
GeneralBorderless ComboBox Pin
Humayun Kabir Hemoo16-Feb-08 0:24
Humayun Kabir Hemoo16-Feb-08 0:24 
GeneralRe: Borderless ComboBox Pin
Mark Salsbery17-Feb-08 8:47
Mark Salsbery17-Feb-08 8:47 
GeneralRe: Borderless ComboBox Pin
Humayun Kabir Hemoo18-Feb-08 4:15
Humayun Kabir Hemoo18-Feb-08 4:15 
GeneralRe: Borderless ComboBox Pin
Mark Salsbery18-Feb-08 5:54
Mark Salsbery18-Feb-08 5:54 
GeneralRe: Borderless ComboBox Pin
Humayun Kabir Hemoo18-Feb-08 13:55
Humayun Kabir Hemoo18-Feb-08 13:55 
GeneralRe: Borderless ComboBox Pin
Hamid_RT18-Feb-08 7:35
Hamid_RT18-Feb-08 7:35 
GeneralRe: Borderless ComboBox Pin
Humayun Kabir Hemoo18-Feb-08 13:54
Humayun Kabir Hemoo18-Feb-08 13:54 
GeneralRe: Borderless ComboBox Pin
Hamid_RT18-Feb-08 19:35
Hamid_RT18-Feb-08 19:35 
Generalprocess output Pin
bhat15-Feb-08 23:30
bhat15-Feb-08 23:30 
GeneralRe: process output Pin
BadKarma16-Feb-08 0:11
BadKarma16-Feb-08 0:11 
GeneralRe: process output Pin
Rajesh R Subramanian16-Feb-08 4:32
professionalRajesh R Subramanian16-Feb-08 4:32 
GeneralRe: process output Pin
Rajkumar R16-Feb-08 6:49
Rajkumar R16-Feb-08 6:49 
GeneralRe: process output Pin
Rajesh R Subramanian16-Feb-08 4:31
professionalRajesh R Subramanian16-Feb-08 4:31 
GeneralRedirect Output in Edit Box in VC++ Pin
bhat15-Feb-08 20:46
bhat15-Feb-08 20:46 

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.