NEWOPER.CPP
上传用户:wszmarenbt
上传日期:2013-04-26
资源大小:2552k
文件大小:0k
源码类别:

Windows编程

开发平台:

Visual C++

  1. #include <iostream.h>
  2. #include <math.h>
  3. int main(void)
  4. {   int gotoxy();
  5.     int puttext();
  6. char *BUFFER;
  7. int COLUMN,ROW;
  8.     gotoxy(10,10);
  9. cout<<"THIS IS JUST AN EXAMPLE!n";
  10. gotoxy(10,11);
  11. cout<<"WIDTH=24n";
  12. gotoxy(10,12);
  13. cout<<"HIGHT=3n";
  14. COLUMN=25;
  15. ROW=3;
  16. BUFFER=new char[COLUMN*ROW*2];
  17. gettext(10,10,10+COLUMN,10+ROW,BUFFER);
  18. puttext(50,20,50+COLUMN,20+ROW,BUFFER);
  19. delete BUFFER;
  20. return 0;
  21. }