SlideShare a Scribd company logo
1 of 12
How to write first C program with Code Blocks
Sourav Ganguly
Please visit my Youtube channel
Step 1: go to www.google.com
Step 2: Search for “sourav ganguly c programming”.
Step 3: Click on my image bottom of the video. You will reach my
channel.
Youtube (direct link):
https://www.youtube.com/channel/UCDsQskBhM107VIYLjg8kczg
Website:
http://www.startselfstudy.blogspot.in
Copyright © 2015 · Sourav Ganguly · All Rights
Reserved.
Index
Step 1: Goto http://www.google.com
Step 2: Search for “Code Blocks”.
Step 3: Go to Code Blocks website.
Step 4: Go to download section of Code Blocks site.
Step 5: Click on “binaries”.
Step 6: Download “setup.exe” file of desire version of Code
Blocks.
[Check my YouTube channel for live demo]
How to install Code Blocks on your computer
Step 1: Go to “Code Blocks icon” and double click.
Step 2: Go to “Create a new project”.
Step 3: Select “Console application”.
Step 4: Click on “Go” button.
Step 5: Click on “next” button on next window.
Step 6: Select “C option”.
Step 7: Click on “next” button.
[Check my YouTube channel for live demo]
How to run “Hello World” on Code Blocks….. (contd.)
Step 8: Give a “project title” by your choice.
Step 9: In next option Browse and choose “destination folder”.
Step 10: Click on “next” button.
Step 11: Click on “Finish” button on next window.
Step 12: Double Click on “Sources”.
Step 13: Double Click on “main.c”.
Step 14: Read the program carefully.
[Check my YouTube channel for live demo]
How to run “Hello World” on Code Blocks….. (contd.)
Step 15: To compile this program. Click on “Build” option
and again “Build” option in dropdown menu.
Step 16: To run this program. Click on “Build” option
and click on “Run” option in dropdown menu.
Step 17: You will get the output screen with output “Hello
World”
[Check my YouTube channel for live demo]
How to run “Hello World” on Code Blocks….. (contd.)
Step 1: Go to “Code Blocks icon” and double click.
Step 2: Go to “Create a new project”.
Step 3: Select “Console application”.
Step 4: Click on “Go” button.
Step 5: Click on “next” button on next window.
Step 6: Select “C option”.
Step 7: Click on “next” button.
[Check my YouTube channel for live demo]
How to run your own program on Code Blocks… (contd.)
Step 8: Give a “project title” by your choice.
Step 9: In next option Browse and choose “destination folder”.
Step 10: Click on “next” button.
Step 11: Click on “Finish” button on next window.
Step 12: Double Click on “Sources”.
Step 13: Double Click on “main.c”.
Step 14: Read the program carefully.
[Check my YouTube channel for live demo]
How to run your own program on Code Blocks… (contd.)
Step 15: Click on “File” option and then “new” option in
dropdown menu and then click on “empty file”
option.
Step 16: Click “yes” to add this new file in same project.
Step 17: Give a file name with “.c” extension. Ex: “abc.c”
Step 18: Click on “save”.
Step 19: For debug and release click on “ok”.
Step 20: Now write your program.
Step 21: Click on “File” option and then click “save all files”
[Check my YouTube channel for live demo]
How to run your own program on Code Blocks… (contd.)
Step 15: Click on “File” option and then click “Quit”.
Step 16: Click on “save” in the dialog box.
Step 17: Go to “Code Blocks icon” and double click.
Step 18: Go to “Open an existing project”.
Step 19: Select your newly created file with “.c” extension.
Step 20: Click on “open”.
Step 21: Now “Build” and “Run” your program.
[Check my YouTube channel for live demo]
How to run your own program on Code Blocks… (contd.)
Sourav Ganguly
Please visit my Youtube channel
Step 1: go to www.google.com
Step 2: Search for “sourav ganguly c programming”.
Step 3: Click on my image bottom of the video. You will reach my
channel.
Youtube (direct link):
https://www.youtube.com/channel/UCDsQskBhM107VIYLjg8kczg
Website:
http://www.startselfstudy.blogspot.in
Copyright © 2015 · Sourav Ganguly · All Rights
Reserved.

More Related Content

What's hot (20)

Regular Expressions
Regular ExpressionsRegular Expressions
Regular Expressions
 
Java Notes
Java Notes Java Notes
Java Notes
 
Applets in java
Applets in javaApplets in java
Applets in java
 
2.1 graphics window
2.1   graphics window2.1   graphics window
2.1 graphics window
 
How to create gmail account
How to create gmail account How to create gmail account
How to create gmail account
 
Event handling
Event handlingEvent handling
Event handling
 
Java eventhandling
Java eventhandlingJava eventhandling
Java eventhandling
 
Python
PythonPython
Python
 
2CPP14 - Abstraction
2CPP14 - Abstraction2CPP14 - Abstraction
2CPP14 - Abstraction
 
Python Programming Essentials - M24 - math module
Python Programming Essentials - M24 - math modulePython Programming Essentials - M24 - math module
Python Programming Essentials - M24 - math module
 
JavaFX
JavaFXJavaFX
JavaFX
 
Python GUI Programming
Python GUI ProgrammingPython GUI Programming
Python GUI Programming
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
 
Lecture 1 introduction to vb.net
Lecture 1   introduction to vb.netLecture 1   introduction to vb.net
Lecture 1 introduction to vb.net
 
Java arrays
Java    arraysJava    arrays
Java arrays
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Vb.net tutorial
Vb.net tutorialVb.net tutorial
Vb.net tutorial
 
Event Handling in java
Event Handling in javaEvent Handling in java
Event Handling in java
 
Event handling in Java(part 1)
Event handling in Java(part 1)Event handling in Java(part 1)
Event handling in Java(part 1)
 
Features of java
Features of javaFeatures of java
Features of java
 

Viewers also liked

C program language tutorial pattern printing
C program language tutorial pattern printingC program language tutorial pattern printing
C program language tutorial pattern printingSourav Ganguly
 
C programming language character set keywords constants variables data types
C programming language character set keywords constants variables data typesC programming language character set keywords constants variables data types
C programming language character set keywords constants variables data typesSourav Ganguly
 
Reede for integrated POP display
Reede for  integrated POP displayReede for  integrated POP display
Reede for integrated POP displayKaren Chen
 
ศิลป์ ทวารวดี ศรีวิชัย ลพบุรี
ศิลป์ ทวารวดี ศรีวิชัย ลพบุรีศิลป์ ทวารวดี ศรีวิชัย ลพบุรี
ศิลป์ ทวารวดี ศรีวิชัย ลพบุรีPattharapong Sirisuwan
 
Classroom management approaches and Theories and models of classroom management
Classroom management approaches and Theories and models of classroom managementClassroom management approaches and Theories and models of classroom management
Classroom management approaches and Theories and models of classroom managementyusnithamerang
 
Facultad de ingenieria de sistemas uniremignton engenier 2010
Facultad de ingenieria de sistemas uniremignton engenier 2010Facultad de ingenieria de sistemas uniremignton engenier 2010
Facultad de ingenieria de sistemas uniremignton engenier 2010Miguel Angel Guevara
 
Top7ReasonsPreventativeMaintenanceCity
Top7ReasonsPreventativeMaintenanceCityTop7ReasonsPreventativeMaintenanceCity
Top7ReasonsPreventativeMaintenanceCityAlecia Flahiff
 
RAKESH_KUMAR_ANGURAL_14Sep2015(long)
RAKESH_KUMAR_ANGURAL_14Sep2015(long)RAKESH_KUMAR_ANGURAL_14Sep2015(long)
RAKESH_KUMAR_ANGURAL_14Sep2015(long)Rakesh Angural
 
William Professional Resume
William Professional ResumeWilliam Professional Resume
William Professional ResumeWilliam Bullock
 
y-HR-Loama - LinkedIn
y-HR-Loama - LinkedIny-HR-Loama - LinkedIn
y-HR-Loama - LinkedInEmad Qabbani
 

Viewers also liked (15)

OpenWare ThinkGIS
OpenWare ThinkGISOpenWare ThinkGIS
OpenWare ThinkGIS
 
CV[1]
CV[1]CV[1]
CV[1]
 
C program language tutorial pattern printing
C program language tutorial pattern printingC program language tutorial pattern printing
C program language tutorial pattern printing
 
C programming language character set keywords constants variables data types
C programming language character set keywords constants variables data typesC programming language character set keywords constants variables data types
C programming language character set keywords constants variables data types
 
Reede for integrated POP display
Reede for  integrated POP displayReede for  integrated POP display
Reede for integrated POP display
 
سورة يوسف دراسة تحليلية
سورة يوسف دراسة تحليليةسورة يوسف دراسة تحليلية
سورة يوسف دراسة تحليلية
 
ศิลป์ ทวารวดี ศรีวิชัย ลพบุรี
ศิลป์ ทวารวดี ศรีวิชัย ลพบุรีศิลป์ ทวารวดี ศรีวิชัย ลพบุรี
ศิลป์ ทวารวดี ศรีวิชัย ลพบุรี
 
Classroom management approaches and Theories and models of classroom management
Classroom management approaches and Theories and models of classroom managementClassroom management approaches and Theories and models of classroom management
Classroom management approaches and Theories and models of classroom management
 
Facultad de ingenieria de sistemas uniremignton engenier 2010
Facultad de ingenieria de sistemas uniremignton engenier 2010Facultad de ingenieria de sistemas uniremignton engenier 2010
Facultad de ingenieria de sistemas uniremignton engenier 2010
 
Top7ReasonsPreventativeMaintenanceCity
Top7ReasonsPreventativeMaintenanceCityTop7ReasonsPreventativeMaintenanceCity
Top7ReasonsPreventativeMaintenanceCity
 
RAKESH_KUMAR_ANGURAL_14Sep2015(long)
RAKESH_KUMAR_ANGURAL_14Sep2015(long)RAKESH_KUMAR_ANGURAL_14Sep2015(long)
RAKESH_KUMAR_ANGURAL_14Sep2015(long)
 
رضا مصطفوی طباطبایی
رضا مصطفوی طباطباییرضا مصطفوی طباطبایی
رضا مصطفوی طباطبایی
 
William Professional Resume
William Professional ResumeWilliam Professional Resume
William Professional Resume
 
Estadisticas veredal 6
Estadisticas veredal 6Estadisticas veredal 6
Estadisticas veredal 6
 
y-HR-Loama - LinkedIn
y-HR-Loama - LinkedIny-HR-Loama - LinkedIn
y-HR-Loama - LinkedIn
 

Similar to How to write c program with code blocks

Csharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoCsharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoMamgmo Magnda
 
Jenkins CI/CD setup for iOS in Mac OSX
Jenkins CI/CD setup for iOS in Mac OSXJenkins CI/CD setup for iOS in Mac OSX
Jenkins CI/CD setup for iOS in Mac OSXGagan Vishal Mishra
 
Visual c++ 2010_tutorial
Visual c++ 2010_tutorialVisual c++ 2010_tutorial
Visual c++ 2010_tutorialAyub Abd Rahman
 
Containers Lab
Containers Lab Containers Lab
Containers Lab Dev_Events
 
CIS 170 Education Specialist / snaptutorial.com
CIS 170  Education Specialist / snaptutorial.comCIS 170  Education Specialist / snaptutorial.com
CIS 170 Education Specialist / snaptutorial.comMcdonaldRyan138
 
CIS 170 Effective Communication - tutorialrank.com
CIS 170 Effective Communication - tutorialrank.comCIS 170 Effective Communication - tutorialrank.com
CIS 170 Effective Communication - tutorialrank.comBartholomew19
 
CIS 170 Exceptional Education - snaptutorial.com
CIS 170   Exceptional Education - snaptutorial.comCIS 170   Exceptional Education - snaptutorial.com
CIS 170 Exceptional Education - snaptutorial.comDavisMurphyB33
 
Cis 170 Education Organization -- snaptutorial.com
Cis 170   Education Organization -- snaptutorial.comCis 170   Education Organization -- snaptutorial.com
Cis 170 Education Organization -- snaptutorial.comDavisMurphyB99
 
CIS 170 Inspiring Innovation/tutorialrank.com
 CIS 170 Inspiring Innovation/tutorialrank.com CIS 170 Inspiring Innovation/tutorialrank.com
CIS 170 Inspiring Innovation/tutorialrank.comjonhson110
 
Cis 170 Education Organization / snaptutorial.com
Cis 170 Education Organization / snaptutorial.comCis 170 Education Organization / snaptutorial.com
Cis 170 Education Organization / snaptutorial.comBaileya126
 
Cis 170 c Enhance teaching / snaptutorial.com
Cis 170 c  Enhance teaching / snaptutorial.comCis 170 c  Enhance teaching / snaptutorial.com
Cis 170 c Enhance teaching / snaptutorial.comHarrisGeorg51
 
Cis 170 c ilab 1 of 7 getting started
Cis 170 c ilab 1 of 7 getting startedCis 170 c ilab 1 of 7 getting started
Cis 170 c ilab 1 of 7 getting startedCIS321
 
Cis 170 Effective Communication / snaptutorial.com
Cis 170 Effective Communication / snaptutorial.comCis 170 Effective Communication / snaptutorial.com
Cis 170 Effective Communication / snaptutorial.comBaileyao
 
CIS 170 Inspiring Innovation -- cis170.com
CIS 170 Inspiring Innovation -- cis170.comCIS 170 Inspiring Innovation -- cis170.com
CIS 170 Inspiring Innovation -- cis170.comkopiko104
 
CIS 170 Become Exceptional--cis170.com
CIS 170 Become Exceptional--cis170.comCIS 170 Become Exceptional--cis170.com
CIS 170 Become Exceptional--cis170.comclaric131
 
Getting started with_graphics
Getting started with_graphicsGetting started with_graphics
Getting started with_graphicsPyayNA
 
CIS 170 Achievement Education--cis170.com
CIS 170 Achievement Education--cis170.comCIS 170 Achievement Education--cis170.com
CIS 170 Achievement Education--cis170.comagathachristie170
 

Similar to How to write c program with code blocks (20)

Csharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoCsharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul Yao
 
Jenkins CI/CD setup for iOS in Mac OSX
Jenkins CI/CD setup for iOS in Mac OSXJenkins CI/CD setup for iOS in Mac OSX
Jenkins CI/CD setup for iOS in Mac OSX
 
Visual c++ 2010_tutorial
Visual c++ 2010_tutorialVisual c++ 2010_tutorial
Visual c++ 2010_tutorial
 
Summary Of Polycom Cast App
Summary Of Polycom Cast AppSummary Of Polycom Cast App
Summary Of Polycom Cast App
 
Containers Lab
Containers Lab Containers Lab
Containers Lab
 
CIS 170 Education Specialist / snaptutorial.com
CIS 170  Education Specialist / snaptutorial.comCIS 170  Education Specialist / snaptutorial.com
CIS 170 Education Specialist / snaptutorial.com
 
CIS 170 Effective Communication - tutorialrank.com
CIS 170 Effective Communication - tutorialrank.comCIS 170 Effective Communication - tutorialrank.com
CIS 170 Effective Communication - tutorialrank.com
 
CIS 170 Exceptional Education - snaptutorial.com
CIS 170   Exceptional Education - snaptutorial.comCIS 170   Exceptional Education - snaptutorial.com
CIS 170 Exceptional Education - snaptutorial.com
 
Cis 170 Education Organization -- snaptutorial.com
Cis 170   Education Organization -- snaptutorial.comCis 170   Education Organization -- snaptutorial.com
Cis 170 Education Organization -- snaptutorial.com
 
CIS 170 Inspiring Innovation/tutorialrank.com
 CIS 170 Inspiring Innovation/tutorialrank.com CIS 170 Inspiring Innovation/tutorialrank.com
CIS 170 Inspiring Innovation/tutorialrank.com
 
Cis 170 Education Organization / snaptutorial.com
Cis 170 Education Organization / snaptutorial.comCis 170 Education Organization / snaptutorial.com
Cis 170 Education Organization / snaptutorial.com
 
Cis 170 c Enhance teaching / snaptutorial.com
Cis 170 c  Enhance teaching / snaptutorial.comCis 170 c  Enhance teaching / snaptutorial.com
Cis 170 c Enhance teaching / snaptutorial.com
 
Cis 170 c ilab 1 of 7 getting started
Cis 170 c ilab 1 of 7 getting startedCis 170 c ilab 1 of 7 getting started
Cis 170 c ilab 1 of 7 getting started
 
CI & CD- mobile application
CI & CD- mobile applicationCI & CD- mobile application
CI & CD- mobile application
 
CI & CD- mobile application
CI & CD- mobile applicationCI & CD- mobile application
CI & CD- mobile application
 
Cis 170 Effective Communication / snaptutorial.com
Cis 170 Effective Communication / snaptutorial.comCis 170 Effective Communication / snaptutorial.com
Cis 170 Effective Communication / snaptutorial.com
 
CIS 170 Inspiring Innovation -- cis170.com
CIS 170 Inspiring Innovation -- cis170.comCIS 170 Inspiring Innovation -- cis170.com
CIS 170 Inspiring Innovation -- cis170.com
 
CIS 170 Become Exceptional--cis170.com
CIS 170 Become Exceptional--cis170.comCIS 170 Become Exceptional--cis170.com
CIS 170 Become Exceptional--cis170.com
 
Getting started with_graphics
Getting started with_graphicsGetting started with_graphics
Getting started with_graphics
 
CIS 170 Achievement Education--cis170.com
CIS 170 Achievement Education--cis170.comCIS 170 Achievement Education--cis170.com
CIS 170 Achievement Education--cis170.com
 

Recently uploaded

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 

Recently uploaded (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 

How to write c program with code blocks

  • 1. How to write first C program with Code Blocks
  • 2. Sourav Ganguly Please visit my Youtube channel Step 1: go to www.google.com Step 2: Search for “sourav ganguly c programming”. Step 3: Click on my image bottom of the video. You will reach my channel. Youtube (direct link): https://www.youtube.com/channel/UCDsQskBhM107VIYLjg8kczg Website: http://www.startselfstudy.blogspot.in Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
  • 4. Step 1: Goto http://www.google.com Step 2: Search for “Code Blocks”. Step 3: Go to Code Blocks website. Step 4: Go to download section of Code Blocks site. Step 5: Click on “binaries”. Step 6: Download “setup.exe” file of desire version of Code Blocks. [Check my YouTube channel for live demo] How to install Code Blocks on your computer
  • 5. Step 1: Go to “Code Blocks icon” and double click. Step 2: Go to “Create a new project”. Step 3: Select “Console application”. Step 4: Click on “Go” button. Step 5: Click on “next” button on next window. Step 6: Select “C option”. Step 7: Click on “next” button. [Check my YouTube channel for live demo] How to run “Hello World” on Code Blocks….. (contd.)
  • 6. Step 8: Give a “project title” by your choice. Step 9: In next option Browse and choose “destination folder”. Step 10: Click on “next” button. Step 11: Click on “Finish” button on next window. Step 12: Double Click on “Sources”. Step 13: Double Click on “main.c”. Step 14: Read the program carefully. [Check my YouTube channel for live demo] How to run “Hello World” on Code Blocks….. (contd.)
  • 7. Step 15: To compile this program. Click on “Build” option and again “Build” option in dropdown menu. Step 16: To run this program. Click on “Build” option and click on “Run” option in dropdown menu. Step 17: You will get the output screen with output “Hello World” [Check my YouTube channel for live demo] How to run “Hello World” on Code Blocks….. (contd.)
  • 8. Step 1: Go to “Code Blocks icon” and double click. Step 2: Go to “Create a new project”. Step 3: Select “Console application”. Step 4: Click on “Go” button. Step 5: Click on “next” button on next window. Step 6: Select “C option”. Step 7: Click on “next” button. [Check my YouTube channel for live demo] How to run your own program on Code Blocks… (contd.)
  • 9. Step 8: Give a “project title” by your choice. Step 9: In next option Browse and choose “destination folder”. Step 10: Click on “next” button. Step 11: Click on “Finish” button on next window. Step 12: Double Click on “Sources”. Step 13: Double Click on “main.c”. Step 14: Read the program carefully. [Check my YouTube channel for live demo] How to run your own program on Code Blocks… (contd.)
  • 10. Step 15: Click on “File” option and then “new” option in dropdown menu and then click on “empty file” option. Step 16: Click “yes” to add this new file in same project. Step 17: Give a file name with “.c” extension. Ex: “abc.c” Step 18: Click on “save”. Step 19: For debug and release click on “ok”. Step 20: Now write your program. Step 21: Click on “File” option and then click “save all files” [Check my YouTube channel for live demo] How to run your own program on Code Blocks… (contd.)
  • 11. Step 15: Click on “File” option and then click “Quit”. Step 16: Click on “save” in the dialog box. Step 17: Go to “Code Blocks icon” and double click. Step 18: Go to “Open an existing project”. Step 19: Select your newly created file with “.c” extension. Step 20: Click on “open”. Step 21: Now “Build” and “Run” your program. [Check my YouTube channel for live demo] How to run your own program on Code Blocks… (contd.)
  • 12. Sourav Ganguly Please visit my Youtube channel Step 1: go to www.google.com Step 2: Search for “sourav ganguly c programming”. Step 3: Click on my image bottom of the video. You will reach my channel. Youtube (direct link): https://www.youtube.com/channel/UCDsQskBhM107VIYLjg8kczg Website: http://www.startselfstudy.blogspot.in Copyright © 2015 · Sourav Ganguly · All Rights Reserved.