Em đang làm bài tập ạ, đoạn code này em chưa hiểu lắm, chỗ dấu hai chấm và arrival_time(arrival_time), nhờ anh chị giải thích giúp em với ạ. em cảm ơn
struct Request {
Request(int arrival_time, int process_time):
arrival_time(arrival_time),
process_time(process_time)
{}
int arrival_time;
int process_time;
};
Code: https://pastebin.com/yugBQebp ( cái này em cop trên mạng ạ )
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?