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

including "graph.h"

Posted on 2002-06-19
6
199 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
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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

839 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