C++ TXT & Excel Reader -- 2
Publicada el 2026-07-24
Descripción de la oferta
I need a concise, well-commented C++ program that opens two small input files—one plain-text file and one Excel spreadsheet—and loads the contents of each into its own string array (or std::vector , whichever you prefer). The files are always under 1 MB, so you can hold everything comfortably in memory without extra optimisations. The exact Excel format hasn’t been fixed yet, so please write the code so it can be adapted easily to either .xls, .xlsx or even a CSV export. If you plan to rely on an external library (xlnt, libxls, RapidCSV, etc.) just include simple build instructions; otherwise a self-contained solution is welcome. Deliverables should include: • Complete C++ source files and any helper headers • A short README with build steps and notes on any third-party libraries • A brief example showing the two resulting string arrays printed to stdout, so I can see the data loaded correctly Keep the code portable and stick to modern standards (C++14 or later). Once I can compile and run it locally and see the two arrays filled with the text and spreadsheet data, the job is done.
Skills
Fuente original: freelancer