On Thursday, 27 April 2023 at 20:32:24 UTC, Jan Allersma wrote:

```
Apparently foo isn't found from the CPP source file. Anyone some ideas on how to solve this? :)

That's a compilation error, not a linker problem. You need to tell the compiler about the function with a prototype:

```C++
#include <iostream>

int foo();

int main() {
  std::cout << "deede" << foo() << std::endl;
}
```


Reply via email to