C/C++Í·ÎļþÒ»ÀÀ
#include <assert.h>¡¡¡¡¡¡¡¡//É趨²åÈëµã
#include <ctype.h>¡¡¡¡¡¡¡¡ //×Ö·û´¦Àí
#include <errno.h>¡¡¡¡¡¡¡¡ //¶¨Òå´íÎóÂë
#include <float.h>¡¡¡¡¡¡¡¡ //¸¡µãÊý´¦Àí
#include <fstream.h>¡¡¡¡¡¡ //ÎļþÊäÈ룯Êä³ö
#include <iomanip.h>¡¡¡¡¡¡ //²ÎÊý»¯ÊäÈ룯Êä³ö
#include <iostream.h>¡¡¡¡¡¡//Êý¾ÝÁ÷ÊäÈ룯Êä³ö
#include <limits.h>¡¡¡¡¡¡¡¡//¶¨Òå¸÷ÖÖÊý¾ÝÀàÐÍ×îÖµ³£Á¿
#include <locale.h>¡¡¡¡¡¡¡¡//¶¨Òå±¾µØ»¯º¯Êý
#include <math.h>¡¡¡¡¡¡¡¡¡¡//¶¨ÒåÊýѧº¯Êý
#include <stdio.h>¡¡¡¡¡¡¡¡ //¶¨ÒåÊäÈ룯Êä³öº¯Êý
#include <stdlib.h>¡¡¡¡¡¡¡¡//¶¨ÒåÔÓÏÊý¼°ÄÚ´æ·ÖÅ亯Êý exit;
#include <string.h>¡¡¡¡¡¡¡¡//×Ö·û´®´¦Àí
#include <strstrea.h>¡¡¡¡¡¡//»ùÓÚÊý×éµÄÊäÈ룯Êä³ö
#include <time.h>¡¡¡¡¡¡¡¡¡¡//¶¨Òå¹ØÓÚʱ¼äµÄº¯Êý
#include <wchar.h>¡¡¡¡¡¡¡¡ //¿í×Ö·û´¦Àí¼°ÊäÈ룯Êä³ö
#include <wctype.h>¡¡¡¡¡¡¡¡//¿í×Ö·û·ÖÀà
//////////////////////////////////////////////////////////////////////////
±ê×¼ C++¡¡£¨Í¬ÉϵIJ»ÔÙ×¢ÊÍ£©
#include <algorithm>¡¡¡¡¡¡ //STL ͨÓÃËã·¨
#include <bitset>¡¡¡¡¡¡¡¡¡¡//STL λ¼¯ÈÝÆ÷
#include <cctype>
#include <cerrno>
#include <clocale>
#include <cmath>
#include <complex>¡¡¡¡¡¡¡¡ //¸´ÊýÀà
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>¡¡¡¡¡¡¡¡¡¡ //STL Ë«¶Ë¶ÓÁÐÈÝÆ÷
#include <exception>¡¡¡¡¡¡ //Òì³£´¦ÀíÀà
#include <fstream>
#include <functional>¡¡¡¡¡¡//STL ¶¨ÒåÔËË㺯Êý£¨´úÌæÔËËã·û£©
#include <limits>
#include <list>¡¡¡¡¡¡¡¡¡¡¡¡//STL ÏßÐÔÁбíÈÝÆ÷
#include <map>¡¡¡¡¡¡¡¡¡¡¡¡ //STL Ó³ÉäÈÝÆ÷
#include <iomanip>
#include <ios>¡¡¡¡¡¡¡¡¡¡¡¡ //»ù±¾ÊäÈ룯Êä³öÖ§³Ö
#include <iosfwd>¡¡¡¡¡¡¡¡¡¡//ÊäÈ룯Êä³öϵͳʹÓõÄÇ°ÖÃÉùÃ÷
#include <iostream>
#include <istream>¡¡¡¡¡¡¡¡ //»ù±¾ÊäÈëÁ÷
#include <ostream>¡¡¡¡¡¡¡¡ //»ù±¾Êä³öÁ÷
#include <queue>¡¡¡¡¡¡¡¡¡¡ //STL ¶ÓÁÐÈÝÆ÷
#include <set>¡¡¡
Ïà¹ØÎĵµ£º
ϵͳ»·¾³£ºWindows 7
Èí¼þ»·¾³£ºVisual C++ 2008 SP1 +SQL Server 2005
±¾´ÎÄ¿µÄ£º±àдһ¸öº½¿Õ¹ÜÀíϵͳ
ÕâÊÇÊý¾Ý¿â¿Î³ÌÉè¼ÆµÄ³É¹û£¬ËäÈ»³É¼¨²»¼Ñ£¬µ«ÊÇ×÷ΪÎÒÓÃVC++ ÒÔÀ´±àдµÄ×î´ó³ÌÐò»¹ÊÇ´«µ½ÍøÉÏ£¬ÒÔ¹©²Î¿¼¡£ÓÃVC++ ×öÊý¾Ý¿âÉè¼Æ²¢²»ÈÝÒ×£¬µ«Ò²²»ÊDz»¿ÉÄÜ¡£ÒÔÏÂÊÇÎҵijÌÐò½çÃ棬ºóÃæ ......
Android±àÒë»·¾³(1) - ±àÒëNative CµÄhelloworldÄ£¿é
Android±àÒë»·¾³±¾Éí±È½Ï¸´ÔÓ£¬ÇÒ²»ÏñÆÕͨµÄ±àÒë»·¾³£ºÖ»Óж¥²ãĿ¼Ï²ÅÓÐMakefileÎļþ£¬¶øÆäËûµÄÿ¸öcomponent¶¼Ê¹ÓÃͳһ±ê×¼µÄAndroid.mk. Android.mkÎļþ±¾ÉíÊDZȽϼòµ¥µÄ£¬²»¹ýËü²¢²»ÊÇÎÒÃÇÊìϤµÄMakefile£¬¶øÊǾ¹ýÁËAndroid×ÔÉí±àÒëϵͳµÄºÜ¶à´¦Àí£¬Òò´ËÒªÕ ......
1. wprintf
Q : sizeof(wchar_t) = ?
A : Ëæ±àÒëÆ÷²»Í¬¡£(ËùÒÔ:ÔÚÐèÒª¿çƽ̨µÄʱºò¾¡Á¿²»ÓÃwchar_t) vc : sizeof(wchar_t) = 2;
Q: ÔÚvcÖУ¬ÎªÊ²Ã´Ö±½ÓʹÓÃwprintf(L"²âÊÔ1234")»áûÓнá¹û
A: ûÓÐÉèÖúÃlocale,ÕâÑù×ö
setlocale(LC_ALL ,
"
chs
"
);
wprintf(L
"
%s
"
,L
......
±¾ÊµÀýÒ»Ì×ÈËʹÜÀíϵͳ£º¿ª·¢¹¤¾ßΪVFP9.0¡¢SQL2000¡¢EXCEL;ʹÓÃÁËAdobe PhotoshopƽÃæÉè¼ÆÈí¼þ£¬²ÉÓÃÁËSPT´©Í¸¼¼Êõ£¬µ÷ÓÃÁËAPIº¯Êý£¬ÊµÏÖÁ˶Ôϵͳʱ¼äµÄͳһ¿ØÖÆ¡¢¶ÔDNSµÄ´úÂë¿ØÖÆ¡¢¶ÔÓòÃû½âÎöµÄÓ¦Ó㬵ȵÈ
ÔΣ¬ÔõôÉÏ´«£¬£¨°üº¬Ô´Âëδ±àÒëµÄ£©ÏëÒªµÄ¸øÎÒ·¢E-MAIL:zhao@tom.com ......