主题:简单运行错误在哪啊,怎么改啊?
看题:
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
//---------------------------------------------------------------------------
char chline;
int intValue,intSum;
void__fastcall TFormAdd::ButtonAddClick(TObject* Sender)
{
int intTheFirst=1208;
int intTheSecond=604;
EditAddResult->Text=AnsiString(intTheFirst+intTheSecond);
//char*strTemp=new char(0);
//itoa(intTheFirst+intSecond,strTemp,10);
//EditAddResult->Text=strTemp;
//delete strTemp;
}
错误提示:
[c++Error]Unit1.cpp(13):E2141 Declarartion syntax error
本人英语很菜,看不懂错误的意思,请问大虾我该怎么改啊?谢谢拉!
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
//---------------------------------------------------------------------------
char chline;
int intValue,intSum;
void__fastcall TFormAdd::ButtonAddClick(TObject* Sender)
{
int intTheFirst=1208;
int intTheSecond=604;
EditAddResult->Text=AnsiString(intTheFirst+intTheSecond);
//char*strTemp=new char(0);
//itoa(intTheFirst+intSecond,strTemp,10);
//EditAddResult->Text=strTemp;
//delete strTemp;
}
错误提示:
[c++Error]Unit1.cpp(13):E2141 Declarartion syntax error
本人英语很菜,看不懂错误的意思,请问大虾我该怎么改啊?谢谢拉!