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

¸üºÃµÄC£¬×Ô¼ºµÄC£¬ÐµÄC - C/C++ / CÓïÑÔ

¸üºÃµÄC£¬×Ô¼ºµÄC£¬ÐµÄC

´ó¼Ò˵˵×Ô¼º¶ÔCµÄ¸Ä½ø»ò¸ÄÁ¼°æ±¾ÊÇʲôÑù×ӵġ£¿´¿´ÎÒÃǵÄÖǻۡ£
and È¡´ú &&
or È¡´ú ||
not È¡´ú !
bit and È¡´ú&
bit or È¡´ú|
bit not È¡´ú~


¿ÉÒÔ½«cµÄÃæÏò¹ý³ÌµÄ·½Ê½¸Ä³ÉÃæÏò¶ÔÏóµÄ³ÌÐòÉè¼Æ·½Ê½£¬µ«ÊÇÒ»¶¨Òª±£ÁôÖ¸Õ롢λÔËËãµÈµ×²ã²Ù×÷¡£

ÒýÓÃ
and È¡´ú &&
or È¡´ú ||
not È¡´ú !
bit and È¡´ú&
bit or È¡´ú|
bit not È¡´ú~


ͬѧ£¬ÄãѧVBµÄ£¿

ÒýÓÃ
¿ÉÒÔ½«cµÄÃæÏò¹ý³ÌµÄ·½Ê½¸Ä³ÉÃæÏò¶ÔÏóµÄ³ÌÐòÉè¼Æ·½Ê½£¬µ«ÊÇÒ»¶¨Òª±£ÁôÖ¸Õ롢λÔËËãµÈµ×²ã²Ù×÷¡£


ͬѧ£¬Çë£Ã£«£«¡£
²»ÒªÕÛÌڣá£

È«¸Ä³ÉÖÐÎĵİÉ

×Ô¼ºµÄC Õâ¸öÎұȽÏÔÞͬ¡£

  ±ðÈ˵ÄC»òC±àÒëÆ÷ÊÇÁôÓкóÃŵģ¬Ä㰲ȫÐÔ×öµÃÔٺã¬Ò²ÊÇÓÐÏÈÌì²»×ãµÄ£¡ÔÚ¹ú·À°²È«ÊÇÓÈÉõ£¡£¡£¡

ÏʵÄÿÈÕC~~~~~~~~~~~~

jf....

ÒýÓÃ

and È¡´ú &&
or È¡´ú ||
not È¡´ú !
bit and È¡´ú&
bit or È¡´ú|
bit not È¡´ú~


¾ÍÊǸÃÏÂÓï·¨±í´ïÓÐʲôÒâ˼?Ö±½ÓÓÃ#define²»¾Í¿ÉÒÔÁË£¿£¿

ά³ÖÔ­×´

Ï£Íû²»ÒªÓÐÌ«¶àµÄÓï·¨¸Ä±ä

ÿÖÖÓïÑÔ벡¶¼ÊÇÒ»´ó¶Ñ£¬µ«ÊÇËûÃǶ¼ÊÇÔÚÇ°½øµÄ¡£ÐèҪÿ¸öÈ˵IJÎÓ룬֧³Ö¡£



²»½øÔòÍË¡£¡£

Ö§³ÖÖÐÎıäÁ¿Ãû¾Í¿ÉÒÔÁË£¬ÆäÓà×îºÃʲô¶¼±ð¸Ä¡£

ÒýÓÃ

and È¡´ú &&am


Ïà¹ØÎÊ´ð£º

linux»·¾³ÏÂgethostbynameº¯ÊýÎÊÌâ - C/C++ / CÓïÑÔ

дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
   
  struct hostent *hp; 
char AlarmDevIP[20];  
  int x2;

hp = gethostbyname("www.google.com");
if (hp)
{ ......

c¾²Ì¬±àÒëÁíÒ»¸öÎļþ¼ÐµÄ¿âº¯Êý - C/C++ / CÓïÑÔ

ÔÚ¸ùĿ¼/libÖдæ·ÅÒ»¸ölog.c£¬log.h£¬²¢ÓÃÏÂÃæµÄÓï¾ä£º
gcc -c log.c
ar crv liblog.a log.o
±àÒë³öÒ»¸öliblog.a¾²Ì¬¿â£¬È»ºóÔÚÎļþ¼Ð£º/testfileÖд´½¨Ò»¸ötest.cºÍtestc.c£¬test.cÖÐÒýÓÃÁËtestc.cÖж¨ÒåµÄ·½·¨ ......

ÇóÖú£ºC´úÂëchange toVB´úÂë - VB / »ù´¡Àà

ͦ·±Ëö£¬Ö®Ç°·¢µÄÌû×Ó£¬·Öֵ̫µÍÏÖÔÚÖØ·¢Ò»¸ö¡£»¶Ó­¸÷λ´óÏÀ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[] ......

CÖÐÈçºÎÅжÏdoubleÐÍÊý×éΪ¿Õ - C/C++ / CÓïÑÔ

[align=center][/align]CÓïÑÔÖÐÈçºÎÅжÏÒ»¸ödoubleÐ͵ÄÊý×飨Èçdouble S[20]£»£©ÊÇÒ»¸ö¿ÕÊý×飬¼´Êý×éÖÐûÓзÅÈκÎÖµ¡£
û°ì·¨¡£

"ÈκÎÖµ" µÄ¶¨Òå?

¾ÍÊÇÊý×éÊǿյģ¬Ã»ÓÐΪËü¸³Öµ

¿ÉÒÔ¿¼Â ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ