Từ 1 tới 3 trên tổng số 3 kết quả

Đề tài: Lỗi '_AX' : undeclared identifier

  1. #1
    Ngày gia nhập
    01 2013
    Bài viết
    1

    Mặc định Lỗi '_AX' : undeclared identifier

    Tình hình là em có đoạn code này
    Code:
    #include"stdafx.h"
    #include"iostream"
    #include"math.h"
    #include"conio.h"
    #include"stdio.h"
    #include"stdlib.h"
    #include"dos.h"
    #include"graphics.h"
    
    #define Enter 13
    
    #ifndef _MOU_H_
    #define _MOU_H_
    
    void mainc(void);
    void Graph(void);
    void Print(void);
    void Result(void);
    void help(void);
    
    void button(int x1,int y1,int x2,int y2,int color,char s[],int color_s,int size);
    void button2(int x1,int y1,int x2,int y2,int color,char s[],int color_s,int size);
    void button1(int x1,int y1,int x2,int y2,int color);
    void _line(int x1, int y1, int x2, int y2, int color);
    
    void Write_text(int x1, int y1,double x,char*s,int color);
    void Write_text1(int x1, int y1,int x,char*s,int color);
    void write_value(int*x,int*y,char*s);
    void read_value(int*x,int*y,char*s);
    
    double Nhap_p1(void);
    double Nhap_p2(void);
    double Nhap_p3(void);
    int Nhap_N(void);
    
    int mouse_x,mouse_y;
    int Reset_mouse(void)
    {
    	_AX=0;
    	geninterrupt(0x33);
    	return(_AX);
    }
    
    void Show_mouse(void)
    {
    	_AX=1;
    	geninterrupt(0x33);
    }
    
    void Hide_mouse(void)
    {
    	_AX=2;
    	geninterrupt(0x33);
    }
    
    int Click_mouse(void)
    {
    	_AX=3;
    	geninterrupt(0x33);
    	if(_BX==0)return 0;
    	if(_BX==1)return 1;
    	if(_BX==2)return 2;
    	return _BX;
    }
    
    void Move_mouse(int mouse_x1,int mouse_y1)
    {
    	_AX=4;
    	_CX=mouse_x1;
    	_DX=mouse_y1;
    	geninterrupt(0x33);
    }
    
    void Hori_mouse(int xmin,int xmax)
    {
    	_AX=7;
    	_CX=xmin;
    	_DX=xmax;
    	geninterrupt(0x33);
    }
    
    void Vert_mouse(int ymin,int ymax )
    {
    	_AX=8;
    	_CX=ymin;
    	_DX=ymax;
    	geninterrupt(0x33);
    }
    
    int  Win_mouse(int x1,int y1,int x2,int y2)
    {
    	_AX=3;
    	geninterrupt(0x33);
    	mouse_x=_CX;
    	mouse_y=_DX;
    	if(mouse_x>x1&&mouse_x<x2&&mouse_y>y1&&mouse_y<y2 ) return 1;
    	else return 0;
    }
    
    int DClick_mouse(void)
    {
    	_AX=0x05;
    	_BX=0;
    	geninterrupt(0x33);
    	_AX=1;
    	if(_BX==1)return 0;
    	if(_BX==2)return 1;
    	return _BX;
    }
    #endif
    
    void Write_text(int x1, int y1,double x,char*s,int color)
    {
    	gcvt(x,5,s);
    	setcolor(color);
    	outtextxy(x1,y1,s);
    }
    
    void Write_text1(int x1, int y1,int x,char*s,int color)
    {
    	itoa(x,s,10);
    	setcolor(color);
    	outtextxy(x1,y1,s);
    }
    
    void write_value(int*x,int*y,char*s)
    {
    	outtextxy(*x,*y,s);
    	*x+=textwidth(s);
    }
    
    void read_value(int*x,int*y,char*s)
    {
    	int i=0;char ch[2];
    	ch[1]=0;
    	while(1)
    	{
    		ch[0]=getch();
    		if(ch[0]==Enter) break;
    		write_value(x,y,ch);
    		s[i]=ch[0];
    		++i;
    	}
    	s[i]=0;
    }
    
    double Nhap_p1()
    {
    	int xp1=80,yp1=280;
    	char*sp1;
    	read_value(&xp1,&yp1,sp1);
    	return atof(sp1);
    }
    
    double Nhap_p2()
    {
    	int xp2=80,yp2=310;
    	char*sp2;
    	read_value(&xp2,&yp2,sp2);
    	return atof(sp2);
    }
    
    double Nhap_p3()
    {
    	int xp3=80,yp3=340;
    	char*sp3;
    	read_value(&xp3,&yp3,sp3);
    	return atof(sp3);
    }
    
    int Nhap_N()
    {
    	int xn=80,yn=370;
    	char*sn;
    	read_value(&xn,&yn,sn);
    	return atoi(sn);
    }
    
    void button(int x1,int y1,int x2,int y2,int color,char s[],int color_s,int size)
    {
    		setfillstyle(1,color);
    		bar(x1,y1,x2,y2);
    
    		setcolor(15);
    		setlinestyle(0,0,1);
    		line(x1,y1,x2,y1);
    		line(x1,y1,x1,y2);
    
    		setcolor(0);
    		line(x2,y2,x2,y1);
    		line(x2,y2,x1,y2);
    
    		settextjustify(1,1);
    		settextstyle(0,0,size);
    		setcolor(color_s);
    		outtextxy((x1+x2)/2,(y1+y2)/2,s);
    }
    
    void button2(int x1,int y1,int x2,int y2,int color,char s[],int color_s,int size)
    {
    		setfillstyle(1,color);
    		bar(x1,y1,x2,y2);
    
    		setcolor(0);
    		setlinestyle(0,0,1);
    		line(x1,y1,x2,y1);
    		line(x1,y1,x1,y2);
    
    		setcolor(15);
    		line(x2,y2,x2,y1);
    		line(x2,y2,x1,y2);
    
    		settextjustify(1,1);
    		settextstyle(0,0,size);
    		setcolor(color_s);
    		outtextxy((x1+x2)/2,(y1+y2)/2,s);
    }
    
    void button1(int x1,int y1,int x2,int y2,int color)
    {
    		setfillstyle(1,color);
    		bar(x1,y1,x2,y2);
    
    		setcolor(0);
    		setlinestyle(0,0,1);
    		line(x1,y1,x2,y1);
    		line(x1,y1,x1,y2);
    
    		setcolor(15);
    		line(x2,y2,x2,y1);
    		line(x2,y2,x1,y2);
    }
    
    void _line(int x1, int y1, int x2, int y2, int color)
    {
    		setcolor(color);
    		line(x1,y1,x2,y1);
    		line(x2,y1,x2,y2);
    		line(x2,y2,x1,y2);
    		line(x1,y2,x1,y1);
    }
    
    void help()
    {
    	int mh,mode;
    	mh=DETECT;mode=0;
    	initgraph(&mh,&mode,"..\\bgi");
    	setbkcolor(1);
    	cleardevice();
    	Reset_mouse();
    	Show_mouse();
    
    	_line(2,2,637,478,15);
    	_line(5,5,634,475,2);
    	_line(7,8,630,472,15);
    	_line(137,127,523,333,15);
    	_line(135,125,525,335,2);
    
    	settextstyle(7,0,1);
    	setcolor(5);
    	Hide_mouse();
    	button1(140,130,520,330,11);
    
    	setcolor(8);
    	settextjustify(0,0);
    	settextstyle(0,0,1);
    	outtextxy(146,150,"Phan mem mo phong va mo hinh hoa phien ban 1.0");
    	outtextxy(240,170,"Nhom sinh vien thiet ke:");
    	outtextxy(280,190,"Nguyen Le Hoa");
    	outtextxy(280,210,"Doan Phi Hung");
    	outtextxy(280,230,"Hoang Vu Hung");
    	outtextxy(280,250,"Lai Thien Hung");
    	outtextxy(165,270,"Phan mem duoc hoan thanh voi su giup do cua");
    	outtextxy(240,290,"PGS.TS Nguyen Cong Hien");
    	setcolor(12);
    	outtextxy(265,310,"-------***-------");
    	Show_mouse();
    	button(180,380,240,410,2,"Return",1,1);
    	button(420,380,480,410,2,"Exit",1,1);
    	while(1)
    	{
    		Click_mouse();
    		if(Win_mouse(180,380,240,410)==1&&Click_mouse()==1)
    		{
    			Hide_mouse();
    			button2(180,380,240,410,2,"Return",1,1);
    			delay(100);
    			button(180,380,240,410,2,"Return",1,1);
    			Show_mouse();
    			mainc();
    		}
    		if(Win_mouse(420,380,480,410)==1&&Click_mouse()==1)
    		{
    			Hide_mouse();
    			button2(420,380,480,410,2,"Exit",1,1);
    			delay(100);
    			button(420,380,480,410,2,"Exit",1,1);
    			Show_mouse();
    			exit(1);
    
    		}
    	}
    }
    
    void Graph(void)
    {
    	double p1,p2,p3,n1,Phttn[600],Phtlt;
    	int n,n0[600],i,N,N0[600],k;
    	char*st1;
    	setcolor(1);
    	p1=Nhap_p1();
    	p2=Nhap_p2();
    	p3=Nhap_p3();
    	Phtlt=1-(1-p1)*(1-p2)*(1-p3);
    	setcolor(RED);
    	outtextxy(250,80,"Phtlt=");
    	Write_text(300,80,Phtlt,st1,RED);
    	n0[0]=0;
    	for(i=0;i<=100;i++)
    	{
    		n=random(101);
    		n1=n*0.01;
    		if((n1<=p1)&(n1<=p2)&(n1<=p3))
    		n0[0]=n0[0]+1;
    	}
    	for(N=1;N<400;N++)
    	{
    		n=rand() % 100;
    		n1=n*0.01;
    		if((n1<=(1-p1))&(n1<=(1-p2))&(n1<=(1-p3)))
    		n0[N]=n0[N-1]+1;
    		else n0[N]=n0[N-1];
    		Phttn[N]= (N-n0[N])*0.1/(N);
    	}
    	setcolor(0);
    	moveto(200,290);
    	for(N=10;N<400;++N)
    	{
    		lineto(200+N,(int)(100-Phttn[N]*100));
    		delay(10);
    	}
    }
    
    void Result(void)
    {
    	double p1,p2,p3,N,n1,Phtlt,Phttn;
    	int n,i,N0;
    	char*st2,*st3;
    	setcolor(1);
    	p1=Nhap_p1();
    	p2=Nhap_p2();
    	p3=Nhap_p3();
    	N=Nhap_N();
    	Phtlt=1-(1-p1)*(1-p2)*(1-p3);
    	Write_text(510,380,Phtlt,st2,15);
    	N0=0;
    	for(i=1;i<=N;i++)
    	{
    		n=rand() % 100;
    		n1=n*0.01;
    		if((n1<=(1-p1))&(n1<=(1-p2))&(n1<=(1-p3)))
    		N0=N0+1;
    	}
    	Phttn=(N-N0)/N;
    	Write_text(510,400,Phttn,st3,15);
    }
    
    void Print(void)
    {
    	int mh=DETECT,mode=1;
    	char*st;
    	double p1,p2,p3,n1,Phttn[600],GT;
    	int x1,y1,n,n0[600],n2[600],i,N,N0[600],k;
    	initgraph(&mh,&mode,"..\\bgi");
    	setbkcolor(1);
    	cleardevice();
    
    	setcolor(1);
     p1=Nhap_p1();	p1=Nhap_p1();
     p2=Nhap_p2();	p2=Nhap_p2();
    	p3=Nhap_p3();
    
    	n0[0]=0; n2[0]=0;
    	for(i=0;i<=100;i++)
    	{
    		n=random(101);
    		n1=n*0.01;
    		if((n1<=(1-p1))&(n1<=(1-p2))&(n1<=(1-p3)))
    		n2[0]=n2[0]+1;
    		elsen0[0]=n0[0]+1;	n0[0]=n0[0]+1;
    	}
    	for(N=1;N<400;N++)
    	{
    		n=rand() % 100;
    		n1=n*0.01;
    		if((n1<=(1-p1))&(n1<=(1-p2))&(n1<=(1-p3)))
    		n0[N]=n0[N-1]+1;
    		else n0[N]=n0[N-1];
    		Phttn[N]= (N-n0[N])*0.1/(N);
    	}
    
    	_line(2,2,637,478,15);
    	_line(5,5,634,475,2);
    	_line(7,8,630,472,15);
    
    
    	x1=60;y1=100;GT=0;
    	for(i=1;i<400;i=i+4)
    	{
    		st=st+1;
    		GT=Phttn[i];
    		Write_text(x1,y1,GT,st,15);
    		x1=x1+140;
    		if(x1==620)
    		{
    		x1=60;
    		y1=y1+10;
    		}
    	}
    	outtextxy(200,50,"-----MOT SO GIA TRI CUA Pthtn-----");
    	Show_mouse();
    	button(280,380,340,410,2,"Home",1,1);
    	while(1)
    	{
    		Click_mouse();
    		if(Win_mouse(280,380,340,410)==1&&Click_mouse()==1)
    		{
    			Hide_mouse();
    			button2(280,380,340,410,2,"Home",1,1);
    			delay(100);
    			button(280,380,340,410,2,"Home",1,1);
    			Show_mouse();
    			mainc();
    		}
    
    	}
    }
    void mainc(void)
    {
    	long *p;
    	int mh=0,mode=0;
    	int  xmax ,ymax;
    	initgraph(&mh,&mode,"c:\\tc\\turboc\\tc\\bgi ");
    
    	cleardevice();
    	Reset_mouse();
    	Show_mouse();
    
    	setfillstyle(1,3);
    	xmax=getmaxx();
    	ymax=getmaxy();
    
    	bar(0,0,xmax,ymax);
    	Hide_mouse();
    
    	_line(2,2,637,478,15);
    	_line(5,5,634,475,13);
    	_line(7,8,630,472,15);
    
    	button1(200,50,600,291,15);
    	setcolor(0);
    
    	setlinestyle(1,0,1);
    	line(200,82,600,82);
    	line(200,108,600,108);
    	line(200,134,600,134);
    	line(200,160,600,160);
    	line(200,186,600,186);
    	line(200,212,600,212);
    	line(200,238,600,238);
    	line(200,264,600,264);
    
    	line(250,50,250,290);
    	line(300,50,300,290);
    	line(350,50,350,290);
    	line(400,50,400,290);
    	line(450,50,450,290);
    	line(500,50,500,290);
    	line(550,50,550,290);
    
    	setlinestyle(0,0,1);
    	line(200,50,195,55);
    	line(200,50,205,55);
    	line(600,291,595,286);
    	line(600,291,595,296);
    	Show_mouse();
    	settextstyle(0,0,1);
    	settextjustify(0,0);
    
    	setcolor(0);
    	outtextxy(250,30,"Do thi bieu dien gia tri Phttn");
    	settextstyle(0,0,1);
    	settextjustify(1,1);
    	outtextxy(200,300,"100");
    	outtextxy(250,300,"160");
    	outtextxy(300,300,"220");
    	outtextxy(350,300,"280");
    	outtextxy(400,300,"340");
    	outtextxy(450,300,"400");
    	outtextxy(500,300,"460");
    	outtextxy(550,300,"520");
    	outtextxy(600,300,"N");
    	outtextxy(195,40,"Phttn");
    
    	button(15,50,165,210,7,"",1,1);
    	button(15,220,165,430,7,"",1,1);
    	button(175,326,600,430,7,"",1,1);
    
    	setcolor(0);
    	outtextxy(400,360,"KET QUA MO PHONG");
    	outtextxy(350,380,"Do tin cay ly thuyet:      Phtlt=");
    	outtextxy(350,400,"Do tin cay thuc nghiem:    Phttn=");
    
    	outtextxy(90,240,"Nhap du lieu");
    	outtextxy(35,280,"p1");
    	outtextxy(35,310,"p2");
    	outtextxy(35,340,"p3");
    	outtextxy(35,370,"N");
    
    	button1(60,270,120,290,15);
    	button1(60,300,120,320,15);
    	button1(60,330,120,350,15);
    	button1(60,360,120,380,15);
    
    	setcolor(15);
    	button(25,70,75,100,2,"Help",1,1);
    	button(95,70,150,100,2,"Graph",1,1);
    	button(25,120,75,150,2,"Datain",1,1);
    	button(95,120,150,150,2,"Exit",1,1);
    	button(25,165,75,195,2,"Print",1,1);
    	button(95,165,150,195,2,"Reset",1,1);
    
    	while(1)
    	{
    		Click_mouse();
    		if( Win_mouse(25,70,75,100)==1&&Click_mouse()==1)
    		{
    			Hide_mouse();
    			button2(25,70,75,100,2,"Help",1,1);
    			delay(100);
    			button(25,70,75,100,2,"Help",1,1);
    			Show_mouse();
    			help();
    		}
    		if( Win_mouse(25,120,75,150)==1&&Click_mouse()==1)
    		{
    			 Hide_mouse();
    			 button2(25,120,75,150,2,"Datain",1,1);
    			 delay(100);
    			 button(25,120,75,150,2,"Datain",1,1);
    			 Show_mouse();
    			 Result();
    		}
    		if( Win_mouse(95,70,150,100)==1&&Click_mouse()==1)
    		{
    			Hide_mouse();
    			button2(95,70,150,100,3,"Graph",1,1);
    			delay(100);
    			button(95,70,150,100,2,"Graph",1,1);
    			Show_mouse();
    			Graph();
    		}
    		if(Win_mouse(95,120,150,150)==1&&Click_mouse()==1)
    		{
    			Hide_mouse();
    			button2(95,120,150,150,2,"Exit",1,1);
    			delay(100);
    			button(95,120,150,150,2,"Exit",1,1);
    			Show_mouse();
    			exit(1);
    		}
    		if(Win_mouse(95,165,150,195)==1&&Click_mouse()==1)
    		{
    			Hide_mouse();
    			button2(95,165,150,195,2,"Reset",1,1);
    			delay(100);
    			button2(95,165,150,195,2,"Reset",1,1);
    			Show_mouse();
    			mainc();
    		}
    		if(Win_mouse(25,165,75,195)==1&&Click_mouse()==1)
    		{
    			Hide_mouse();
    			button2(25,165,75,195,2,"Print",1,1);
    			delay(100);
    			button(25,165,75,195,2,"Print",1,1);
    			Show_mouse();
    			Print();
    		}
    	}
    }
    
    void main()
    {
    	mainc();
    }
    em chạy trên visual 8.0 không biết sao nó cứ báo lỗi

    Code:
    1>------ Build started: Project: mophong, Configuration: Debug Win32 ------
    1>Compiling...
    1>mophong.cpp
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(40) : error C2065: '_AX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(41) : error C3861: 'geninterrupt': identifier not found
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(42) : error C2065: '_AX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(47) : error C2065: '_AX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(48) : error C3861: 'geninterrupt': identifier not found
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(53) : error C2065: '_AX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(54) : error C3861: 'geninterrupt': identifier not found
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(59) : error C2065: '_AX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(60) : error C3861: 'geninterrupt': identifier not found
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(61) : error C2065: '_BX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(62) : error C2065: '_BX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(63) : error C2065: '_BX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(64) : error C2065: '_BX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(69) : error C2065: '_AX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(70) : error C2065: '_CX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(71) : error C2065: '_DX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(72) : error C3861: 'geninterrupt': identifier not found
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(77) : error C2065: '_AX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(78) : error C2065: '_CX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(79) : error C2065: '_DX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(80) : error C3861: 'geninterrupt': identifier not found
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(85) : error C2065: '_AX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(86) : error C2065: '_CX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(87) : error C2065: '_DX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(88) : error C3861: 'geninterrupt': identifier not found
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(93) : error C2065: '_AX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(94) : error C3861: 'geninterrupt': identifier not found
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(95) : error C2065: '_CX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(96) : error C2065: '_DX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(103) : error C2065: '_AX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(104) : error C2065: '_BX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(105) : error C3861: 'geninterrupt': identifier not found
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(106) : error C2065: '_AX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(107) : error C2065: '_BX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(108) : error C2065: '_BX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(109) : error C2065: '_BX' : undeclared identifier
    1>c:\users\admin\documents\visual studio 2008\projects\mophong\mophong\mophong.cpp(391) : error C2065: 'elsen0' : undeclared identifier
    1>Build log was saved at "file://c:\Users\Admin\Documents\Visual Studio 2008\Projects\mophong\mophong\Debug\BuildLog.htm"
    1>mophong - 37 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Ai biết chỉ dùm em với ah

  2. #2
    Ngày gia nhập
    01 2013
    Bài viết
    5

    Nêu bạn muốn sử dụng chuột trong DOS thì phải xài borlan c++.

  3. #3
    Ngày gia nhập
    06 2007
    Nơi ở
    C:\WINDOWS\system32\dllcache\
    Bài viết
    3,007

    Để sử dụng các thanh ghi trên vs thì ko dùng đến các _AX _DX như bạn dùng đâu,

    code ở trên nó là code trên TC hoặc BC bạn à
    ^_,^

    Tổng hợp các câu chuyện hài hước vui nhộn, sử dụng Speech Synthesis để đọc : https://www.youtube.com/channel/UCLk...Tjrg/playlists


    Bùi Tấn Quang

Các đề tài tương tự

  1. Bài tập C Lỗi error C2065: 'max' : undeclared identifier trong C
    Gửi bởi oracle95 trong diễn đàn Thắc mắc lập trình C/C++/C++0x
    Trả lời: 4
    Bài viết cuối: 18-10-2013, 02:16 PM
  2. Tắt VSync bằng cách OpenGL vẫn báo lỗi undeclared identifier
    Gửi bởi hsagduag trong diễn đàn Thắc mắc lập trình Visual C++
    Trả lời: 1
    Bài viết cuối: 23-05-2011, 01:21 PM
  3. Lỗi: error C2065: 'cout' : undeclared identifier trong thư viện iostream?
    Gửi bởi whitehawk trong diễn đàn Thắc mắc lập trình C/C++/C++0x
    Trả lời: 4
    Bài viết cuối: 15-03-2011, 10:29 PM
  4. lỗi "...undeclared identifier" trong vòng lặp for?
    Gửi bởi idid231 trong diễn đàn Nhập môn lập trình C/C++
    Trả lời: 19
    Bài viết cuối: 16-01-2011, 07:12 PM
  5. Lỗi Undeclared identifier
    Gửi bởi Lotches trong diễn đàn Thắc mắc lập trình Visual C++
    Trả lời: 1
    Bài viết cuối: 19-04-2009, 12:33 PM

Quyền hạn của bạn

  • Bạn không thể gửi đề tài mới
  • Bạn không thể gửi bài trả lời
  • Bạn không thể gửi các đính kèm
  • Bạn không thể chỉnh sửa bài viết của bạn