Graphing with MFC?

This is a discussion on Graphing with MFC? within the C++ Programming forums, part of the General Programming Boards category; This is with visual C++ 6.0 using MFC. Basically I have a text file with a series of numbers. So ...

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    13

    Graphing with MFC?

    This is with visual C++ 6.0 using MFC.

    Basically I have a text file with a series of numbers.
    So when I click a button it opens the text file and stores the information in an array. Very simple. Now I"d like to graph that information using a simple line........I don't suppose there's any "easy" graphing commands in MFC? (i'm guessing I'll have to do the long arguse method of it, but i'm just curious if for this simple task - array stores information that I need to graph - there's some quick and easy graph command that I can pass the array to and it graphs it?)

  2. #2
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    The CDC class' LineTo() function might prove useful to you.
    Last edited by 7stud; 04-24-2005 at 08:26 PM.

  3. #3
    Chief Code Coloniser!
    Join Date
    Apr 2005
    Posts
    121
    You should be asking this in the Windows forum.

  4. #4
    Registered User
    Join Date
    Apr 2005
    Posts
    13
    Quote Originally Posted by TheColonial
    You should be asking this in the Windows forum.
    That is a good point; i'd compeltely forgotten about the windows forum. Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MFC Controls and Thread Safety :: MFC
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 12-06-2002, 10:36 AM
  2. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 08:52 PM
  3. Release MFC Programs & Dynamic MFC DLL :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-18-2002, 06:42 PM
  4. Beginning MFC (Prosise) Part III - Now What? :: C++
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 03-03-2002, 05:58 PM
  5. MFC is Challenging :: C++
    By kuphryn in forum C++ Programming
    Replies: 8
    Last Post: 02-05-2002, 12:33 AM

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