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

clock_gettimeÊDz»ÊÇlinux϶ÀÓеĺ¯Êý£¿

ÔÚvc++µÄhelpÏÂûÓÐËѵ½Õâ¸öÃüÁÊDz»ÊÇÕâÊÇlinux϶ÀÓеĺ¯Êý£¿»¹ÓУ¬Äܸø¼¸¸öc++ linux»·¾³µÄ°ïÖúÍøÕ¾²»£¿×îºÃÊÇÖÐÎĵÄ
MSDNÉÏûÓÐÓ¦¸Ã¾ÍûÓÐÁË¡£
linuxÏÂ×îºÃÓÃman°¡

vimÀ¹â±êÒƶ¯µ½ÐèÒªhelpµÄÃû×ÖÉÏ£¬K
Èç¹ûÐèÒªÖ¸¶¨section£¬ÄǾÍÊÇ  section_number K

manpages, manpages-dev, posix-doc, gcc-docµÈµÈ£¬°ÑÕâЩװÉÏ

ÔÚÖÕ¶ËÊäÈ룺man clock_gettime¾Í¿ÉÒÔÖªµÀÁË£¡
Òª²»Ò²¿ÉÒÔÉϺìÁª£ºhttp://www.linux110.com»òÕß¿ªÔ´ÉçÇøhttp://www.lupaworld.com/ÕâÁ½¸ö¶¼²»´íŶ£¡


Ïà¹ØÎÊ´ð£º

Çë½Ì¹ØÓÚLinuxµÄiptablesµÄnat

192.168.0.201ÊÇLinux
192.168.0.35ÊÇÁíÍâһ̨װÓÐWEBµÄ·þÎñÆ÷£¬
ÎÒÏë·ÃÎÊ192.168.0.201µÄʱºò
ÈÃËûnatµ½192.168.0.35µÄ80ÉÏ¡£
ÒÔÏÂÊÇÎÒÉèÖõģ¬µ«ÊDz»ÐС£Ó¦¸ÃÔõôÉèÖÃѽ£¿

root@ubuntu:/h ......

Çë½Ì¼¸¸ölinuxÃüÁîµÄÎÊÌâ¡£

д³öÍê³ÉÒÔϹ¦ÄܵÄLinuxÃüÁî:
1) ÔÚµ±Ç°Ä¿Â¼¼°Æä×ÓĿ¼ËùÓеÄ.cppÎļþÖвéÕÒ×Ö·û´®"example", ²»Çø·Ö´óСд;
2) ʹÓÃsedÃüÁî, ½«ÎļþxyzÖеĵ¥´ÊAAAÈ«²¿Ì滻ΪBBB;
3) ÓÃÒ»ÌõÃüÁî´´½¨aa bb ccÈ ......

linux³ÌÐò´ò²»¿ªÍ·Îļþ

#include <fcnt1.h>
#include <stdio.h>
#include <stdlib.h>

int main(int argc,char *argv[])
{
  int fd_open,fd_open_create,fd_create;
  if((fd_open=o ......

Linux±à³Ì--fopenº¯ÊýµÄÓ÷¨£¿

ÇëÎʸ÷λ¸ßÊÖ£ºC±à³ÌÖеÄfopenº¯Êý,Ô­ÐÍÊÇ fopen(const char *filename,const char mode),ÇëÎÊÔÚʹÓÃÕâ¸öº¯Êýʱ£¬ÒªÏë´ÓLinuxÖÕ¶ËÊäÈëÎļþÃûºÍmode£¬¸ÃÈçºÎ´¦Àí£¿Ð»Ð»£¡£¡

          ......

ÈçºÎÔÚLinuxÏ°²×°cuda visual profiler

ÇëÎÊÏÂÔØLinuxÏÂÔõô°²×°cuda visual profiler°¡£¿
ÁíÍ⣬ÎÒÖ»ÏÂÔص½1.0°æ±¾µÄprofiler£¬Ã»ÕÒµ½2.2°æ±¾µÄ£¨ÎÒÓõÄcudaÊÇ2.2°æ±¾µÄ£©£¬²»ÖªµÀÈ¥ÄĶùÏÂÔØ£¿
¶àл£¡

ÎÒÖªµÀÁË£¬ÆäʵÔÚ°²×°cudaµÄʱºò¾ÍÒѾ­×°ÁË ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ