Skip to content

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

Notifications You must be signed in to change notification settings

cgouert/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

Languages

  • C++ 60.4%
  • C 39.6%