Run Programs

 RUN PROGRAMS IN YOUR COMPUTER SEE BELOW

1) C&C++




HOW TO RUN C&C++




Steps to run:


  • Open the download folder,
  • Click click to run Turbo c&c++,
  • Now Let’s start to write your program (file->new)
  • Compile the program (go to top and click compile or alt+f9)
  • run the program (go to top and click run or alt+f10)
2) JAVA
                                                     HOW TO RUN JAVA PROGRAM

Running a Java Program from Command Prompt

v Create a temporary folder C:\mywork.  Using Notepad or another text editor, create a small Java file HelloWorld.java with the following text:

v public class HelloWorld

v {

v   public static void main(String[] args)

v   {

v     System.out.println("Hello, World!");

v   }

o   }

v Save your file as HelloWorld.java in C:\mywork.  To make sure your file name is HeloWorld.java, (not HelloWorld.java.txt), first choose "Save as file type:" All files, then type in the file name HelloWorld.java.

v Run Command Prompt (found under All Programs/Accessories in the Start menu).  Type

o   C:\> cd \mywork

o   This makes C:\mywork the current directory.

o   C:\mywork> dir

o   This displays the directory contents.  You should see HelloWorld.java among the files.

o   C:\mywork> set path=%path%;C:\Program Files\Java\jdk1.5.0_09\bin

o   This tells the system where to find JDK programs.

o   C:\mywork> javac HelloWorld.java

o   This runs javac.exe, the compiler.  You should see nothing but the next system prompt...

o   C:\mywork> dir

o   javac has created the HelloWorld.class file.  You should see HelloWorld.java and HelloWorld.class among the files.

o   C:\mywork> java HelloWorld

o   This runs the Java interpreter.  You should see the program output:

 

o   Hello, World!
 3) HTML
HOW TO RUN HTML
RUN STEPS:

Ø  To run a HTML file on your computer you must have a browser.

o   If you made an HTML file in notepad or any other text editor, you have to save it as your-file-name.html .

o   Now go to the location the file is saved.

o   Open the file using any web browser such as Mozilla Firefox, Google Chrome etc.

o   Now you can view your HTML coding result

o   The browser automatically interprets you coding and displays it.



 4)ANDROID
HOW TO RUN ANDROID
  • If you have no adt(android development tool) bundle download at this link,(u place this at c: or d: that’s your choice)
steps to run android apps,games,etc…,
  • open adt bundle,
  • open the folder Eclipse,
  • right click on the eclipse application and select run as administrator,
  • now type the name u want to save the projects,
  • and now eclipse was opened,
  • then select window->view toolbar,
  • select the AVD manager in toolbar,
  • when dialogue box show appears now then select new on right side,
  • fill the boxes,select options,the click OK,
  • then click start on the right side then click launch,
  • now your android device will be shown,
  • then minimize it,and close the avd manager not device view,
IF YOU HAVE PROJECT ALREADY DO THIS:
  • now,go on left side of eclipse, right click->import->android->existing project->browse->import your project,
  • then right click on your project name,right click->run as ->android application
IF YOU CREATE A NEW PROJECT:
  • Go to File->new->android application project->then fill the form and create your project
NOTES:
IT’S not run easily any doubt cantact my mobile:9791472275
If you want to any project I will give u contact me
 
 
 
 
 







 


 


 

No comments:

Post a Comment