MCPcopy Create free account
hub / github.com/Tracktion/choc / main

Function main

examples/text_processing.cpp:425–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425int main()
426{
427 std::cout << "CHOC Text Processing & HTML Generation Example\n";
428 std::cout << "==============================================\n";
429
430 try
431 {
432 demonstrateStringUtilities();
433 demonstrateUTF8();
434 demonstrateWildcardMatching();
435 demonstrateTextTable();
436 demonstrateHTMLGeneration();
437 demonstrateCodePrinter();
438 demonstrateFloatToString();
439
440 std::cout << "\n=== All text processing demonstrations completed successfully! ===\n";
441 std::cout << "Generated files:\n";
442 std::cout << " - employee_report.html (HTML report)\n";
443 std::cout << " - generated_employees.cpp (C++ code)\n";
444 }
445 catch (const std::exception& e)
446 {
447 std::cout << "Error: " << e.what() << "\n";
448 return 1;
449 }
450
451 return 0;
452}

Callers

nothing calls this directly

Calls 8

demonstrateUTF8Function · 0.85
demonstrateTextTableFunction · 0.85
demonstrateCodePrinterFunction · 0.85
demonstrateFloatToStringFunction · 0.85
whatMethod · 0.80

Tested by

no test coverage detected