MCPcopy Create free account
hub / github.com/alibaba/async_simple / main

Function main

demo_example/CountChar.cpp:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54int main() {
55 int Num = syncAwait(CountFileCharNum("demo_example/Input/file.txt", 'x'));
56 std::cout << "The number of 'x' in file.txt is " << Num << "\n";
57 return 0;
58}

Callers

nothing calls this directly

Calls 2

syncAwaitFunction · 0.85
CountFileCharNumFunction · 0.70

Tested by

no test coverage detected