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

C/C++ÃüÃû¹æÔò


ÔÚÈí¼þ¿ª·¢ÕâÒ»¸ß¶È³éÏó¶øÇÒÊ®·Ö¸´ÔӵĻÖУ¬ÃüÃû¹æÔòµÄÖØÒªÐÔ¸üÏÔµÃÓÈΪͻ³ö¡£Ò»Ì׶¨ÒåÁ¼ºÃ²¢ÇÒÍêÕûµÄ¡¢ÔÚÕû¸öÏîÄ¿ÖÐͳһʹÓõÄÃüÃû¹æ·¶½«´ó´óÌáÉýÔ´´úÂëµÄ¿É¶ÁÐÔºÍÈí¼þµÄ¿Éά»¤ÐÔ¡£
ÔÚÒýÈëϸ½Ú֮ǰ£¬ÏÈ˵Ã÷Ò»ÏÂÃüÃû¹æ·¶µÄÕûÌåÔ­Ôò£º
 
ͬһÐÔ
ÔÚ±àдһ¸ö×ÓÄ£¿é»òÅÉÉúÀàµÄʱºò£¬Òª×ñÑ­Æä»ùÀà»òÕûÌåÄ£¿éµÄÃüÃû·ç¸ñ£¬±£³ÖÃüÃû·ç¸ñÔÚÕû¸öÄ£¿éÖеÄͬһÐÔ¡£
±êʶ·û×é³É
±êʶ·û²ÉÓÃÓ¢Îĵ¥´Ê»òÆä×éºÏ£¬Ó¦µ±Ö±¹ÛÇÒ¿ÉÒÔÆ´¶Á£¬¿ÉÍûÎÄÖªÒ⣬ÓôÊÓ¦µ±×¼È·¡£
×îС»¯³¤¶È && ×î´ó»¯ÐÅÏ¢Á¿Ô­Ôò
ÔÚ±£³ÖÒ»¸ö±êʶ·ûÒâ˼Ã÷È·µÄͬʱ£¬Ó¦µ±¾¡Á¿Ëõ¶ÌÆ䳤¶È¡£
±ÜÃâ¹ýÓÚÏàËÆ
²»Òª³öÏÖ½ö¿¿´óСдÇø·ÖµÄÏàËƵıêʶ·û£¬ÀýÈç“i”Óë“I”£¬“function”Óë“Function”µÈµÈ¡£
±ÜÃâÔÚ²»Í¬¼¶±ðµÄ×÷ÓÃÓòÖÐÖØÃû
³ÌÐòÖв»Òª³öÏÖÃû×ÖÍêÈ«ÏàͬµÄ¾Ö²¿±äÁ¿ºÍÈ«¾Ö±äÁ¿£¬¾¡¹ÜÁ½ÕßµÄ×÷ÓÃÓò²»Í¬¶ø²»»á·¢ÉúÓï·¨´íÎ󣬵«ÈÝÒ×ʹÈËÎó½â¡£
ÕýÈ·ÃüÃû¾ßÓл¥³âÒâÒåµÄ±êʶ·û
ÓÃÕýÈ·µÄ·´Òå´Ê×éÃüÃû¾ßÓл¥³âÒâÒåµÄ±êʶ·û£¬È磺"nMinValue"ºÍ"nMaxValue"£¬"GetName()" ºÍ "SetName()" ....
±ÜÃâÃû×ÖÖгöÏÖÊý×Ö±àºÅ
¾¡Á¿±ÜÃâÃû×ÖÖгöÏÖÊý×Ö±àºÅ£¬ÈçValue1,Value2µÈ£¬³ý·ÇÂß¼­ÉϵÄÈ·ÐèÒª±àºÅ¡£ÕâÊÇΪÁË·ÀÖ¹³ÌÐòԱ͵ÀÁ£¬²»¿ÏΪÃüÃû¶¯ÄÔ½î¶øµ¼Ö²úÉúÎÞÒâÒåµÄÃû×Ö£¨ÒòΪÓÃÊý×Ö±àºÅ×îÊ¡Ê£©¡£
Àà/½á¹¹
³ýÁËÒì³£ÀàµÈ¸ö±ðÇé¿ö£¨²»Ï£ÍûÓû§°Ñ¸ÃÀà¿´×÷Ò»¸öÆÕͨµÄ¡¢Õý³£µÄÀàÖ®Çé¿ö£©Í⣬C++Àà/½á¹¹
µÄÃüÃûÓ¦¸Ã×ñÑ­ÒÔÏÂ×¼Ôò£º
C++Àà/½á¹¹µÄÃüÃû
ÀàµÄÃû³Æ¶¼ÒªÒÔ´óд×Öĸ“C”¿ªÍ·£¬ºó¸úÒ»¸ö»ò¶à¸öµ¥´Ê¡£Îª±ãÓڽ綨£¬Ã¿¸öµ¥´ÊµÄÊ××ÖĸҪ´óд¡£
ÍƼöµÄ×é³ÉÐÎʽ
ÀàµÄÃüÃûÍƼöÓÃ"Ãû´Ê"»ò"ÐÎÈÝ´Ê£«Ãû´Ê"µÄÐÎʽ£¬ÀýÈ磺"CAnalyzer", "CFastVector" ....
²»Í¬ÓÚC++ÀàµÄ¸ÅÄ´«Í³µÄC½á¹¹ÌåÖ»ÊÇÒ»ÖÖ½«Ò»×éÊý¾ÝÀ¦°óÔÚÒ»ÆðµÄ·½Ê½¡£´«Í³C½á¹¹ÌåµÄÃüÃû¹æÔòΪ£º
´«Í³C½á¹¹ÌåµÄÃüÃû
´«Í³C½á¹¹ÌåµÄÃû³ÆÈ«²¿ÓÉ´óд×Öĸ×é³É£¬µ¥´Ê¼äʹÓÃÏ»®Ï߽綨£¬ÀýÈ磺"SERVICE_STATUS", "DRIVER_INFO" ....
º¯Êý
º¯ÊýµÄÃüÃû
º¯ÊýµÄÃû³ÆÓÉÒ»¸ö»ò¶à¸öµ¥´Ê×é³É¡£Îª±ãÓڽ綨£¬Ã¿¸öµ¥´ÊµÄÊ××ÖĸҪ´óд¡£
ÍƼöµÄ×é³ÉÐÎʽ
º¯ÊýÃûÓ¦µ±Ê¹ÓÃ"¶¯´Ê"»òÕß"¶¯´Ê£«Ãû´Ê"£¨¶¯±ö´Ê×飩µÄÐÎʽ¡£ÀýÈ磺"GetName()", "SetValue()", "Erase()", "Reserve()" ....
±£»¤³ÉÔ±º¯Êý
±£»¤³ÉÔ±º¯ÊýµÄ¿ªÍ·Ó¦µ±¼ÓÉÏÒ»¸öÏ»®Ïß“_”ÒÔʾÇø±ð£¬ÀýÈ磺"_SetState()"


Ïà¹ØÎĵµ£º

תÔØ:Hadoop Ó¦¸ÃÓÃC++ʵÏÖ£¬¶ø²»ÊÇJava

http://www.trendcaller.com/2009/05/hadoop-should-target-cllvm-not-java.html
Sunday, May 10, 2009
Hadoop should target C++/LLVM, not Java (because of watts)
< type="text/javascript">
digg_url="http://www.trendcaller.com/2009/05/hadoop-should-target-cllvm-not-java.html";
Over the years, ......

C/C++Ö¸Õë

ºÎΪָÕë £¿
¡¡¡¡Ö¸Õë»ù±¾ÉϺÍÆäËüµÄ±äÁ¿Ò»Ñù£¬Î¨Ò»µÄÒ»µã²»Í¬¾ÍÊÇÖ¸Õë²¢²»°üº¬Êµ¼ÊµÄÊý¾Ý£¬¶øÊÇ°üº¬ÁËÒ»¸öÖ¸ÏòÄÚ´æλÖõĵØÖ·£¬Äã¿ÉÒÔÔÚÕâ¸öµØÖ·ÕÒµ½Ä³Ð©ÐÅÏ¢¡£ÕâÊÇÒ»¸öºÜÖØÒªµÄ¸ÅÄ²¢ÇÒÐí¶à³ÌÐò»òÕß˼Ï붼Êǽ«Ö¸Õë×÷ΪËüÃǵÄÉè¼Æ»ù´¡£¬ÀýÈçÁ´±í¡£
¿ªÊ¼
¡¡¡¡ÈçºÎ¶¨ÒåÒ»¸öÖ¸Õ룿ßÀ£¬¾ÍÏñ¶¨ÒåÆäËüµÄ±äÁ¿Ò»Ñù£¬²»¹ýÄ㻹Р......

Netbeans Ï ÓÃMinGWÅäÖÃC/C++±àÒë»·¾³

½ñÌìÅäÖÃÁËÒ»ÏÂnetbeansµÄc++±àÒë»·¾³£¬ËùÒÔдһƪÈÕÖ¾±¸Íü£¬Í¬Ê±Ò²¹©¹ã´óÍøÓѲο¼ºÍѧϰ¡£
×¼±¸×ÊÔ´£º
1¡¢netbeans ¿ÉÒÔµ½¹Ù·½ÍøÕ¾ÏÂÔØzh-cn.netbeans.org/
2¡¢MinGW±àÒëÆ÷£¨MinGWÖÐÓÐg++ºÍgcc±àÒëÆ÷£©µã´Ë´¦ÏÂÔØ£¬¿ÉÒÔµ½ÎÒÌṩµÄcsdnµÄ¹²ÏíÏÂÔØ£¬ÓÉÓÚ´óСÏÞÖÆ·ÖÁ½²¿·Ö
µØÖ·£ºµÚÒ»²¿·Ö http://download.csdn.net/sour ......

Ê·ÉÏ×î¼òµ¥ÔªµÄpro*c³ÌÐò

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
EXEC SQL include sqlca;
EXEC ORACLE OPTION (RELEASE_CURSOR = YES);
EXEC SQL BEGIN DECLARE SECTION;
       & ......

ǶÈëʽLinuxµÄ¼üÅÌÇý¶¯ 1£¨Í¨¹ýI2CʵÏÖ£©

CPU£ºs3c2410
OS£ºLinux Kernel 2.6.30.4
×î½ü¸Õ×öÍêµÄǶÈëʽ¼üÅ̵ÄÇý¶¯£¬ÓÉÓÚ³õ´Î½Ó´¥£¬×ܽáһϡ£
Ê×Ïȼòµ¥ËµËµÕâ¸ö¼üÅ̵ÄʵÏÖÔ­Àí£¬IIC×ÜÏß¹¤×÷Ô­Àíû±ØÒª·Ï»°£¬s3c2410µÄÊÖ²áÖн²µÄºÜÃ÷°×¡£Ó²¼þ·½ÃæÕâ¸ö¼üÅÌͨ¹ýÒ»¸öAVRµ¥Æ¬»ú£¨ATMEGA48£©½ÓÔÚIIC×ÜÏßÉÏ£¬Ò²¾ÍÊÇ˵£¬Ö±½ÓÓëIIC×ÜÏßÁ´½ÓµÄÉ豸²¢²»ÊÇÎÒÃÇÓõļüÅÌ£¬¶øÊÇ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ