Skip to content

SaadQayyum03/Helpful-C-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Helpful-C-commands

These are some useful C commands I created, feel free to update them.

Table of Contents

  1. Prerequisites
  2. How to Install These Commands
  3. How to Use These Commands

Prerequisites

  • g++: Ensure you have g++ installed and accessible in your system's PATH.

How to install these commands

  1. Clone this Repository
git clone https://github.com/SaadQayyum03/Helpful-C-commands.git
  1. Add the folder you cloned to Enviromental Variables
    • For Windows:
      • Right-click on 'This PC' or 'My Computer' and select 'Properties'.
      • Click on 'Advanced system settings' and then on 'Environment Variables'.
      • In the 'System variables' section, scroll down and select the 'Path' variable, then click 'Edit'.
      • Click 'New' and add the path to the folder where you cloned the repository.
      • Click 'OK' to close all dialogs

How to use these commands

Build and Run Command (bar)

Use this command to build and run your C program. Navigate to your project's root directory and execute:

bar [Path to your Main C++ file]

Or simply:

bar

If your main file is named 'main.cpp'. This command compiles the main file using g++ and outputs the executable to a bin folder, which is created if it doesn't already exist.

Contact

Saad Qayyum - s.qayyum2003@gmail.com

Project Link: https://github.com/SaadQayyum03/Helpful-C-commands

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published