Solved

Grid display using C++

Posted on 2004-07-30
9
807 Views
Last Modified: 2006-11-17
My senior project partner and I need some help in programming a grid display using C++. A quick overview of our project: we are making a RF PET LEASH.
We are going to have 2 antennas which we will have fixed at 2 sides of a house and 3 transmitters doing their thing. The angles from the 2 transmitters to "Transmitter 3" (pet) will be the used to calculate the coordinates.

On the grid one of the antennas will be used as the zero axis and then there is the other one at a fixed distance away and then we have our "Transmitter 3" (x coord.) bopping away somewhere in the middle so ideally when "Transmitter 3" breaches the boundaries... we send out a warning signal.

So in one sentence "All the antenna's send data out to the pc, which parses them and displays it on the grid, calculating where the dot is and sounding an alarm when required."

We have a partial program right now that computes the coordinates of "Transmitter 3" and we would like to display this computed result relative to 2 fixed reference points on the grid. I did ask a few friends who are very familiar with C++ but it seems that grid/graph display is something they don't use or know much about.

Are there any specific books or websites you would suggest for this? Or better still do you know of a program that does something similar to this?

thanks in advance.
0
Comment
Question by:asharasas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 5

Expert Comment

by:EOL
ID: 11677641
I understand that you need a visual representation of something you've a datastructure for? How to display this information then largly depends on what gui-toolkit you're using.

However, I've made the observation that most people who need somewhat more then ordinary spreadsheets tend to programm a their own representation on 2d or 3d canvanases like GDI or OpenGL.
0
 
LVL 13

Expert Comment

by:SteH
ID: 11677841
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11677850
Definitively you don't need a special library for this simple task. Just choose a C++ compiler and use simple primitive drawing functions (lines, points, etc.) to represent your grid and calculated point.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Accepted Solution

by:
SteH earned 250 total points
ID: 11677859
0
 

Author Comment

by:asharasas
ID: 11678281
Thanks, let me chekc it :-)
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 11925952
Still waiting for author's feedback
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question