struct _LCD_print_bufforS { int screenID; int cursor1; int cursor2; int character ; long time_seq_id; long time_min_run; } ; typedef struct _LCD_print_bufforS _LCD_print_bufforT; //struct LCDarray1S { // char LCDarray1[16]; //} struct _LCD_print_screenS { int screenID; char LCDarray1; char LCDarray2; long time_seq_id; long time_min_run; // _LCD_print_bufforT ; } ; typedef struct _LCD_print_screenS _LCD_print_screensT; int b_ascii_value = character; /* struct record { int bookId; int qtyInStock; }; typedef struct record Record; void sold(int id, Record* records) { int i; for(i=0;i<3;i++) { if(records[i].bookId == id) { records[i].qtyInStock--; } } } */ /* void updateId(int id, int new_id, Record* records) { int i; for(i=0;i<3;i++) { if(records[i].bookId == id) { records[i].bookid = new_id; } } } */ /* void updateQty(int id, int new_qty, Record* records) { int i; for(i=0;i<3;i++) { if(records[i].bookId == id) { records[i].qtyInStock = new_qty; } } } */ } String make_str16(String str){ for(int i = 0; i < (16 - str.length()); i++) str += ' '; return str; }