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

Cµ÷ÓöԻ°¿ò

#include "windows.h"
void main()
{
MessageBox(NULL, "ÄãºÃ°¡£¡", "Ìáʾ", MB_OK);
return 0;

}

ͨ¹ýwindows.hÎļþµ÷ÓÃwindows×Ô´øµÄapiº¯ÊýMessageBox£¬À´Íê³ÉÌáʾ¿ò£¬Ð§¹û°ô
null±íʾ¸½ÊôµÄ´°ÌåΪ¿Õ
MB_OK±íʾ¶Ô»°¿òµÄÀàÐÍ


Ïà¹ØÎĵµ£º

linux CʹÓùܵÀͨÐÅ£¨Ò»£©

 LinuxÖеĽø³ÌͨÐÅ
1.¹ÜµÀ
   º¯ÊýÔ­ÐÍ£ºint pipe(int filedes[2]);
   º¯Êý·µ»ØÖµ£º ÕýÈ··µ»Ø0£»´íÎó·µ»Ø-1
   ÆäÖеÄÎļþÃèÊö·ûfiledes[0]ÊÇÓÃÀ´¶ÁÈ¡Êý¾ÝµÄ£¬filedes[1]ÊÇÓÃÀ´Ð´Êý¾ÝµÄ¡£
Àý×Ó1£º
#include<stdio.h>
#include<stdlib.h>
#include<u ......

ÇåÀíCÅÌ´ó¹¥ÂÔ——Á¢¼´¼ûЧ


1.´ò¿ª“ÎҵĵçÄÔ”-“¹¤¾ß”-“Îļþ¼ÐÑ¡Ïî”-“²é¿´”-ÔÚ“ÏÔʾËùÓÐÎļþºÍÎļþ¼Ð”Ñ¡ÏîÇ°´ò¹´-“È·¶¨” 
2.ɾ³ýÒÔÏÂÎļþ¼ÐÖеÄÄÚÈÝ£º 
x:\\Documents and Settings\\Óû§Ãû\\Cookies\\ϵÄËùÓÐÎļþ(±£ÁôindexÎļþ) 
x:\\Documents and S ......

C/C++Ö¸Õë

×î½ü¹¤×÷²»½ô£¬³é¿Õ¿´ÁËÏÂC¡¢C++µÄÖ¸Õ룬·¢ÏÖÁËһЩƽʱûעÒâµ½µÄÖ¸ÕëÓ÷¨ºÍÎÊÌâ¡£
1¡¢Ö¸ÕëÒýÓÃ
void func1£¨MYCLASS* &pBuildingElement£©£»
Õ§Ò»¿´£¬¹Ö¹ÖµÄ£¬¿´ÁËϽâÊÍ£¬Ï¸ÏëһϺÍÖ¸ÕëµÄÖ¸ÕëÀàËÆ£º
void func1£¨MYCLASS** pBuildingElement£©£»
¿´ÏÂÃæµÄÀý×Ó£º
...
MyClass* p = new MyClass;
func1(p);
......

python,c++,C#Ëæ»úÊýÉú³É

ÏÈ˵python
pythonµÄrandomÄ£¿éÌṩÁ˶à¸öαËæ»úÊý·¢ÉúÆ÷£¬Ä¬È϶¼ÊÇÓõ±Ç°Ê±¼ä´ÁΪËæ»úÊýÖÖ×Ó¡£
ÏÂÃæÊǸÃÄ£¿é¼¸¸ö×î³£Óõĺ¯Êý
random() Return the next random floating point number in the range [0.0, 1.0). 
randint(a,b) Return a random integer N such that a <=
N <= b
randrange([star ......

¹úº½¿Í»õÔËÔö³¤¾¢ ÂòCÂÖ21285


   ¹Û²ì¹ýÈ¥Ò»ÖܺãָţÐÜÖ¤µÄ×ʽðÁ÷Ïò£¬ÆÚ¼ä·Ö±ðÔ¼ÓÐ1800ÍòºÍ850ÍòÔª×ʽð淨Á÷Èëºãָţ֤ºÍÐÜÖ¤£¬ÏÔʾ´óÊÐÔÚ21000µã¹Ø¿ÚÖÁ100ÌìÏßÔ¼21500µã¸½½üÕ­·ùÉÏÂäÆڼ䣬¿´ºÃºÍ¿´å£Á½·½Ã涼ÓÐÖ§³ÖÕߣ¬Î©ÆÕ±éÒÔ¶ÌÏßÂòÂôΪÖ÷¡£µ±´óÊлØÊÔ21000µã¹Ø¿Ú¸½½üʱ£¬Êг¡ÉϵÄÐÜÖ¤³Ö²Ö¼õÉÙ£¬¶øÅ£Ö¤Ôò¼û×ʽðÁ÷È룻µ±´óÊÐÉý½ü100Ì ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ