Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : c++

Çó½ÌC¸ßÊÖ£¬Ò»ÌâcÓïÑÔ³ÌÐò×÷Òµ£¡ - C/C++ / CÓïÑÔ

ÏÂÃæÒ»¶Î³ÌÐò»á²úÉúʲô½á¹û£¿ÎªÊ²Ã´£¿
void GetMemory(char *p,int num)
{
p = (char *)malloc(sizeof(char),num);
return;
}
int main()
{
char *str = NULL;
GetMemory(&str,100);
strcpy(str,"Helllo World.");
printf(str);
return 0;
}


¸ßÖÊÁ¿CÁÖÈñ¸½C++Ìâ
£¨1£©Äܹ»Êä³öHelllo W ......

ÓÃvs2008½«c´úÂëÉú³ÉdllÎļþ - C/C++ / CÓïÑÔ

ÎÒÏÖÔÚÓÃvs2008Éú³ÉÁËdllÎļþ£¬ µ«ÊÇÔÚµ÷ÓÃʱ£¬Èç¹û´«ÈëbyteÀàÐ͵Äֵʱ£¬ÈôÕâ¸öÖµ´óÓÚ0x80£¬ÔÚdll½ÓÊÕµ½µÄȷʵÕâ¸öÖµµÄ²¹Âë¡£ÎÒºÜÓôÃÆ£¬ÔÚÍøÉÏ¿´·¢ÏÖʱ˵±àÂëÎÊÌ⣬vs±àÒëÆ÷ÎÒ²»ÊìϤ£¬ÎÒÓõÄÊÇgcc±àÒëÆ÷£¬ÏÖÔÚÐèÒªÒ»¸ödll¶¯Ì¬¿â¡£Ö®Ç°Éú³É¹ý£¬Ò²Äܹ»Ó㬺ÃÏñÊÇÔÚvsÀïÐÞ¸ÄÒ»¸öºêÖµ£¡ÄÄλ´ó¸çÓùý£¬ÅθæÖª£¡Ð»Ð»£¡
ÄãµÄ½è¿ÚÊ ......

ÇóÓÃVC++Á¬½Óaccess¶ÁÈ¡´¦ÀíÊý¾Ý - VC/MFC / Êý¾Ý¿â

ÎÒÕâÀïÓÐÒ»¸öscore.mdbµÄaccessÊý¾Ý¿â¡£ÀïÃæÓпγ̡¢ÐÕÃû¡¢Ñ§ºÅ¡¢³É¼¨ËÄÏî¡£ÎÒÏëͨ¹ýVCÁ¬½ÓaccessÊý¾Ý¿â£¬²¢ÔÚVCÖеõ½0-59¡¢60-69¡¢70-79¡¢80-89¡¢90-100Õ⼸¸ö·ÖÊý¶ÎµÄÈËÊýºÍ×ÜÈËÊý¡£Ë­ÄÜ°ïæ¡£±¾È˲ËÄñ¡£Ï£ÍûÏêϸµã
¿´Àý×Ó°É£¡
http://download.csdn.net/source/1070271
×Ô¼ºÏÂÔØ£¡
·Ö¶ÎÊý¡¢×ÜÊý£¬¶¼ÊÇSQLÓï¾ä¿ÉÒÔ¸ã ......

C++Builder6Öпª·¢CÎÊÌâ - C/C++ / CÓïÑÔ

NÄêǰѧ¹ýC,µ«Ò»Ö±²»ÊÇÓÃC¿ª·¢,ÏëÖØÐÂÈÏʶһÏÂC.ÎÒÔÚC++Builder6ÖÐCÔËÐкóΪʲôûÓпØÖÆ̨Êä³ö?»¹ÓÐΪʲôûÉú³É¿ÉÖ¸ÐÐÎļþ.¾ÍÒ»¸öhello¶¼²»ÄÜÊä³ö(¿ØÖÆ̨).¿ØÖÆ̨¸ù±¾²»ÏÔʾ...
Ï£ÍûÖªµÀµÄ½øÀ´ËµÒ»ÏÂ.лл...

ûÓùýc++builder,°ï¶¥

ÎÒҲûÓùý,°ïÏî

Ê×ÏÈÈ·¶¨ÄãµÄ¹¤³ÌÀàÐÍÊÇconsole
Æä´Î¿ÉÒÔÔÚreturn 0֮ǰÊÔÊ ......

C main º¯ÊýÓжàÉÙÖÖ´ú²ÎÊýµÄÐÎʽ£¿ - C/C++ / CÓïÑÔ

ÈçÌ⣬ Ò»´Î±ÊÊÔʱ±»Îʵ½µÄ¡£ ÎҼǵóýÁË void , argc argv Í⻹ÓÐÒ»ÖÖ´øÓÐÈý¸ö²ÎÊýµÄÐÎʽ ¾ßÌåÔÚÄÄ¿´¹ýÍüÁË...
¸ßÊÖ³öÀ´ËµËµ¶¼ÓÐʲôÐÎʽµÄ£¿
int main( int argc, char *argv[ ], char *envp[ ] );
Ç°Á½¸ö²ÎÊý±ê×¼¹æ¶¨µÄ£¬µÚÈý¸öÊDZàÒëÆ÷À©Õ¹µÄ

¶÷¡£ ºÃÏñÓиöʲô char* env£¬²»¼ÇµÃÁË¡£

int main( int argc, c ......

C Ëã·¨ÎÊÌâ Çó½×³Ë×îºó·ÇÁãλ - C/C++ / CÓïÑÔ

[code=C/C++][/code]
#include <string.h>
#define MAXN 10000
int lastdigit(char* buf)
{
const int mod[20]={1,1,2,6,4,2,2,4,2,8,4,4,8,4,6,8,8,6,8,2};
int len=strlen(buf),a[MAXN],i,c,ret=1;
if (len==1)
return mod[buf[0]-'0'];
for (i=0;i<len;i++)
a[i]=buf[len-1-i]-'0'; ......
×ܼǼÊý:629; ×ÜÒ³Êý:105; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [8] [9] [10] [11] 12 [13] [14] [15] [16] [17]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ