looking for Borland Builder hints

This is a discussion on looking for Borland Builder hints within the Tech Board forums, part of the Community Boards category; Hello, I'm working on Borland C++ Builder 5. I'd like to export arrays of data during debug to a software ...

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    106

    looking for Borland Builder hints

    Hello, I'm working on Borland C++ Builder 5. I'd like to export arrays of data during debug to a software to graph them, like excel or matlab, but I can only visualize arrays without be able to "select" in some manner all the text describing the data: I can only select cells text one by one.
    Is there any way/tool/plugin which permits this thing?
    Thanks,
    BrownB

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,439
    I've written out results as .csv files before, imported them into excel, then used excel's graph functionality to visualise what's going on.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Oct 2003
    Posts
    106
    Thank you Salem, but how did you get the data in your csv file? By hands? I have more than 1000 points to export, so manual export is not possible...I'm googling and searching in Borland help and menus, but I haven't found yet anything about csv export of any kind of memory area.

    Bye,
    BrownB

    Ooops, I understand now what you said: you exported data by coding this function in you code...much as printf() to debug. Ok, I'm realizing that there's no way to do this with some kind of tool.
    Last edited by BrownB; 11-07-2006 at 06:29 AM.

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,439
    > Ok, I'm realizing that there's no way to do this with some kind of tool.
    I'm sure there is a way, but the cost of finding out has always been too much for me given the relative simplicity of the alternatives.

    > you exported data by coding this function in you code...much as printf()
    Yeah
    FILE *fp = fopen("results.csv", "w" );
    fprintf( fp, "%d,%d\n", r1, r2 );
    fclose( fp );
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Hints to write a program
    By Bnchs400 in forum C++ Programming
    Replies: 28
    Last Post: 04-05-2006, 05:35 AM
  2. Can you give me some hints?
    By mag_chan in forum C Programming
    Replies: 6
    Last Post: 12-05-2005, 03:04 PM
  3. Can you give me some hints?
    By mag_chan in forum C++ Programming
    Replies: 1
    Last Post: 12-04-2005, 01:12 AM
  4. :) Help.. Please... I need some hints
    By NANO in forum C++ Programming
    Replies: 7
    Last Post: 04-16-2002, 03:06 AM
  5. Need Delimiter Program helpful hints.
    By Unregistered in forum C Programming
    Replies: 7
    Last Post: 02-16-2002, 05:27 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21