Giáo án - Bài giảng: ABSOLUTE C++ : CHAPTER 1 - C++ BASICS
... 2006 Pearson Addison- Wesley. All rights reserved. 1- 1 0 Assigning Data: Shorthand Notations ♦ Display, page 14 Copyright © 2006 Pearson Addison- Wesley. All rights reserved. 1- 1 1 Data Assignment ... Pearson Addison- Wesley. All rights reserved. 1- 1 8 Arithmetic Operators: Display 1. 4 Named Constant (2 of 2) Copyright © 2006 Pearson Addison- Wesley. All rights reserved. 1-...
Ngày tải lên: 16/04/2014, 16:05
... j++) 9. { gotoxy (10 *j+3,i+3); 10 . printf(“a[%d][%d]=”, i , j ); 11 . scanf(“%d”, pa+i*6+j); 12 . } 13 . printf(“\n\n”); 14 . for (i=0 ; i<4 ; i++) 15 . { for (J=0 ; j<6 ; j++) 16 . printf(“ a[%d][%d]=%4d”, ... tam; 4. tam=*px; 5. *px=*py; 6. *py=tam; 7- } 8. void mainO 9. { int x=2; 10 . int y=3; 11 . hoanvi(&x,&y); 12 . printf(“\nx=%d,y=%d”,x,y); 13 . } 1. #i...
Ngày tải lên: 16/04/2014, 17:48
... a.init(); a.init(); //point::init() //point::init() a.display();//point::display() a.display();//point::display() point b; b.init(5); point b; b.init(5); //point::init(int ) //point::init(int ) ... b.display("point b - "); b.display("point b - "); //point::display(char *) //point::display(char *) point c; c.init(3 ,12 ); point c; c.init(3 ,12 );...
Ngày tải lên: 16/04/2014, 15:07