Drawing a simple chart?

This is a discussion on Drawing a simple chart? within the C++ Programming forums, part of the General Programming Boards category; Hey guys, I'm new to C++ so bear with me. I have to make a simple chart using hyphens for ...

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    1

    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.

    Thanks

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    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 Cprogramming.com
    Replies: 4
    Last Post: 11-10-2004, 06:23 AM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    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, 10:55 AM

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