- Go
to where your turbo IDE is installed.
- Copy
the path of file named "tcc.exe".
- Go
to "My Computer">"Properties">"Advanced
System Setting">"Environment
Variables">"Path">"Edit" now paste the path
at the end of text field after adding ";"(Semi colen)then
"ok".
- Now
open notepad and write your code and save it in desired disk or dir(I
stored mine in "D:\" named "Hello.cpp" ).
- To
compile file open command prompt and go to the disk or dir where your file
is save and type"tcc filename"(i go to "D:\" and
type "tcc Hello") and hit enter your file compiled(if you do not
have any error).To execute it write "filename.exe"(for me
"Hello.exe").
- If
your program have any error the error is shown on compile time(as i remove
conio.h hence he program give prototype error for clrscr() and getch())
- ----Thank
You "By- Harsh Rawat"
Use Turbo C++ IDE in Full Screen in Windows 7
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment