Solved

including "graph.h"

Posted on 2002-06-19
6
200 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
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 12

Accepted Solution

by:
pjknibbs earned 100 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
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.
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 be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

735 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