#### What Will I Learn? You can learn How to run C program in windows PC. This tutorial is simple and anyone can understand. If you have C program code then you can run any C program by following these simple step by step guide. - You will learn - C programming - You will learn - Execution of C programming - You will learn - Introduction of C programming #### Requirements a. MinGW-3.1.0-1.exe It is compiler. Click here to download latest - https://sourceforge.net/projects/mingw/files/latest/download?source=files b. Notepad.exe or notepad++.exe Notepad is inbuilt in windows PC. So you doesn't need to install Notepad application. - Example Requirement - MinGW - Example Requirement - Notepad #### Difficulty Basic #### Tutorial Contents ![image](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513172/v0w16soy0re9jnkcmiv6.png) * Introduction: C programming language is developed by Dennis M. Ritchie at T Bell Laboratories. C is general purpose high level language. C programming language was first used in DEC PDP-11 computer in 1972. C is procedural language. C is first language which is easy to implement and easy to understand. C is now widely used and popular programming language. C is small language comparing to others like C++, C#, Java, Python etc. C has only 32 keywords. C is basic platform to learn different complicated language. So C programming language is very important language. The UNIX operating system, some UNIX applications and some other operating systems are written in C language. C is developed to write program for UNIX operating system. C is updated version of B language which was developed in 1970. The C programming language was formalize by the ANSI. C is used to make applications, text editor, compiler, operating system etc. There was many uses of programming languages in computer. C is assembly language. ## * How to run C program in windows PC: In windows PC following steps are given to run C program. ### Requirements to run C program a. MinGW-3.1.0-1.exe It is compiler. Click here to download latest - https://sourceforge.net/projects/mingw/files/latest/download?source=files b. Notepad.exe or notepad++.exe Notepad is inbuilt in windows PC. So you doesn't need to install Notepad application. ### Step by step procedure to run C program in windows PC: Step 1: Install MinGW-3.1.0-1.exe and Notepad doesnβt need to install, because its inbuilt app in windows PC. This application install in C:\MinGW\bin directory. Step 2: Open Notepad. ![image](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513747/de1nw5abdvkimfpihhol.png) Step 3: Write a c program in Notepad. Here I write simple program in Notepad. ![image](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513662/pptbnbrbmaimkicf36eg.png) Step 4: Save program to directory C:\MinGW\bin and type file name as hello.c and You can type any file name but .c is compulsory after file name. ![image](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513817/zn7mr2hrgervsy3ahmjl.png) Step 5: Open command prompt which is inbuilt in windows PC. ![image](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513916/eaw5en4uvudxyhluzpyl.png) Step 6: Now go to file directory in command prompt by typing cd C:\MinGW\bin and enter then your window will appear like that. ![image](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513957/il03f27anytq3gnek4yg.png) Step 7: Then type gcc hello.c and enter. ![image](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513986/kvbypsaq75yyfztjjlge.png) Step 8: Then type a.exe and enter. ![image](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518514011/mfojnv1jwwjp3svtsqsj.png) Step 9: Then output of the program display as Hello World! ![image](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518514049/i8yu5w22vqkgs38ffvki.png) Step 10: Now type exit. #### Curriculum This is my first post on utopian.io <br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@tusharvasave/simple-step-by-step-guide-for-how-to-run-c-program-in-windows-pc">Utopian.io - Rewarding Open Source Contributors</a></em><hr/>
post_id | 32,328,930 | ||||||
---|---|---|---|---|---|---|---|
author | tusharvasave | ||||||
permlink | simple-step-by-step-guide-for-how-to-run-c-program-in-windows-pc | ||||||
category | utopian-io | ||||||
json_metadata | "{"type": "tutorials", "repository": {"owner": {"login": "Alexpux"}, "id": 14447732, "full_name": "Alexpux/MINGW-packages", "fork": false, "name": "MINGW-packages", "html_url": "https://github.com/Alexpux/MINGW-packages"}, "pullRequests": [], "format": "markdown", "image": ["https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513172/v0w16soy0re9jnkcmiv6.png"], "links": ["https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513172/v0w16soy0re9jnkcmiv6.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513747/de1nw5abdvkimfpihhol.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513662/pptbnbrbmaimkicf36eg.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513817/zn7mr2hrgervsy3ahmjl.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513916/eaw5en4uvudxyhluzpyl.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513957/il03f27anytq3gnek4yg.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1518513986/kvbypsaq75yyfztjjlge.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1518514011/mfojnv1jwwjp3svtsqsj.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1518514049/i8yu5w22vqkgs38ffvki.png"], "app": "utopian/1.0.0", "moderator": {"flagged": true, "account": "roj", "reviewed": false, "pending": false, "time": "2018-02-14T20:39:36.607Z"}, "platform": "github", "tags": ["utopian-io", "tutorial", "programming", "technology", "computer"], "community": "utopian"}" | ||||||
created | 2018-02-13 09:43:42 | ||||||
last_update | 2018-02-14 20:39:36 | ||||||
depth | 0 | ||||||
children | 7 | ||||||
net_rshares | 289,451,781,616 | ||||||
last_payout | 2018-02-20 09:43:42 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 1.312 SBD | ||||||
curator_payout_value | 0.356 SBD | ||||||
pending_payout_value | 0.000 SBD | ||||||
promoted | 0.000 SBD | ||||||
body_length | 4,215 | ||||||
author_reputation | 1,090,882,005,028 | ||||||
root_title | "Simple Step by Step Guide For - How to run C program in windows PC" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 SBD | ||||||
percent_steem_dollars | 10,000 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
team | 0 | 42,718,133,053 | 5% | ||
nickfost | 0 | 260,590,764 | 0.2% | ||
renzoarg | 0 | 772,299,738 | 0.2% | ||
dexter-k | 0 | 1,427,995,770 | 0.2% | ||
businesswri | 0 | 417,324,324 | 0.2% | ||
acwood | 0 | 383,399,002 | 0.2% | ||
staticinstance | 0 | 10,268,665,846 | 0.2% | ||
mxzn | 0 | 276,077,802 | 0.2% | ||
alphacore | 0 | 627,086,127 | 0.2% | ||
imransoudagar | 0 | 445,863,942 | 0.2% | ||
jonbit | 0 | 274,539,161 | 0.2% | ||
bigdeej | 0 | 2,094,483,434 | 0.2% | ||
gazur | 0 | 313,863,357 | 0.2% | ||
larrydavid4 | 0 | 460,889,570 | 0.2% | ||
grandpawhale | 0 | 20,961,530,205 | 0.2% | ||
prashantvasave | 0 | 610,254,549 | 100% | ||
techstudio18 | 0 | 612,697,518 | 100% | ||
funkie68 | 0 | 715,860,131 | 0.2% | ||
intuitivejakob | 0 | 314,314,921 | 0.2% | ||
tradingbroom | 0 | 290,602,725 | 0.2% | ||
embomb701 | 0 | 275,583,375 | 0.2% | ||
aghunter | 0 | 1,760,974,663 | 0.2% | ||
abhiswami54321 | 0 | 608,416,930 | 100% | ||
steemitstats | 0 | 2,054,778,831 | 5% | ||
steemspamx | 0 | 616,703,932 | 100% | ||
fresteem | 0 | 556,847,984 | 100% | ||
steemstorywriter | 0 | 604,395,713 | 100% | ||
steemphotostudio | 0 | 610,540,463 | 100% | ||
etherealstudios | 0 | 607,634,367 | 100% | ||
cryptoconnector | 0 | 352,756,424 | 0.2% | ||
clvr | 0 | 191,643,559,151 | 47% | ||
amicus | 0 | 278,772,315 | 0.2% | ||
timmylace | 0 | 285,970,898 | 0.2% | ||
laconic | 0 | 2,994,494,171 | 100% | ||
claraquarius | 0 | 1,871,026,109 | 5% | ||
dtubix | 0 | 82,854,351 | 50% |
@tusharvasave, Upvote for supporting you.
post_id | 32,329,211 |
---|---|
author | steemitstats |
permlink | 20180213t094507994z-post |
category | utopian-io |
json_metadata | "{"tags": ["utopian-io"]}" |
created | 2018-02-13 09:45:24 |
last_update | 2018-02-13 09:45:24 |
depth | 1 |
children | 2 |
net_rshares | 0 |
last_payout | 2018-02-20 09:45:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 41 |
author_reputation | 352,100,520,168 |
root_title | "Simple Step by Step Guide For - How to run C program in windows PC" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sahulinkan7 | 0 | 0 | 100% |
thanks @steemitstats
post_id | 32,331,363 |
---|---|
author | tusharvasave |
permlink | re-steemitstats-20180213t094507994z-post-20180213t095855239z |
category | utopian-io |
json_metadata | "{"app": "steemit/0.1", "users": ["steemitstats"], "tags": ["utopian-io"]}" |
created | 2018-02-13 09:58:54 |
last_update | 2018-02-13 09:58:54 |
depth | 2 |
children | 1 |
net_rshares | 0 |
last_payout | 2018-02-20 09:58:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 20 |
author_reputation | 1,090,882,005,028 |
root_title | "Simple Step by Step Guide For - How to run C program in windows PC" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sahulinkan7 | 0 | 0 | 100% |
can we discuss some output questions here in steemit ??????????
post_id | 54,941,233 |
---|---|
author | sahulinkan7 |
permlink | re-tusharvasave-re-steemitstats-post-20180630t170136711z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit\/0.1"} |
created | 2018-06-30 17:01:39 |
last_update | 2018-06-30 17:01:39 |
depth | 3 |
children | 0 |
net_rshares | 487,426,964 |
last_payout | 2018-07-07 17:01:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 63 |
author_reputation | 10,797,751,623 |
root_title | "Simple Step by Step Guide For - How to run C program in windows PC" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sahulinkan7 | 0 | 487,426,964 | 100% |
Simple and easy to understand. Its really helping for me to running C program and I followed your tutorial. It's really working. Thanks for sharing this tutorial. I am curious about your next tutorial post.
post_id | 32,335,144 |
---|---|
author | laconic |
permlink | re-tusharvasave-simple-step-by-step-guide-for-how-to-run-c-program-in-windows-pc-20180213t102057603z |
category | utopian-io |
json_metadata | "{"app": "steemit/0.1", "tags": ["utopian-io"]}" |
created | 2018-02-13 10:20:57 |
last_update | 2018-02-13 10:20:57 |
depth | 1 |
children | 1 |
net_rshares | 0 |
last_payout | 2018-02-20 10:20:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 206 |
author_reputation | 6,407,176,188,675 |
root_title | "Simple Step by Step Guide For - How to run C program in windows PC" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sahulinkan7 | 0 | 0 | 100% |
Thanks @laconic for positive comment. Yes. I will share my next tutorial soon.
post_id | 32,335,462 |
---|---|
author | tusharvasave |
permlink | re-laconic-re-tusharvasave-simple-step-by-step-guide-for-how-to-run-c-program-in-windows-pc-20180213t102240671z |
category | utopian-io |
json_metadata | "{"app": "steemit/0.1", "users": ["laconic"], "tags": ["utopian-io"]}" |
created | 2018-02-13 10:22:39 |
last_update | 2018-02-13 10:22:39 |
depth | 2 |
children | 0 |
net_rshares | 0 |
last_payout | 2018-02-20 10:22:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 78 |
author_reputation | 1,090,882,005,028 |
root_title | "Simple Step by Step Guide For - How to run C program in windows PC" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
Hi @tusharvasave. This tutorial is helping for me to run C program.
post_id | 32,335,728 |
---|---|
author | techstudio18 |
permlink | re-tusharvasave-simple-step-by-step-guide-for-how-to-run-c-program-in-windows-pc-20180213t102410245z |
category | utopian-io |
json_metadata | "{"app": "steemit/0.1", "users": ["tusharvasave"], "tags": ["utopian-io"]}" |
created | 2018-02-13 10:24:09 |
last_update | 2018-02-13 11:30:15 |
depth | 1 |
children | 1 |
net_rshares | 0 |
last_payout | 2018-02-20 10:24:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 67 |
author_reputation | 362,150,333,012 |
root_title | "Simple Step by Step Guide For - How to run C program in windows PC" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
Thank you @techstudio18.
post_id | 32,335,928 |
---|---|
author | tusharvasave |
permlink | re-techstudio18-re-tusharvasave-simple-step-by-step-guide-for-how-to-run-c-program-in-windows-pc-20180213t102526747z |
category | utopian-io |
json_metadata | "{"app": "steemit/0.1", "users": ["techstudio18"], "tags": ["utopian-io"]}" |
created | 2018-02-13 10:25:27 |
last_update | 2018-02-13 10:25:27 |
depth | 2 |
children | 0 |
net_rshares | 0 |
last_payout | 2018-02-20 10:25:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 24 |
author_reputation | 1,090,882,005,028 |
root_title | "Simple Step by Step Guide For - How to run C program in windows PC" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
Your contribution cannot be approved because it does not follow the [Utopian Rules](https://utopian.io/rules). - Tutorials for basic programming concepts are not approved. And also the repository you provided is not correct. Since there is no proper repository for general C/C++ contributions, there is no chance of approval. - Design or video editing related tutorials, gameplay, simple on-screen instructions, ubiquitous functions (Save, Open, Print, etc.) or basic programming concepts (variables, operators, loops, etc.) will not be accepted. You can contact us on [Discord](https://discord.gg/uTyJkNm). **[[utopian-moderator]](https://utopian.io/moderators)**
post_id | 32,677,561 |
---|---|
author | roj |
permlink | re-tusharvasave-simple-step-by-step-guide-for-how-to-run-c-program-in-windows-pc-20180214t204118482z |
category | utopian-io |
json_metadata | "{"app": "utopian/1.0.0", "community": "utopian", "tags": ["utopian-io"]}" |
created | 2018-02-14 20:41:18 |
last_update | 2018-02-14 20:41:18 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2018-02-21 20:41:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 668 |
author_reputation | 12,621,504,053,655 |
root_title | "Simple Step by Step Guide For - How to run C program in windows PC" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |