IDE setup
By the code scape team
What is an IDE
An IDE ( Integrated Development Environment ) is a software that
help programmers write, test, run and debug code.
Think about mechanical engineering. How difficult it will be for a
mechanical engineer to fix an engine outside a workshop.
Now think of doctors and scientist .How difficult will it be for a
scientist to carry out experiment outside a laboratory.
Software engineers need IDEs as their workshop to write, run and fix
code.
IDEs contain tools that help programmers create software
for example some IDEs have project management features, and some
have built in suggestion engine to improve speed.
You will understand more about this so worry not
Before we move on it is wise for us to name some of the IDEs tha we
know
Here are mine: Visual studio code, code blocks, Brackets etc…..
Types of IDEs
Language Specific IDEs
Multi-language IDEs
Language specific IDEs
This are IDEs built for a specific programing language.
For example Code blocks is built for C and C++.
Multi-language IDEs
These IDEs are built to support many programming languages
For example, visual studio code.
Setting up coding space
On this quarter we will be learning C programming so lets now focus
on C programing IDEs.
Note: All code Scape student will be using Code blocks for Windows
because of its simple interface that make it an ideal for beginners.
On mobile apps we recommend “C coding” found on play store.
These IDEs are offline IDEs so data shortages are not gonna stop us from
learning, writing and testing codes.
Steps for setting up “C coding app” on mobile devices
open google playstore
Type “c coding” on the search bar provided
Click the first suggestion and install
After installation , open the app, you will see a space to write something.
Type the following code and run
#include <stdio.h>
int main(){
printf(“Hello world”);
return 0;
}
Don’t focus much on understanding the code because this is what you are
about to learn.
Click run on the top right corner
Expected result
The code should output “hello world” on a blank screen.
Setting up code blocks for windows
Visit (www.codeblocks.org/ )
Click the download button
Choose the installer type(codeblocks-20.03mingw-setupexe)
download
Click the downloaded file and follow the on screen prompts
Accept the license agreement
Wait for it to install
Open code blocks by double clicking the icon
Click new project
Click “files”
Choose C/C++ source
Click Next, Next
you will be prompted to chose a programming language Choose C
and click Next
You will be prompted to choose file path, click the three dots at the
far right of the input bar given
Choose a folder you want to save you file write your file name for
example “my first C program” on the space given below and click
save
Then click finish
a text editing space will e displayed
On the space type
#include <stdio.h>
int main(){
printf(“Hello world”);
return 0;
}
Click “Build” on the navigation bar
Then click “build and run” on the drop down menu
Expected out put
Command prompt will automatically open and display a text “Hello
world”
Now clap hands for yourself because you are ready to go.
THE END
For assistant on IDE setup
Books to search: contact: 071 859 6126
Programming Learn programming for free
with #code scape
Dzeipapo Volume Contact : 071 859 6126 to join
(1-10) our free group
By the #code scape team