how to create .exe file into .c file in c language anyone program (marksheet programe in c language)

5
Career Point University, Kota (Raj.) Topic : Create .exe file in C Prog. Presented to: Presented by: Mr. Mohnish Mr. Wakil Kumar Vidyarthi UID:K12467 B.Tech (CSE)

Upload: micro-software-designs-limited

Post on 11-Apr-2017

17 views

Category:

Engineering


2 download

TRANSCRIPT

Page 1: How to create .exe file into .c file in C Language anyone Program (Marksheet Programe in c language)

Career Point University, Kota (Raj.)

Topic : Create .exe file in C Prog.

Presented to: Presented by: Mr. Mohnish Mr. Wakil Kumar Vidyarthi UID:K12467 B.Tech (CSE) 4th Sem / 2nd Year

Page 2: How to create .exe file into .c file in C Language anyone Program (Marksheet Programe in c language)

Commands for Create .exe fileHello everyoneLet’s see how to make a .C file into .exe file using command prompt.I’m using CodeBlocks software any my compiler is mingw32-gccFirst setup the software Let’s see how to do that…Installing CodeBlocks software than closeOpen CodeBlocks folder and than mingw than open binWe are using mingw32-gcc Ok? Got it??Now right click on address bar and copy address than go to the Desktop and right click on (my computer) than click properties

Page 3: How to create .exe file into .c file in C Language anyone Program (Marksheet Programe in c language)

Than click Advanced system settings than Environment variables

Open my ComputerGo Advance settingFind path in the second box than press the edit

botton.Do not erase anything just put a; and paste that

addressClick OK again OK than closeThan press Windows key than type cmd than

open black screen than

Page 4: How to create .exe file into .c file in C Language anyone Program (Marksheet Programe in c language)

Type cd\ than enterNow look we are in c:\Users dir and enterType cd give a space type u and press tab button

type your computer name than enterJust type dir press enterNow type cd space pc’s name press enter cd WAKIL press entercd Desktopcd..you are back to pc’s name folder closed

Page 5: How to create .exe file into .c file in C Language anyone Program (Marksheet Programe in c language)

Now make a .c fileGo to your Desktop than right click than New

than Text document erase .txtThan type .c and Save fileIn write programe command into that .c file and

than we will make it a .exe filecd cd Userscd WAKILcd Desktop than press

Enter