The Source Code we enter in the Computer is read by
an Compiler and first converted into Assembly Code and then the Assembly code
is converted to Binary Instructions which the Computer’s Hardware could follow.
You may find about how this happens in an electronic
course.
Now, How do we write our own code and Compile it?
For this you’ll need a Compiler on your PC, but that
might not be very user-friendly, so we suggest that you install a full IDE on
your PC, you may download DevC++ (https://sourceforge.net/projects/orwelldevcpp/)
or any other IDE on your Computer.
DevC++ (or literally any other IDE) has a very easy
user-interface, You may open a new file/project name it whatever you want but
make sure that you end it with .c extension for C source codes and .cpp for C++
source codes.
Exercise
Try Executing the Program we wrote in the previous
section in DevC++.
Comments
Post a Comment