Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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,дһ¸öËÑË÷µÄÈí¼þ,Ö»»áÓÃ_filefirstº¯Êý£¬ÔõôÀ©Õ¹¿ªÀ´²»»á£¬±ÈÈç˵ָ¶¨Ä¿Â¼ÏÂËÑË÷£¬È«ÅÌËÑË÷Ö®ÀàµÄ¡£Ë­ÓÐдºÃµÄ£¬½èÎҲο¼Ï¡£¼ÌÐøÕÒʦ¸µ£¡£¡£¡ÓÐʦ¸µÊÕͽµÜÂ𣬾ö¶¨ÓÃÐÄѧ£¡£¡£¡

ÒýÓÃ
ÓÐÓùýMFCµÄCFileFindд¹ý
cÓïÑÔµÄûÕû¹ý£¬ÕÒµ½ÏÂÃæ´úÂ빩²Î¿¼
http://wangliping.net/c-file-find-out
Í·Îļþdir.hûÓÐ,º ......

ÐéÄâ»úÏÂlinuxÉÏÍøÎÊÌâ - C/C++ / ÐÂÊÖÀÖÔ°

ÎÒÓõÄÊÇVISTA£¬Ó÷ÓÉÆ÷ÉÏÍø£¬red_hat9.0Linux£¬
¿´ÁËÍøÉϸ÷ÖÖÉèÖ÷½·¨¶¼²»ÐУ¡¶øÇÒ£¡linuxÀïµÄÉ豸ÊDz»»îÔ¾£¡Ò²¾ÍÊǼ¤»î²»ÁË£¡Ôõô°ì£¿Ë­ÄÜÔÚÏßÊÖ°ÑÊֽ̽ÌÎÒ£¡ÉèÖÃÁ˺ܾã¡Õâ¸öÎÊÌ⣡À§ÈÅÎÒ²»ÐÐÁË£¡
redhat 9, LinuxÖеÄturboc 2.01

...
ifconfig ¿´Ò»ÏÂeth0 ¹¤×÷·ñ
/etc/init.d/ [dhcp] start

ºÃÏñÉè³Éͬ¸öÍø ......

linuxÄÚÁª»ã±àÖÐÊý×éµÄÑ°Ö·£¿ - C/C++ / C++ ÓïÑÔ

×î½üÏëÁ˽âÏÂÄÚÁª»ã±à£¬ÏëÒªÓÃÀ´²Ù×÷ÏÂÊý×éµÄʱºòÓöµ½Ð©À§ÄÑ¡£
ÎÒÁ˽⵽µÄһЩ·½·¨£º
C/C++ code:

int main()
{
//ÕâÖÖ·½·¨¿ÉÒÔµ¥¶À²Ù×÷Êý×éÖеÄÒ»¸ö
int a[10];
__asm__("movl $10, %0":"=m"(a[1]):);
//¶¯Ì¬ÉêÇëµÄ¿ÉÒÔÕâÑù²Ù×÷
int *b = (int*)malloc(10*sizeof(int));
......

CÎÊÌâ - C/C++ / CÓïÑÔ

#include <stdlib.h> /*ʹÓÃm a l l o c ( )ÐèÒª*/
#include<stdio.h>
struct data /*¶¨Òå½á¹¹Ìå*/
{
int day,month,year;
};
struct stu /*¶¨Òå½á¹¹Ìå*/
{
char name[20];
long num;
struct data birthday; /* ǶÌ׵ĽṹÌåÀàÐͳÉÔ±*/
};
void main() /*¶¨Òåm a i n ( )º¯Êý*/
{
stru ......

c cgi ÏÂÔØÎļþ - C/C++ / CÓïÑÔ

C/C++ code:

#include <stddef.h>
#include <stdio.h>
#include <sys/types.h>
#include <dirent.h>
#include <stdlib.h>
#include <string.h>
char *GetFileString(const char *path, long *fl)
{
char *buf = NULL; ......

c ÓïÑÔÀ︡µãÏà³Ë ΪʲôСÊýȫΪ0ÁË - C/C++ / CÓïÑÔ

ÈçÌâ:c ÓïÑÔÀ︡µãÏà³Ë ΪʲôСÊýȫΪ0ÁË
float x=8266.206055;
float y=7226.922363;
float z;
z=x*y;
z=59739228.000000;
ΪʲôµÃµ½µÄZ СÊýµãºóÃæȫΪ0ÁË
ºÇºÇ£¬³¬³ö¸¡µãÄܱíʾ·¶Î§ÁË¡£

Âé·³ÓÐÈËÖªµÀµÄ¸æËßÏ ÊÇʲôԭÒòÒýÆð£¬Ó¦¸ÃÔõô½â¾ö

float -> doubleÄØ?

¸ÄΪdouble ûʲô±ä»¯µÄ

ºÇºÇ£¬Â ......
×ܼǼÊý:629; ×ÜÒ³Êý:105; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [9] [10] [11] [12] 13 [14] [15] [16] [17] [18]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ