WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
 
Forum
 

Export C++ output to Excel, is there any possibility to output the results of a C++ program to excel or a text file?

amirmimi
Quote Post


New Member
*

Group: Members
Posts: 5
Member No.: 28407
Joined: 2-November 09


Sponsored Links
Dear Friends:

I want to know if there is any possibility to output the results of a C++ program to excel or a text file? In the other word, I want to have the output of C++ in an Excel or text file.

Regards,
PMEmail Poster
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2314
Member No.: 160
Joined: 22-June 04


you may use WinAPI functions CreateFile to create one and then WriteFile to fill it with your text. Use separator (better "tab" = 0x9) to separate columns and crlf (0xD,0xA) to separate lines. use CloseHandle when finished. then you may import it into excel telling it using tab symbol as delimiter.
PMEmail PosterUsers Website
Top
madelinekim
Quote Post


New Member
*

Group: Members
Posts: 4
Member No.: 57347
Joined: 26-March 13


You can definitely export c++ output in excel file, for that you have to make a CSV file, which is just a plain-text file with each row on its own line, and each column separated by commas. Excel can read that.
PMEmail PosterUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian