How do printf, scanf, cout, cin, work(want to know deeply)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How do printf, scanf, cout, cin, work(want to know deeply)?

12th Jul 2020, 4:51 PM
The future is now thanks to science
The future is now thanks to science - avatar
5 Answers
+ 2
Thanks for the reference
12th Jul 2020, 5:20 PM
The future is now thanks to science
The future is now thanks to science - avatar
+ 1
I think c++ is made by the basic language like assembly language and assembly language is connected with the electronic device.So working of c++ should be related to the assembly language or other language not with the electronic device.
12th Jul 2020, 5:36 PM
The future is now thanks to science
The future is now thanks to science - avatar
+ 1
~ swim ~ Programmer -> text editor -> compiler - > Assembly language -> Binary codes -> Operating System -> Hardware Chip # programmer writes the instructions in text editor then it executed by compiler # Compiler Converts into machine codes (Binary Codes) # OS is responsible for to feed the software to right hardware (Line by line instructions that converted into binary Codes Then line by line instruction stored into ROM ROM - Read only memory (storage purpose) Then it's executed via RAM RAM-Random access Memory (Temporary storage device has capable to execution purpose) Then executed by processor (combination of IC's) After that it returns the result (instruction has error or not) To the Display port or other output ports If u want learn more deeply study about Digital VLSI design
13th Jul 2020, 4:04 AM
Suren🇮🇳
Suren🇮🇳 - avatar
+ 1
~ swim ~ Fine👍
13th Jul 2020, 8:53 AM
Suren🇮🇳
Suren🇮🇳 - avatar
0
Learn about electronic device # Resister # Capacitor # Transistors # IC's # Pulse generators and modulators # Ram & Rom # Finally VLSI and Machine learning Then you get the logic behind this 🤗
12th Jul 2020, 5:24 PM
Suren🇮🇳
Suren🇮🇳 - avatar