| 423 | } |
| 424 | |
| 425 | int 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 | } |
nothing calls this directly
no test coverage detected