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

C bulider¼ÆËãÆ÷³õ²½

//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
int   flag=0; //ÓÃ×÷±êÖ¾ÔËËãÖÖÀà
int   clearflag=0;//¿ÉÓÃÀ´±êÖ¾°´ÏÂÔËËã·û²»Á¢¼´ºóÇå¿ÕÎı¾¿ò£¬¹¦ÄÜÀàËƼÆËãÆ÷
int   temp1;//ÓÃ×÷¼Ä´æÔËËãÇ°µÄÊý
float temp2;//ÓÃ×÷¼Ä´æÔËËãµÄ½á¹û
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::FormCreate(TObject *Sender)
{
        Form1->Edit1->Clear();
        temp1=0;
        temp2=0;
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
        if(clearflag==0)//±íʾÕâÊÇ°´ÏÂÔËËã·û¼üÖ


Ïà¹ØÎĵµ£º

´î½¨eclipseϵÄcºÍc++¿ª·¢»·¾³


 
ÎÒÃÇÐèÒªÒ»¸öcdt£¬Õâ¸ö¿ÉÒÔÔÚEclipse¹ÙÍøÏÂÔØ¡£
ÎÒÃÇÐèÒªMinGW——C/C++±àÒëƽ̨£¬ÏÂÔغóÐèÒª°²×°£¬Í¬Ê±Ñ¡ÖÐg++¡¢MinGW Make£¬Í¬Ê±ÉèÖû·¾³±äÁ¿£¬½«%MinGW_HOME%\binÉèÖõ½PATHÖУ¬È»ºóÎÒÃÇ¿ÉÒÔͨ¹ýÃüÁîÐÐÇû÷gcc£¬¿´ÊÇ·ñÓÐЧ¹û¡£
ÎÒÃÇÐèÒªgdb——C/C++µ÷ÊÔƽ̨£¬ÏÂÔغó°²×°£¬Ä¬Èϵ½MinGW_ ......

C/C++Îļþ²Ù×÷

 Ô­ÎĵØÖ·£ºhttp://www.layz.net/blog/user1/xuanxuan/archives/2006/67.html
 ÔÚC++ÖУ¬ÓÐÒ»¸östreamÕâ¸öÀ࣬ËùÓеÄI/O¶¼ÒÔÕâ¸ö“Á÷”ÀàΪ»ù´¡µÄ£¬°üÀ¨ÎÒÃÇÒªÈÏʶµÄÎļþI/O£¬streamÕâ¸öÀàÓÐÁ½¸öÖØÒªµÄÔËËã·û£º

1¡¢²åÈëÆ÷(<<)
¡¡¡¡ÏòÁ÷Êä³öÊý¾Ý¡£±ÈÈç˵ϵͳÓÐÒ»¸öĬÈϵıê×¼Êä³öÁ÷(cout)£ ......

REVIEW C PRIMER PLUS1

1.´«Í³ÉÏ£¬CÓïÑÔÒªÇó±ØÐëÔÚÒ»¸ö´úÂë¿éµÄ¿ªÊ¼´¦ÉùÃ÷±äÁ¿£¬ÔÚÕâ֮ǰ²»ÔÊÐíÈκÎÆäËûÓï¾ä¡£ÏÖÔÚC99×ñÑ­C£«£«µÄ¹ßÀý£¬ÔÊÐí°ÑÉùÃ÷·ÅÔÚ´úÂë¿éÖеÄÈκÎλÖá£È»¶ø£¬ÔÚÊ×´ÎʹÓñäÁ¿Ö®Ç°ÈÔÈ»±ØÐëÏÈÉùÃ÷Ëü¡£
2.²Ù×÷ϵͳºÍC¿âͨ³£Ê¹ÓÃÒÔÒ»¸ö»òÁ½¸öÏ»®Ïß¿ªÊ¼µÄÃû×Ö£¬ÒòЩÄã×Ô¼º×îºÃ±ÜÃâÕâÖÖÓ÷¨¡£
3.CÓïÑÔµÄÃû×ÖÊÇÇø·Ö´óСдµÄ¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ