Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dhanji/g3
/ greet
Method
greet
examples/test_code/example.cpp:12–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
Person(const std::string& name, int age) : name(name), age(age) {}
11
12
void greet() {
13
std::cout <<
"Hello, I'm "
<< name <<
" and I'm "
<< age <<
" years old."
<< std::endl;
14
}
15
};
16
17
int main() {
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected