Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

array.c File Reference

Go to the source code of this file.

Functions

 f ()
 g (x, y)
 main ()

Variables

int x [3][4]
int * y [3]


Function Documentation

f  ) 
 

Definition at line 22 of file array.c.

References i, j, printf(), x, and y.

Referenced by f(), f2(), f3(), h(), main(), and onearg().

00022     {
00023     int i, j;
00024 
00025     for (i = 0; i < 3; i++)
00026         for (j = 0; j < 4; j++)
00027             printf(" %d", x[i][j]);
00028     printf("\n");
00029     for (i = 0; i < 3; i++)
00030         for (j = 0; j < 4; j++)
00031             printf(" %d", y[i][j]);
00032     printf("\n");
00033 }

Here is the call graph for this function:

g ,
y 
 

Definition at line 35 of file array.c.

References i, j, printf(), x, and y.

Referenced by CG_EntityEffects(), cmyk_ycck_convert(), ColorBytes3(), ColorBytes4(), constant(), Draw_ClearWindow(), GLimp_SetGamma(), Group_Add(), Group_AddToProperGroup(), Group_Alloc(), Group_ForName(), Group_Init(), Group_Save(), huft_build(), InitMover(), CGroupDlg::OnBtnAdd(), R_ColorShiftLightingBytes(), R_CreateFogImage(), R_LevelShot(), R_LoadLightmaps(), R_SetColorMappings(), RE_AddAdditiveLightToScene(), RE_AddLightToScene(), rgb_gray_convert(), rgb_ycc_convert(), s241(), Texture_InitPalette(), trap_R_AddAdditiveLightToScene(), trap_R_AddLightToScene(), UI_StartSkirmish(), WG_CheckHardwareGamma(), yuv_to_rgb(), and yuv_to_rgb24().

00037 {
00038     int i, j;
00039 
00040     for (i = 0; i < 3; i++)
00041         for (j = 0; j < 4; j++)
00042             printf(" %d", x[i][j]);
00043     printf("\n");
00044     for (i = 0; i < 3; i++)
00045         for (j = 0; j < 4; j++)
00046             printf(" %d", y[i][j]);
00047     printf("\n");
00048 }

Here is the call graph for this function:

main  ) 
 

Definition at line 3 of file array.c.

References f(), g(), i, j, p, x, y, and z.

00003        {
00004     int z[3][4];
00005     int i, j, *p;
00006 
00007     for (i = 0; i < 3; i++) {
00008         for (j = 0; j < 4; j++)
00009             x[i][j] = 1000*i + j;
00010         y[i] = x[i];
00011     }
00012     f();
00013     for (i = 0; i < 3; i++) {
00014         y[i] = p = &z[i][0];
00015         for (j = 0; j < 4; j++)
00016             p[j] = x[i][j];
00017     }
00018     g(z, y);
00019     return 0;
00020 }

Here is the call graph for this function:


Variable Documentation

int x[3][4]
 

Definition at line 1 of file array.c.

int * y[3]
 

Definition at line 1 of file array.c.


Generated on Thu Aug 25 15:57:04 2005 for Quake III Arena by  doxygen 1.3.9.1