Contents of hw


Archived packages


Table of contents


Files

hello.hpp

#ifndef HELLO_HPP
#define HELLO_HPP

void hello ();

#endif

hello.cpp

#include <iostream>
using namespace std;

void hello () {
	cout << "Hello, world!" << endl;
}


main.cpp

#include "hello.hpp"

int main () {
	hello();
	return 0;
}