How to navigate to a folder in cmd

    how to open c++ in command prompt
    how to run c++ in command prompt
    how to open turbo c++ in command prompt
    how to run c++ in command line
  • How to open c in command prompt
  • How to change directory in cmd from c to d...

    This is one of the most frequently asked question to me.

    How to run c program in terminal linux

  • How to run c program in terminal linux
  • Command to run c program in terminal
  • How to change directory in cmd from c to d
  • Run c program in terminal ubuntu
  • How to navigate to c drive in cmd
  • Creating and compiling a C program using an IDE is like waving some magic wand. However, a beginner must know how to compile and run C programs using command line in Windows based operating system.

    To create a C program using command line you need two basic software’s.

    1. A text editor (such as Notepad or Notepad++ ).
    2. A C compiler.

    You must have C compiler installed and configured on your computer before you proceed.

    Read more – How to download, install and configure CodeBlocks with C compiler in Windows.

    How to create a C program using Notepad (Windows)?

    1. Open notepad.
      Hit windows button and type notepad in it.
      Alternatively, hit , type notepad and hit enter to open notepad.
    2. Type C source code in notepad.

      For now do not care about what you are typing just copy paste the source code. We will have in depth discussion on C program structure later.

      Copy and paste the below source in your notepad.

    3. Click on in the menu bar.

      Alternatively, hit to open Save As dialog box.

    4. Give some name to your first C pro

        how to open c++ in terminal
        how to run c++ program in cmd