And the basic idea works...

This commit is contained in:
2024-08-27 03:45:07 -04:00
parent 002f7d82a9
commit 8aa1dfd9d0
5 changed files with 49 additions and 18 deletions

View File

@ -1,7 +1,17 @@
#include "lib.h"
namespace lib
{
void func2();
}
int
lib::func()
{
return 42;
}
void
lib::func2()
{
}

View File

@ -1,4 +1,6 @@
namespace lib
{
int func();
void func2();
}

View File

@ -1,9 +1,11 @@
#include <iostream>
#include "lib.h"
int
main()
{
lib::func();
std::cout << lib::func() << std::endl;
return 0;
}