Solved

including "graph.h"

Posted on 2002-06-19
6
203 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
Industry Leaders: 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
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 additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

732 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