Skip to content

Heatdh/AuD-Tutorium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

how to run a c ++ code

installing g++ compiler

1. update your system with

sudo apt-get update

2. install the compiler

you can as well precise the version after the g++

sudo apt-get install g++

compile your code

compile your cpp or cpps files

g++ <name with extension >
# for example 
g++ main.cpp

execute with

./a.out
# not neccessarily the name of the executable is a but here as we didnt precise it it will be to specify it  use 
#alternative
g++ -o main.exe hello.cpp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages