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

C/C++Í·ÎļþÒ»ÀÀ


C/C++
Í·ÎļþÒ»ÀÀ

//////////////////////////////////////////////////////////////////////////
C
Í·Îļþ
(C89,C95)
(C++98,C++03Ò²°üº¬)
include <assert.h>¡¡¡¡¡¡¡¡//Õï¶Ï¿â
include <ctype.h>¡¡¡¡¡¡¡¡ //×Ö·û´¦Àíº¯Êý¿â
include <errno.h>¡¡¡¡¡¡¡¡ //´íÎó¶¨Òå
include <float.h>¡¡¡¡¡¡¡¡ //¸¡µãÊý´¦Àí
include <iso646.h>        //¶ÔÓ¦¸÷ÖÖÔËËã·ûµÄºê
include <limits.h>¡¡¡¡¡¡¡¡//¶¨Òå¸÷ÖÖÊý¾ÝÀàÐÍ×îÖµµÄ³£Á¿
include <locale.h>¡¡¡¡¡¡¡¡//¶¨Òå±¾µØ»¯Cº¯Êý
include <math.h>¡¡¡¡¡¡¡¡¡¡//¶¨ÒåÊýѧº¯Êý
include <setjmp.h>        //Òì³£´¦ÀíÖ§³Ö
include <signal.h>        //ÐźŻúÖÆÖ§³Ö
include <stdarg.h>        //¿É±ä²ÎÊýÁбíÖ§³Ö
include <stddef.h>        //³£Óó£Á¿
include <stdio.h>¡¡¡¡¡¡¡¡ //¶¨ÒåÊäÈ룯Êä³öº¯Êý
include <stdlib.h>¡¡¡¡¡¡¡¡//¶¨ÒåÔÓÏÊý¼°ÄÚ´æ·ÖÅ亯Êý
include <string.h>¡¡¡¡¡¡¡¡//×Ö·û´®´¦Àí
include <time.h>¡¡¡¡¡¡¡¡¡¡//¶¨Ò幨ÓÚʱ¼äµÄº¯Êý
include <wchar.h>¡¡¡¡¡¡¡¡ //¿í×Ö·û´¦Àí¼°ÊäÈ룯Êä³ö
include <wctype.h>¡¡¡¡¡¡¡¡//¿í×Ö·û·ÖÀà
--------------------------------------------
C
Í·Îļþ
(C99Ôö¼Ó)
#include
<complex.h>
¡¡
¡¡
//
¸´Êý´¦Àí
#include
<fenv.h>
¡¡¡¡¡¡
¡¡
//
¸¡µã»·¾³
#include
<inttypes.h>
¡¡
¡¡
//
ÕûÊý¸ñʽת»»
#include
<stdbool.h>
¡¡
¡¡
//
²¼¶û»·¾³
#include
<stdint.h>
¡¡
¡¡¡¡
//
ÕûÐÍ»·¾³
#include
<tgmath.h>
¡¡
¡¡¡¡
//
ͨÓÃÀàÐÍÊýѧºê
//////////////////////////////////////////////////////////////////////////
´«Í³
C++
Í·Îļþ
(C++98
֮ǰ)
include
<fstream.h>¡¡¡¡¡¡ //¸ÄÓÃ<fstream>
include
<iomanip.h>¡¡¡¡¡¡ //¸ÄÓÃ<iomainip>
include
<iostream.h>¡¡¡¡¡¡//¸ÄÓÃ<iostream>
include
<strstrea.h>¡¡¡¡¡¡//¸ÃÀ಻ÔÙÖ§³Ö£¬¸ÄÓÃ<sstream>ÖеÄstringstream
------


Ïà¹ØÎĵµ£º

C++&wxWidgets ¿çƽ̨´°¿Ú³ÌÐò¿ª·¢(¶þ,Linuxƪ)

ÎÒÓõÄLinuxϵͳÊÇUbuntu 10.04
Ê×ÏÈ, °²×°wxWidgets 2.8. ĿǰwxWidgetsÓÐÁ½¸öÎȶ¨°æ±¾, 2.6ºÍ2.8, ÎÒÃÇÑ¡×îеÄ. ´ò¿ª “Ubuntu
Èí¼þÖÐÐÄ”, ÔÚËÑË÷¿òÀïÊäÈë “wxWidgets”, °ÑÏÂÃæ¼¸¸öÃû×ÖÒÔ”wxWidgets Cross-platform C++ GUI
toolkit”¿ªÍ·µÄÈ«²¿°²×°. ×°Íêºó, ´ò¿ªÒ»¸öÖÕ¶Ë, ÊäÈ ......

C preprocessor

http://en.wikipedia.org/wiki/C_preprocessor
C preprocessor
from Wikipedia, the free encyclopedia
Jump to:navigation, search
The C preprocessor (cpp) is the preprocessor for the C programming language. In many C implementations, it is a separate program invoked by the compiler as the first part ......

C++ÓëCµÄÇø±ð ±±º£

1£©  º¯ÊýÉùÃ÷
l         CÈç¹û²»Ð´·µ»ØÖµ£¬Ä¬ÈÏÊÇint£¬¶øC++Öв»Äܲ»Ð´·µ»ØÖµ(¿ÉÓÃvoid±íʾÎÞ·µ»ØÖµ)¡£
ÈçFunc1();
l         int Func1()ÔÚCÖбíʾ¿É´øÈÎÒâ²ÎÊýµÄº¯Êý£¬ÕâÊÇCµÄ©¶´£¬Ê¹µÃËü±Ü¿ªÁ˲ÎÊýÀàÐͼì²é£»¶øC++Öбíʾ²»´ ......

CÖ¸ÕëÖ®ÃÀÒ»£ºÉñÆæµÄº¯Êý

void mystery(int n)
{
 n += 5;
 n /= 10;
 printf(" :%s\n","***********" + 10 -n);
}
µ±Ò»¸ö×Ö·û´®³£Á¿Î»ÓÚÒ»¸ö±í´ïʽÖÐʱ£¬ËüµÄÖµÊÇÒ»¸öÖ¸Õë³£Á¿¡£±àÒëÆ÷°ÑÕâЩָ¶¨×Ö·ûµÄÒ»·Ý¿½±´´æ´¢ÔÚÄÚ´æµÄij¸öλÖ㬲¢´æ´¢Ò»¸öÖ¸ÏòµÚ1¸ö×Ö·ûµÄÖ¸Õë¡£µ«ÊÇ£¬µ±Êý×éÃûÓÃÓÚ±í´ïʽÖÐʱ£¬ËûÃǵÄÖµÒ²ÊÇÒ»¸öÖ¸Õë³£Á¿ ......

C' Fragment

°ÑÊäÈëµÄÒ»´®×Ö·ûת³ÉÊý×飬ת³ÉÁ´±í£¬È»ºóɾȥÆäÖÐÖ¸¶¨µÄ×Ö·û£¬ÔÚβ²¿Ìí¼ÓÒ»¸ö×Ö·û¡£
£¨³ÌÐò»¹²»ÍêÉÆ£¬Ã»ÓжÔÊä´íµÄÇé¿ö½øÐд¦Àí£¬£¬ÔÝʱÏÈÕâÑù°É¡£¡£= =¡££©
#include<stdio.h>
#include<malloc.h>
#define LEN sizeof(struct link)
struct link
{
char ch;
struct link *next;
}*string;
char a ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ