Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C Ö¸Õë

#include
void printptr(int *i){
printf("&i of printfptr = %#X\n",&i);
printf("i of printfptr = %#X\n",i);
printf("*i of printfptr = %d\n",*i);
printf("i+1 of printfptr = %#X\n",i+1);
printf("*(i + 1) of printfptr = %d\n",*(i+1));
}
void printptr2(int *i,int j){
printf("&i of printfptr2 = %#X\n",&i);
printf("i of printfptr2 = %#X\n",i);
printf("*i of printfptr2 = %d\n",*i);
printf("i+1 of printfptr2 = %#X\n",i+1);
printf("*(i + 1) of printfptr2 = %d\n",*(i+1));
}
void printptr3(int *i){
printf("&i of printfptr3 = %#X\n",&i);
printf("i of printfptr3 = %#X\n",i);
printf("*i of printfptr3 = %d\n",*i);
printf("i+1 of printfptr3 = %#X\n",i+1);
printf("*(i + 1) of printfptr3 = %d\n",*(i+1));
}
void printptr4(int *i,int j){
printf("&i of printfptr4 = %#X\n",&i);
printf("i of printfptr4 = %#X\n",i);
printf("*i of printfptr4 = %d\n",*i);
printf("i+1 of printfptr4 = %#X\n",i+1);
printf("*(i + 1) of printfptr4 = %d\n",*(i+1));
}
void printptr5(int **i){
printf("&i of printfptr5 = %#X\n",&i);
printf("i of printfptr5 = %#X\n",i);
printf("*i of printfptr5 = %d\n",*i);
printf("i+1 of printfptr5 = %#X\n",i+1);
printf("*(i + 1) of printfptr5 = %d\n",*(i+1));
printf("**i of printfptr5 = %d\n",**i);
printf("*(*i+1) of printfptr5 = %d\n",*(*i+1));
printf("**(i+1) of printfptr5 = %d\n",**(i+1));
}
void printptr6(int **i){
printf("&i of printfptr6 = %#X\n",&i);
printf("i of printfptr6 = %#X\n",i);
printf("*i of printfptr6 = %d\n",*i);
printf("i+1 of printfptr6 = %#X\n",i+1);
printf("*(i + 1) of printfptr6 = %d\n",*(i+1));
print


Ïà¹ØÎĵµ£º

entry point to c/c++ or Fortran MEX file

http://www.mathworks.com/access/helpdesk/help/techdoc/apiref/mexfunction.html
mexFunction (C and Fortran) -
Entry point to C/C++ or Fortran MEX-file
C Syntax
#include "mex.h"
void mexFunction(int nlhs, mxArray *plhs[], int nrhs,
const mxArray *prhs[]);
Fortran
Syntax
subrouti ......

C/C++Îļþ²Ù×÷[×ªÔØ]

ÕÆÎÕÎı¾Îļþ¶ÁдµÄ·½·¨
Á˽â¶þ½øÖÆÎļþµÄ¶Áд·½·¨
C++ÎļþÁ÷£º
fstream¡¡¡¡// ÎļþÁ÷
ifstream¡¡ // ÊäÈëÎļþÁ÷
ofstream¡¡ // Êä³öÎļþÁ÷
//´´½¨Ò»¸öÎı¾Îļþ²¢Ð´ÈëÐÅÏ¢
//ͬÏòÆÁÄ»ÉÏÊä³öÐÅÏ¢Ò»Ñù½«ÐÅÏ¢Êä³öÖÁÎļþ
#include<iomanip.h>
#include<fstream.h>
void main()
{
¡¡¡¡ofstream f1("d:\\ ......

ÔÚcÖÐÈçºÎʵÏּ̳еÄЧ¹û

http://topic.csdn.net/u/20100413/09/ffc0fcd5-c3c1-4a15-b5a2-f1bf65f50caa.html?21874
C/C++ code
typedef struct _VSCSIDISK_COMMON_DEVICE_EXTENSION
{
BOOLEAN IsPdo;
} VSCSIDISK_COMMON_DEVICE_EXTENSION, *PVSCSIDISK_COMMON_DEVICE_EXTENSION;

typedef struct _VSCSIDISK_PDO_DEVI ......

dz̸c³ÌÐòº¯Êýµ÷Óùý³Ì

¹Ø¼ü´Ê£º
Õ»Çø£º¾ÍÊÇÒ»¸öÄÚ´æµØÖ·¿Õ¼ä£¬Ã¿µ÷ÓÃÒ»´Îº¯Êý¾Í»áÔÚÕ»ÇøÎª´Ëº¯Êý·ÖÅäÒ»¶Î¿Õ¼ä£¨Ö÷ÒªÓÃÓÚ´æ´¢¾Ö²¿±äÁ¿£¬
´Ë¶Î¿Õ¼äÏÂÃæ¾ÍÖ±½Ó¶¨ÒåΪº¯ÊýÕ»£©
ebp :ÓÃÓÚ´æ·Åº¯ÊýÕ»µÄÕ»¶¥µØÖ·
esp:ÓÃÓÚ´æ·Å´Ëº¯ÊýÕ»µÄÕ»µ×µØÖ·
×¢Ò⣺ջ¶¥µØÖ·´óÓÚÕ»µ×µØÖ·£¬Õ»ÊÇ´ÓÕ»¶¥ÏòÕ»µ×Ôö³¤¡£¼´ebp-->esp;
ÏÂÃæÎÒÃÇ·ÖÎöÈçÏ´úÂëÀý×Ó£¬¿´ ......

linuxÏÂC/C++IDE±È½Ï——Code::Blocks

×ªÔØÇë×¢Ã÷³ö´¦£º±à³Ì±Ê¼ÇBLOG
¹¤ÓûÉÆÆäÊ£¬±ØÏÈÀûÆäÆ÷¡£ÓÃÁËÕâô¾ÃµÄlinux£¬ÏÖÔڱȽÏÖ÷Á÷µÄ¼¸¸öC/C++µÄIDE»ù±¾ÒѶ¼ÓùýÁË£¬ÏÖÔÚÀ´¶ÔËûÃÇ×öһϼòµ¥µÄ±È½Ï¡£
1¡¢VIM
Ê×ÏÈҪ˵µÄÊÇVIM¡£ÎÒÈÏΪ£¬VIMÖ»ÊÇÒ»¸ö±à¼­Æ÷£¬²»ÄÜËãÊÇIDE¡£Ëä˵VIMÓкܶà²å¼þ£¬ÀýÈç´úÂëÕÛµþ¡¢µÝ½øµÈ£¬¿ÉÒÔ½«VIM×齨³É¼¸ºõÀàËÆÒ»¸öIDE£¬µ«Ê¼ÖÕËü²»ÊÇ× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ