Skip to content

minispiki/c-plus-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My c++ work!

I'm following a guide in a book

Any help will be appreciated!

INIT

Run source scripts/bash/init in the root dir, this will also add a var called $ROOT_DIR.

Structure

All projects get their own directory with the cpp file named main

Compiling

Go into a directory with cd (obv) and run g++ main.cpp -o <bin name>.out or run compile after INIT.

Running

use ./<binname> or run

Cleaning up

To remove all bin files (and files not tracked by git) run git clean -xf $ROOT_DIR or clean

Note IT WAS RECOMMENDED TO COMPILE WITHOUT A FILE EXTENSION SO IT DIDNT GET ADDED TO THE REPO IF YOU HAVE AN OLDER COMMIT OF THE REPO RUN git clean -xf THEN PULL THE REPO.

About

My work in learning c++!

Resources

Stars

Watchers

Forks

Packages

No packages published