C/C++Ê¥Õ½£¨Èý£©
¹Ø¼üµÄʱ¿Ì - MFC Or Not
ÔÚSymantec C/C++ºÍWatcom C/C++Öð½¥µØÕ¾ÎÈÁ˽Ų½Ö®ºó£¬ËÄ´ó±àÒëÆ÷¾öÕ½µÄʱ¿ÌÒ²Ö𽥱ƽüÁË¡£ÔÚ1994ÄêδµÄ¾öս֮ǰ£¬SymantecºÍWatcomͬʱÃæ¶ÔÁËÒ»¸ö·Ç³£ÑÏÀ÷µÄ¿¼Ñ飬ÄǾÍÊÇC/C++ FrameworkµÄÑ¡Ôñ¡£ËäÈ»SymantecºÍWatcom¶¼ÒÔ¸÷×ÔµÄÌØÉ«Õ¼µÃÁËÊг¡£¬²»¹ýÔÚµ±Ê±¶ÔÓÚÒ»¸öC/C++¿ª·¢¹¤¾ßÀ´Ëµ£¬×îÖØÒªµÄÒòËØÖ®Ò»¾ÍÊÇC/C++ Framework¡£Òò´ËSymantecºÍWatcomÒ²¶¼±ØÐëÌṩʹÓÃÕßÒ»Ì×C/C++ Framework¡£²»¹ýÕâ¶ÔÓÚSymantecºÍWatcom¶¼ÊÇÒ»¸öÄÑÒÔ½â¾öµÄÎÊÌ⣬ÒòΪµ±Ê±µÄC/C++ FrameworkÒÑÓÉBorlandµÄOWLºÍMicrosoftµÄMFCËùÕ¼Á죬Èç¹ûÒª×Ô¼º·¢Õ¹ÐµÄC/C++ Framework£¬ÄÇôSymantecºÍWatcom²¢Ã»ÓÐÈç´ËÐÛºñµÄ×ÊÔ´£¬Ò²ÎÞ·¨ÔÚ¶Ìʱ¼äÖ®ÄÚÍê³É¡£Òò´ËSymantecºÍWatcom±ØÐëÏÂÒ»¸ö¾ö¶¨µ½µ×ÊÇҪʹÓÃMFC»òÊÇOWL×öΪËüÃǵĿª·¢¹¤¾ßC/C++ Framework¡£
ÔÚ1993Äê³õSymantecºÍWatcom·Ö±ðºÍMicrosoftÇ©Ô¼License MFC×öΪËüÃǵĿª·¢¹¤¾ßµÄC/C++ Framework¡£ÖÁ´Ë´óÊÆÒѶ¨£¬ÔÚC/C++ FrameworkµÄÊг¡ÒѾÐγÉÈý¼Ò¼Ð»÷Ò»¼ÒµÄÐÎʽ¡£µ±Ê±Ðí¶àÈ˱ãÔ¤¹ÀBorland½«³ÉΪÊä¼Ò£¬ÒòΪÊг¡ÒѾ³ÉΪһÃæµ¹£¬MFC¿´ÆðÀ´ÒѾÊÇʤȯÔÚÎÕÁË¡£ÔÚµ±Ê±ÓÚBorlandµÄÄÚ²¿Ò²Õ¹¿ªÁ˼¤ÁҵıçÂÛ£¬ÌÖÂÛÊÇ·ñÒ²ÒªLicense MFC×öΪC/C++µÄFramework£¬Í£Ö¹¼ÌÐø¿ª·¢OWL¡£²»¹ýºóÀ´Borland»¹ÊǾö¶¨¼ÌÐø¿ª·¢OWL£¬¶ø²»Ê¹ÓÃMFC£¬ÒòΪBorlandµÄC/C++¼¼ÊõС×éÈÏΪMFC²»ÂÛÊÇÔڼܹ¹ÉÏ»òÊÇÉè¼ÆÉ϶¼±È²»ÉÏOWL¡£¶øÇÒÓÉÓÚVisual C/C++ÔÚµ±Ê±¶ÔÓÚC/C++µÄ±ê×¼Ö§³Ö²»ÈçBorland C/C++£¬Òò´ËÔÚMFCÄÚ²¿Ê¹ÓÃÁË´óÁ¿µÄMacroÒÔ¼°²»±ê×¼µÄÓï·¨£¬ Òò´ËÈç¹ûBorland C/C++ҪʹÓÃMFC£¬ÄÇô»¹ÐèÒªÐ޸ıàÒëÆ÷À´±àÒëMFC¡£¶ÔÓÚÕâÒ»µãÎÒÈÏΪBorland»¹ÊÇ×öÁËÒ»¸öÕýÈ·µÄ¾ö¶¨£¬ÒòΪÈç¹ûµ±Ê±BorlandÒ² License MFC£¬ÄÇô²»µ«ÔÚÆøÊÆÉϱãÊäÁËÒ»½Ø£¬¶øÇÒµ±MFCµÄ·¢Õ¹ÊÇÍêÈ«ÕÆÎÕÔÚMicrosoftµÄÊÖÀÄÇô¾ÍµÈÓÚ²±×ÓÊÇÆþÔÚ±ðÈ˵ÄÊÖÀ¶¯µ¯²»µÃÁË¡£¿ÉϧµÄÊÇ SymantecºÍWatcom²¢Ã»Óп´ÇåÕâÒ»µã£¬ÒÔΪÓÐÁ˺ÍMicrosoftÒ»ÑùµÄFramework£¬¾Í¿ÉÒÔÔÚÆäËüµØ·½ºÍMicrosoftÒÔ¼° BorlandÒ»¾ö´ÆÐÛ£¬SymantecºÍWatcomȴûÓÐÏë¾ÍÊÇÕâÒ»µã¾ö¶¨ÈúóÀ´µÄ¾öÕ½Ò»°ÜÍ¿µØ£¬ÖÕ¾¿ÍêÈ«Í˳öPCµÄC/C++¿ª·¢¹¤¾ßÊг¡¡£Ê±¼äµ½ÁË1994Äê䣬C/C++¿ª·¢¹¤¾ßµÄËÄ´óÌìÍõ¾öÕ½µÄÈÕ×ÓÖÕÓÚÓúÀ´Óú½üÁË¡£
OLEµÄ½Á¾Ö
²»ÖªµÀÊÇʱÔ˲»¼Ã»òÊÇMicrosoftµÄ¿ÌÒâÈç´Ë£¬ÔÚ1994ÄêBorland C/C++ºÍVisual C/C++¾öÕ½µÄǰϦ£¬MicrosoftÍƳöÁËOLE(Object Linking And Embedding)¼¼Êõ¡£OLEÊÇMicrosoftΪÁ˶
Ïà¹ØÎĵµ£º
—¡ï—ÅàѵÖÜÆÚ£º¹²950ѧʱ 5¸öÔÂ
—¡ï—Åàѵ¸½Ôù£º±£Ö¤Ñ§Ô±ÈËÊÖÒ»»úºÍÒ»Ì×ARM9¿ª·¢°å
—¡ï—ÅàѵÄÚÈÝ£ºÔÚÏîÄ¿¾ÀíµÄ´øÁìÏ£¬Í¨¹ýÍê³É¾ÖÍøµÄÂ齫ÓÎÏ·¡¢My ICQ(ÍøÂçÁÄÌì)ºÍ·¢µç»úÔÚÏß¼à¿Øϵͳ£¬BTÏÂÔØÈí¼þ£¬ÕÆÎÕ»ùÓÚLinuxºÍWindowsƽ̨ϵÄC/C++ÆóÒµ¼¶Ó¦ÓõĿª·¢¼¼ÄÜ£¬ÕÆÎÕ´óÐÍÈí¼þÏî ......
ÎÊÌâÃèÊö£ºÐ´Ò»¸öº¯Êý£¬½ÓÊÜÒ»¸öÕûÊý£¨¼Ù¶¨ÓÃint±íʾ£©£¬Êä³ö¸ÃÕûÊýµÄ×Ö·û´®ÐÎʽ¡£²ÉÓÃÈçϺ¯ÊýÔÐÍ£º
void itoa ( int val, char* buf );
ÕâÀï¼Ù¶¨buf×ã¹»´óÒÔÈÝÄÉÈκÎintÀàÐÍÊýÖµµÄ×Ö·û´®¡£
Õâ¸öÎÊÌ⣬³õ¿´ºÃÏñûÓÐʲôÄѶȡ£Èç¹ûÊÇ0£¬¾ÍÖ±½ÓÊä³ö'0'£»Èç¹ûÊÇÕýÊý£¬¾Íͨ¹ýÈ¡Ä£(%)ºÍÇóÉÌ(/)ÔËËã¿ÉÒÔÖðλȡµÃ¸ÃÕûÊýµÄÊ ......
ÕâÊÇCµÄÔ³ÌÐò
#include <stdio.h>
#include <regex.h>
int main(int argc, char** argv)
{
regex_t reg;
regmatch_t pm[10];
char *pattern;
char buf[50];
const size_t nmatch = 10;
pattern = argv[1];
int result = regcomp(®, pattern, REG_EXTENDED);
while( fgets ......
±êÇ©£º
it
·ÖÀࣺC/C++
ÎҵĻØÒäºÍÓÐȤµÄ¹ÊÊ --- C/C++ʥսƪ
Àîά
------------------------------------------------------------------------------------------
ÉùÃ÷
ÒÔϵÄÕâƪÎÄÕÂÄÚÈÝÊÇÎÒ¸öÈ˵ĻØÒäÒÔ¼°¿´·¨£¬Ã»ÓÐÈκÎÌرðµÄÆ«¼û£¬Ðí¶àµÄÊÂÇéÊǸù¾ÝÎҵļÇÒäÒÔ¼°´ÓÐí¶àÈ˵ÄËß˵ÖеÃÖªµÄ£¬Ò²ÐíÄÚÈݲ»ÊÇ°Ù·Ö ......