Thread: Generate Graphs

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    2

    Generate Graphs

    Hi...
    I'd like to ask...
    can pure C used to generate graphs from more than one files' data?
    if yes, then if we input the data from MS-DOS, which we use to generate and show the graphs?

    thanks

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >can pure C used to generate graphs from more than one files' data?
    Yes, if you don't mind using primitive character based graphs. Otherwise you'll need to use a third party graphics library or a language better suited to graphical programming.
    My best code is written with the delete key.

  3. #3
    Been here, done that.
    Join Date
    May 2003
    Posts
    1,164
    Originally posted by Prelude
    >can pure C used to generate graphs from more than one files' data?
    ... Otherwise you'll need to use a third party graphics library or a language better suited to graphical programming.
    ... unless you use a Borland or M$ compiler which already has a graphics library.
    Definition: Politics -- Latin, from
    poly meaning many and
    tics meaning blood sucking parasites
    -- Tom Smothers

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    2
    if I use Microsoft C++ to build...what other third party language will u suggest to use together with C language?

    and, if we retrieve the data from txt file, are we using SQL to retrieve? how the SQL recognize the table in text file?

    thanks

  5. #5
    Registered User
    Join Date
    Jul 2003
    Posts
    102
    Hi,
    if we retrieve the data from txt file, are we using SQL to retrieve? how the SQL recognize the table in text file?
    You said you need to use pure C. Then why go for sql. You can do the same through C.
    Saravanan.T.S.
    Beginner.

  6. #6
    Been here, done that.
    Join Date
    May 2003
    Posts
    1,164
    Originally posted by beet
    if I use Microsoft C++ to build...what other third party language will u suggest to use together with C language?
    None

    and, if we retrieve the data from txt file, are we using SQL to retrieve? how the SQL recognize the table in text file?
    No, you are using fopen(), fgets(), fread(), routines to read data from a text file. SQL is used for database files, not text
    Definition: Politics -- Latin, from
    poly meaning many and
    tics meaning blood sucking parasites
    -- Tom Smothers

  7. #7
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463
    I haven't tried any others, but I have used the allegro library for a while and found it to work well after a little time to learn it. Here is one of several possible links for it.

    http://www.talula.demon.co.uk/allegro/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Template metaprogramming, whats the point?
    By Cogman in forum C++ Programming
    Replies: 26
    Last Post: 02-01-2009, 11:47 PM
  2. Replies: 2
    Last Post: 03-13-2008, 05:45 AM
  3. Generate Excel-file using C/C++. How?
    By Unregistered in forum Windows Programming
    Replies: 3
    Last Post: 08-01-2002, 01:57 AM
  4. Ask about generate Random number
    By ooosawaddee3 in forum C Programming
    Replies: 2
    Last Post: 07-01-2002, 04:30 AM
  5. Best way to generate a random double?
    By The V. in forum C Programming
    Replies: 3
    Last Post: 10-16-2001, 04:11 PM