Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShiqiYu/CPP
/ main
Function
main
week14/examples/assert.cpp:4–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
#include <cassert>
3
4
int main(int argc, char ** argv)
5
{
6
assert( argc == 2);
7
std::cout <<
"This is an assert example."
<< std::endl;
8
return 0;
9
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected