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

c´úÂë¾À´í ¼±¼±£¡£¡ - Linux/UnixÉçÇø / ³ÌÐò¿ª·¢Çø

ÎҵijÌÐòʵÏÖµÄÊÇ:Ñ­»·Ð£ÑéÂëµÄÉú³É ÒÔ¼° УÑé

µ«ÊÇ ·¢ÏÖÔÚlinux»·¾³Ï Ôõô²»³öÏÖ½á¹û°¡? ¹â±êÉÁÉÁµÄ¾ÍÊDz»³öÏÖ½á¹û 

»¹Íû¸ßÊÖ Ö¸µã Ç××ÔÔËÐÐÒ»ÏÂ

Õâ¸öÎÊÌâÒѾ­¾À½áÎҺþÃÁË

Íò·Ö¸Ðл

´úÂëÈçÏ£º

#include <stdio.h>
#include <string.h>


typedef struct 
{
  unsigned char data[16];
  short checksum;
} dataset; /***·Ö×éÖеÄ16¸ö8λÊý***/

typedef struct
{
  short flag;
  dataset data[6];
} ft3frame; /***ft3Ö¡¸ñʽ****/

short GetCheckSum(char *data1,int num) /**УÑéÂë¼ÆËã**/
{
  int i,j,k,x1,x2;
  unsigned char temp[18];
  for(i=0;i<num;i++)
  temp[i+2]=data1[i];
  temp[0]=temp[1]=0;
  x1=0x13d65;
  k=num*8+1; /**kÓÃÀ´¿ØÖÆÒƶ¯µÄ´ÎÊý**/
  do
  {
  x2=(temp[0]<<24)+(temp[1]<<16)+(temp[2]<<8)+temp[3];
  if(x2<0x10000)
  {
  for(i=0;i<18;i++)
  {
  temp[i]=temp[i]<<1+temp[i+1]>>7;
  }
  k--;
  }
  else
  {
  x2=


Ïà¹ØÎÊ´ð£º

execlÔõôµ÷ÓÃjava³ÌÐò - C/C++ / CÓïÑÔ

ÈçÌ⣬C/C++ÖеÄexeclÔõôµ÷ÓÃдºÃµÄjava³ÌÐò£¬
execl("/opt/java1.5/bin/java","MyClass",NULL);
ÕâÑùµÄ²»ÐÐŶ¡£

²»»á.

ÔËÐÐjava³ÌÐò
ÕÒ¹¤¾ß²é¿´Ò»ÏÂÄǸö³ÌÐòµÄÃüÁîÐÐ

ËÑË÷Ï£ºjni ......

C/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý - C/C++ / C++ ÓïÑÔ

´ó¼ÒºÃ£º
ÎÒÏëʵÏÖ¼ì²âµ½²åÈëSD¿¨ºó×Ô¶¯½«SD¿¨¸ñʽ»¯µÄ¹¦ÄÜ£¬²»ÖªC/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý£¿
ÁíÍ⣬ÎÒ²»ÏëʹÓÃSHFormatDrive£¬ÒòΪÕâ¸öº¯Êý»áµ¯³öÊÇ·ñÒª¸ñʽ»¯µÄÌáʾ¿ò£¬ÎÒÐèÒªµÄÊÇϵͳ×Ô¶¯¸ñʽ»¯£¬¶ø²Ù×÷Õß² ......

ÇóÖú£ºC´úÂë¸Äд³ÉVB´úÂë - VB / »ù´¡Àà

Ë­ÄÜ°ïÎÒ°ÑÏÂÃæÕâЩ´úÂë¸Ä³ÉVBÐÎʽµÄ£¬¶àлÁË£¬¼±ÓÃ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[],float g ......

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ÁË
ºÇºÇ£¬³¬³ö¸¡µãÄܱíʾ·¶Î§ÁË¡£

Âé·³ÓÐÈËÖªµÀ ......

¹ØÓÚ tiny c ¶Î´íÎóµÄÎÊÌâ - C/C++ / CÓïÑÔ

СµÜ×î½üÔÚÁ˽â¹ØÓÚtiny c µÄÎÊÌâ¡£ÔÚlinuxÏÂ×¼±¸°²×°¡£µ«°²×°Íê³ÉºóÅöµ½ÁËһЩÎÊÌ⡣ϣÍû´ó¼ÒÄܹ»°ïæ½â¾ö¡£ÒÔÏÂÊÇ°²×°Íê³ÉºóµÄÖ´Ðв½Öè¡£
[student@localhost ~]$ tcc -v
tcc version 0.9.25
[student@localhos ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ