Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. export to text file

export to text file

Scheduled Pinned Locked Moved C / C++ / MFC
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kiethnt
    wrote on last edited by
    #1

    Dear all, Now I have six data in includes: 3 data Xw, Yw, Zw in FlexGid at i row and j column and 3 data m_iA, m_iB, m_iC in edit box form Interger individually. So please help me export these data to text file .txt in which these data is arrange correctly following form: P1={X Xw,Y Yw,Z Zw,A m_iA,B m_iB,C m_iC} P2={X Xw,Y Yw,Z Zw,A m_iA,B m_iB,C m_iC}....Pn I just start with VC++, so please show me more detail. Thank you very much.

    J 1 Reply Last reply
    0
    • K Kiethnt

      Dear all, Now I have six data in includes: 3 data Xw, Yw, Zw in FlexGid at i row and j column and 3 data m_iA, m_iB, m_iC in edit box form Interger individually. So please help me export these data to text file .txt in which these data is arrange correctly following form: P1={X Xw,Y Yw,Z Zw,A m_iA,B m_iB,C m_iC} P2={X Xw,Y Yw,Z Zw,A m_iA,B m_iB,C m_iC}....Pn I just start with VC++, so please show me more detail. Thank you very much.

      J Offline
      J Offline
      John R Shaw
      wrote on last edited by
      #2

      You mention ‘FlexGrid” and if that is where your data is stored, then I would look at the documentation for that to find you answer. Most things with the title ‘Grid’ or ‘Spreadsheet’ in them have a means to export their contents as a ‘TAB’ delimited file. That is a file where the individual fields are separated by the ‘TAB’ character, with each line representing as single entry (or record) per line. Hopefully some who has use it will show up shortly. Good Luck!

      INTP "Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups