You are on page 1of 2

The report of programing in C/C++

Xy dng chng trnh m phng mch in t s vi cc phn t c bn (u vo, AND, OR, XOR, NOT): - Cu trc ca mch c m t trong mt file u vo l mt biu thc logic VD: (not (A and B) xor (C or D)) or (C and A) Trong A, B, C, D l cc tn hiu logic vo (0/1) - Cc tn hiu u vo c cho trong mt file di dng: A B C D ... 0110 1101 0001 1101 ... - Hin th cc sng u vo v u ra trn mn hnh console (tng t nh trn nhng thm ct kt qu) Instructor: Dr.Dao Trung Kien Name of members: Trnh ong Dng gu n nh hm Cng inh Distribution: Trnh ong Dng Main coder, ideas, do report gu n nh Supporter, ideas hm Cng Minh: Supporter, ideas Working flow

Explanation The program will initial variables, then enter the input file to an array using enter (char *s) function. If file is not opened, print unable to read and end. If file is opened, tag data to each variable A, B, C, D and use them to calculate the function, finally display to screen and end.

You might also like