Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

including "graph.h"

Posted on 2002-06-19
6
Medium Priority
?
215 Views
Last Modified: 2013-11-18
What should I do to be able to use "graph.h"? Because as I know C++ doesn't support graphical tools. Where does the file have to be located? Thank you in advance!
0
Comment
Question by:prompt
[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
6 Comments
 
LVL 12

Expert Comment

by:pjknibbs
ID: 7094980
What compiler? Where has "graph.h" come from? Are you including an associated library file? We need answers to these questions before we can even start to solve your problem.

It might be better if you just tell us what compiler/OS you have and what you need to do graphically.
0
 

Author Comment

by:prompt
ID: 7095421
VC++ 6. This file as you can guess is not a library file. For example there is a graph.cpp file and so on. How can i use it through: #include "graph.h"?
0
 

Expert Comment

by:MeatWeasel
ID: 7095847
try
#include <graph.h>
or #include <graph>
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 12

Accepted Solution

by:
pjknibbs earned 400 total points
ID: 7096908
Include all the .CPP files in your project and then include graph.h at the top of the CPP file you're doing the actual graphical manipulation in. Without knowing what's actually IN graph.h I can't say how you call the functions therein.
0
 
LVL 7

Expert Comment

by:peterchen092700
ID: 7100097
wherre this "graph.h" does come from?
There is no graph.h in VC6

To include these files into a usual VC++ project, you would:

- insert a line
    #include "graph.h"
  into stadafx.h
- add the graph.cpp to your project (project/add to project/files)



0
 
LVL 7

Expert Comment

by:peterchen092700
ID: 7100101
Meatweasel: #include <graph.h> is something else than #include <graph> ....
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

609 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