Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ main
Function
main
10.19-startsWith0/main.cpp:6–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
#include <string>
5
6
int main()
7
{
8
const std::string s{
"Hello, C++20"
};
9
10
if(s.find(
"Hello"
) != std::string::npos) { puts(
"Found!"
); }
11
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected