15 lines
222 B
C++
15 lines
222 B
C++
/* File : example.h */
|
|
|
|
extern void foo (int x);
|
|
extern void foo (char *x);
|
|
|
|
class Foo {
|
|
private:
|
|
int myvar;
|
|
public:
|
|
Foo();
|
|
Foo(const Foo &); // Copy constructor
|
|
void bar(int x);
|
|
void bar(char *s, int y);
|
|
};
|