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
Solved

Grid display using C++

Posted on 2004-07-30
9
806 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
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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

856 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