Thread: Drawing a simple chart?

  1. #1
    Registered User
    Join Date
    Sep 2002

    Drawing a simple chart?

    Hey guys, I'm new to C++ so bear with me. I have to make a simple chart using hyphens for the horizontal lines and "|" for the vertical lines. On top of that, I am trying to figure out how to enter the data within the chart using cin and cout. I've tried typing it in various ways, but either get compiler errors or it accepts it and just spits out exactly what I typed in. Can anybody help me with the format of the chart, like for instance, which data types I should be using? Or maybe a sample line of what I should be typing? This is really starting to bug me. I would really appreciate any help.


  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    We don't have enough information to help you. How do we know how to format your chart if we don't know what your hcart looks like? Post what code you have, as well - remember to use code tags.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Drawing HBITMAP into CWnd, Acquired from "screenshot"
    By DeusAduro in forum Windows Programming
    Replies: 6
    Last Post: 07-02-2009, 03:41 PM
  2. Slow drawing code
    By tjpanda in forum Windows Programming
    Replies: 5
    Last Post: 05-09-2008, 05:09 PM
  3. Drawing Simple Bar Charts (Stats Question)
    By Davros in forum A Brief History of
    Replies: 4
    Last Post: 11-10-2004, 07:23 AM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  5. outputting a ASCII chart
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 02-15-2002, 11:55 AM