Solved

including "graph.h"

Posted on 2002-06-19
6
189 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
6 Comments
 
LVL 12

Expert Comment

by:pjknibbs
Comment Utility
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
Comment Utility
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
Comment Utility
try
#include <graph.h>
or #include <graph>
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 12

Accepted Solution

by:
pjknibbs earned 100 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Meatweasel: #include <graph.h> is something else than #include <graph> ....
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

762 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now