How to make your own software using notepad!!!!

Community Tested

Why choose wikiHow?
When you see the green checkmark on a wikiHow article, you know that the article has received careful review. In this case, we tested the instructions on our own devices and confirmed that the instructions worked.

How to Make a Program Using Notepad

Six Parts:

This wikiHow teaches you how to use your Windows computer's Notepad app to create a program. To do this, you'll type a program's code line-by-line into Notepad and then save the Notepad file as the programming language's preferred format.

Quick Summary

1. Open Notepad.
2. Enter your program's code.
3. ClickFile, then clickSave As....
4. Click the "Save as type" drop-down box, then clickAll Files.
5. Type the program's extension (e.g., ".html") at the end of the name in the "File name" text box.
6. ClickSave.

Did this summary help you?


General Tips

  1. Understand Notepad's limitations.You can technically write and run a program in Notepad using any coding language available, but you must for the program to run.
    • All Notepad files save as text documents by default.
  2. Find and open Notepad.The easiest way to open Notepad is by clickingStart , typing innotepad, and clicking the blue Notepad icon at the top of the Start window.
  3. Determine your programming language.Notepad doesn't exclude any languages, but you'll need to use the same language throughout the document to remain consistent.
    • If you don't know any programming languages, you can try one of the examples listed in this article.
  4. PressEnterafter you complete a line of code.As with most code editors, you'll always need to place new lines of code on a new Notepad line.
  5. Close any open brackets and parentheses.Whenever you open a bracket or parenthesis (e.g.,{or[), you must close it with the opposite-facing counterpart in order to complete a line of code. Failing to do so will result in errors.
  6. Consider using a dedicated code-editing program.While you can certainly write entire programs in Notepad, it's definitely not the easiest way—Notepad doesn't contain any syntax highlighting or indentation options, making it difficult to use for writing larger pieces of code.

Creating a Program

  1. Open Notepad.This is how you will create and save any program regardless of the programming language that you use.
  2. Enter your program's code.Make sure that the language you use is consistent throughout the document.
  3. Click .It's in the top-left corner of the Notepad window. A drop-down menu will appear.
  4. ClickSave As….This option is near the top of the drop-down menu. Doing so opens the "Save" window.
  5. Select a save location.Click a folder (e.g.,Desktop) on the left side of the "Save" window to select that folder as your program's destination.
  6. Click the "Save as type" box.You'll find it near the bottom of the "Save" window. This prompts a drop-down menu.
  7. ClickAll Files.It's in the drop-down menu. This option allows you to save the Notepad file as any type of program.
  8. Enter a name for your program.Click the "File name" text field and enter your preferred name for your program.
  9. Add the program's extension to the name.Regardless of the program's name, you'll need to place a period and the programming language's extension tag after the name in order for the program to be saved correctly. Common programming languages and their extensions include the following:
    • Batch (BAT)-.bat
    • HTML-.htm
    • C++-.cpp
    • For example: to save a batch file as "watermelons", you would typewatermelons.batinto the "File name" field.
  10. Click .It's in the bottom-right corner of the window. Doing so saves your program in your selected format. You can run it by double-clicking it, though you may need to select a program in which to open it after doing so.

Creating a Basic BAT Program

  1. Open Notepad.You can create a program that opens another program on your computer using a batch (BAT) script.
  2. Enter the Command Prompt file's name.Typecmd.exeinto Notepad.
  3. .Make sure that you use the.batextension when saving.
  4. Double-click your BAT file.Doing so will open a new Command Prompt window.

Creating a Basic HTML Program

  1. Open Notepad.Especially if you're designing a webpage, HTML is a great language to use.
  2. Indicate that you'll be using HTML.Type<!DOCTYPE html>into Notepad and pressEnter.
  3. Add the HTML tag.Type<html>into Notepad and pressEnter.
  4. Set up the body text section.Type<body>into Notepad and pressEnter. This line indicates that the following part of the document will contain a section of information (in this case, text).
  5. Add a page heading.Type<h1>Text</h1>into Notepad and pressEnter, making sure to replace "Text" with whatever you want your page header to be.
    • For example: to create a page with the heading "Hello!", you would type<h1>Hello!</h1>into Notepad.
  6. Add text to your page.Type<p>text</p>into Notepad and pressEnter. Make sure that you replace "text" with your preferred text.
    • For example, you would type<p>How are you today?</p>into Notepad to display the phrase "How are you today?" below the heading.
  7. Close the body section.Type</body>into Notepad, then pressEnter.
  8. Indicate the end of the HTML coding.Type</html>into Notepad.
  9. Review your program's code.It should look something like this:
    • <!DOCTYPE html>
    • <html>
    • <body>
    • <h1>Hello!</h1>
    • <p>How are you today?</p>
    • </body>
    • </html>
  10. .Make sure that you use the.htmextension when saving.
  11. Double-click the HTML file.Doing so will usually open it in your default web browser, though you may have to select a program first. You should see your heading and its text displayed.

Creating a Basic Python Program

  1. Open Notepad.Using the "print" command in Python, you can display any text that you want to.
  2. Enter the "print" command.Typeprint("into Notepad. Make sure that there aren't any spaces when you do this.
  3. Add text to display.TypeHello!into Notepad.
  4. Close the "print" command.Type")into Notepad to close the command.
  5. Review your code.It should look something like this:
    • print("Hello!")
  6. .Make sure that you use the.pyextension. You should now be able to open the program in your preferred Python editor.

Creating a Basic C++ Program

  1. Open Notepad.You'll be using Notepad to create a basic C++ program that displays "Hello World!" when run.
  2. Add a title to your program.Type in//followed by your program's title (e.g., "My first program"). Any text in a line that's typed after two slash marks will show up as plain text (e.g., not part of the program).
    • For example: to entitle your program "Program 1", you'd type//Program 1into Notepad.
  3. Enter the preprocessor command.Type#include <iostream>into Notepad, then pressEnter. This command instructs C++ to run the following lines of code as a program.
  4. Declare the program's function.Typeint main ()into Notepad, then pressEnter.
  5. Add an open bracket.Type{into Notepad, then pressEnter. Your program's main code will go between this open bracket and a closed bracket later.
  6. Enter your program's execution code.Typestd::cout << "Hello World!";into Notepad, then pressEnter.
  7. Add a closed bracket.Type}into Notepad. This closes the program's execution phase.
  8. Review your program.It should look something like this:
    • //Program Title
    • #include <iostream>
    • int main ()
    • {
    • std::cout << "Hello World!";
    • }
  9. .Make sure that you use the.cppextension when doing so. Once you've saved the program, you should be able to run it in your preferred C++ compiler.

Community Q&A

  • Question
    Can I use a notepad to create a quiz game?
    wikiHow Contributor
    Community Answer
    Yes, you can.
  • Question
    Can a kid make a program?
    wikiHow Contributor
    Community Answer
    Yes, of course!
  • Question
    How do I improve program knowledge?
    wikiHow Contributor
    Community Answer
    Learn some programming languages, for instance Scratch. It is used by plenty of high-level, brilliant programmers to hone their abilities.
  • Question
    Can I create an OS with Python?
    wikiHow Contributor
    Community Answer
    Yes. You need a PC with no OS, a mastery of Python, and a blank hard disk.
  • Question
    How can I practice and learn to program?
    wikiHow Contributor
    Community Answer
    Learn by using w3schools (a website) that has code examples for HTML, CSS, Javascript, and more. Get Notepad++ and become familiar with it.
  • Question
    How do I code to create my own program?
    wikiHow Contributor
    Community Answer
    Buy some books on the code you want to use or check out other tutorials on wikiHow for learning different programming codes.
  • Question
    How can I do this without coding?
    wikiHow Contributor
    Community Answer
    You can't really program without coding, unless you download a program like PWCT from the internet.
  • Question
    Which code should I use to create a program that lets you have conversations and give commands?
    wikiHow Contributor
    Community Answer
    Javascript probably is the best choice, but Python is good for running commands as well.
  • Question
    How do I take screenshots of the HTML notepad?
    wikiHow Contributor
    Community Answer
    For Windows: printscreen / prtscrn. For Mac: shift-command-4. For Linux: printscreen / prtscrn.
  • Question
    Can I use any coding language to make anything, or is each coding language designed for specific purposes?
    wikiHow Contributor
    Community Answer
    You can use virtually any programming language to create most programs, though some languages are better-suited to specific functions.
Unanswered Questions
  • How do I make the words bigger using an html?
  • How do I create an HTML program on online book ordering?
  • Can I activate windows using notepad?
  • Can we create Call of Duty with notepad?
  • How long did it take to learn that programming languages?
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
  • C++ and HTML are two of the most commonly used programming languages in existence.
  • You can use virtually any programming language to create most programs, though some languages are better-suited to specific functions (e.g., HTML is ideal for creating webpages).


  • Always check your code before saving it. Saving a broken program can cause issues with your default program compiler.

Related wikiHows

Made Recently

Add a photo
Upload error
Awesome picture! Tell us more about it?

Article Info


In other languages:

Español: , Italiano: , Português: , Русский: , Deutsch: , Français: , Nederlands: , Bahasa Indonesia: , ไทย: , العربية: 

Thanks to all authors for creating a page that has been read 703,340 times.

Video: Notepad Programming Tutorial - Hello World Program

How to Make a Program Using Notepad
How to Make a Program Using Notepad images

2019 year
2019 year - How to Make a Program Using Notepad pictures

How to Make a Program Using Notepad advise
How to Make a Program Using Notepad forecast photo

How to Make a Program Using Notepad pics
How to Make a Program Using Notepad picture

How to Make a Program Using Notepad How to Make a Program Using Notepad new pics
How to Make a Program Using Notepad new picture

pictures How to Make a Program Using Notepad
foto How to Make a Program Using Notepad

Watch How to Make a Program Using Notepad video
Watch How to Make a Program Using Notepad video

Discussion on this topic: How to Make a Program Using Notepad, how-to-make-a-program-using-notepad/
Communication on this topic: How to Make a Program Using Notepad, how-to-make-a-program-using-notepad/ , how-to-make-a-program-using-notepad/

Related News

Oliver Spencer x Superga Footwear
Why there wont be a Harry Potter and the Cursed Child sequel
Crispy Thai-Spiced Chicken Recipe
How to remove dark circles with aloe vera
David Beckham accused of reckless’ driving prior to crash
Levitate In Style At The MIMA Light Floating House
21 Ridiculously Pretty Ways to Wear Pink Nails
How to Practice With Wire and Nippers for Hat Making
10 Easy Kitchen Organization Ideas You’ll Actually Use
The Best Milk Alternatives When Youre Not Down With Dairy

Date: 05.12.2018, 14:19 / Views: 54271