Exforsys
+ Reply to Thread
Results 1 to 2 of 2

Data From C++ GUI to Excel/Notepad, Application Trouble

This is a discussion on Data From C++ GUI to Excel/Notepad, Application Trouble within the C and C++ forums, part of the Programming Talk category; Hi, I need to get data from a C++ application to a spread sheet or notepad file, has anyone any ...

  1. #1
    CarryD is offline Junior Member Array
    Join Date
    Sep 2006
    Answers
    1

    Data From C++ GUI to Excel/Notepad, Application Trouble

    Hi,
    I need to get data from a C++ application to a spread sheet or notepad file, has anyone any idea how to do this. I have access to programme source code but not sure where to start.


  2. #2
    rachelle is offline Member Array
    Join Date
    Apr 2006
    Answers
    97
    You can make use of the fstream library for achieving this namely for writting data to a text file.There are various ways of achieving the desired output as per your need.One way of doing this is write your program in such a way to create a temporary file with separator chars between the data fields using fstream library and this file can then be imported be Excel.


Latest Article

Network Security Risk Assessment and Measurement

Read More...