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

Function main

demo_example/CountCharUsingModules.cpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

syncAwaitFunction · 0.85
CountFileCharNumFunction · 0.70

Tested by

no test coverage detected