1. Tuyển Mod quản lý diễn đàn. Các thành viên xem chi tiết tại đây

Cứu Mạng!!!

Chủ đề trong 'Hỏi đáp Tin học' bởi Subasa_Ozora_new, 11/05/2003.

  1. 1 người đang xem box này (Thành viên: 0, Khách: 1)
  1. Subasa_Ozora_new

    Subasa_Ozora_new Thành viên quen thuộc

    Tham gia ngày:
    08/02/2002
    Bài viết:
    840
    Đã được thích:
    0
    Cứu Mạng!!!

    Có thiệt là hỏi gì đáp nấy không vậy? Su sory vì đã post 2 topic giống nhau, nhưng bài của Su gấp lắm, và đang rất cần các bác giúp.
    Chuyện là như vầy:

    Các bác hãy giúp giùm Su, Su đang làm 1 cái program bằng assembly language. Nhưng...không biết bắt đầu từ đâu. Các bác có thể giúp Su làm được không?

    Program đó là:
    Program Description:
    Write a program that will put two overlapping windows on the screen. Only one window at a time will be active at any time (the window that the user is allowed to type in). The <F3> key will be used to move between windows. The <Esc> key will be used to exit the program.

    Design Criteria:
    Use a structure for the windows (call it wndw). The fields should be the required parameters of FNC6, INT 10h. Once the structure is defined, declare variables ?~win1?T and ?~win2?T of type wndw.
    Name the procedure used to draw the windows create_win. It should receive only one parameter on the stack: the OFFSET (address) of either ?~win1?T or ?~win2?T create_win will use this address as an index into the particular structure. Obviously, ?~win1?T and ?~win2?T need to set up before calling create_win.
    The program will need two buffers for storing the windows when they are inactive. The buffers will have to be the size of the respective window.

    Testing:
    Start the program in window 1. Tye in three lines of letters and then hit <F3>. Program should have saved window 1 to its buffer and painted window 2 on top of the screen.
    Type in three lines of numbers in window 2. Toggle back and forth between the windows to ensure that they are restored properly and that there has been no intermingling.

    Sau khi làm xong, ngoài việc bầu 5 sao, Su xin hậu tạ sau.
    Các bạn có thể send qua address: ooskywingsoo@yahoo.com
    Hay là post thẳng ở đây cũng được.
    Su, cám ơn trước.

    Được kankuli sửa chữa / chuyển vào 16:49 ngày 11/05/2003

Chia sẻ trang này