Skip to content

cisc220/first-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

first-module

An example of a multiple file "modular" C++ program

In this case main.cpp uses the average function defined in avg.cpp. To pull this off we include the header file avg.h which announces the average function and its contract.

To run use g++ avg.cpp main.cpp then ./a.out.

About

An example of a multiple file "modular" C++ program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published