473,785 Members | 2,807 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

couldn't open include file

10 New Member
recently i'd downloaded a source code in c++ and tried to compile and run in VS C++ 6.0. however the source code couldn't be compiled. the error is as follows>

before that, there is a header file in the source code written like this #include "..\..\..\VspAp i\VspApi.h"

and the error message is as follows:

the include file couldnt be opened '..\..\..\VspAp i\VspApi.h' : file or directory couldn be found...

what should i modify here to get it working....FYI i'd added all the files (.cpp,.lib,.h) and also the VspApi.h file into the same file in myproject folder.......pl ease explain.

im working on Win XP platform.
Jan 25 '07 #1
1 2475
Soujiro
35 New Member
recently i'd downloaded a source code in c++ and tried to compile and run in VS C++ 6.0. however the source code couldn't be compiled. the error is as follows>

before that, there is a header file in the source code written like this #include "..\..\..\VspAp i\VspApi.h"

and the error message is as follows:

the include file couldnt be opened '..\..\..\VspAp i\VspApi.h' : file or directory couldn be found...

what should i modify here to get it working....FYI i'd added all the files (.cpp,.lib,.h) and also the VspApi.h file into the same file in myproject folder.......pl ease explain.

im working on Win XP platform.

..\..\..\ would be 3 parent directory up... there you can create a folder VspApi inside would the the VspApi.h.. but you could also change the include into somthing like #include "VspApi.h". . if there are problems ask again..

PS. are there any makefiles included in the source code.. or i guess not I can see its WinXp..
Jan 25 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3928
by: Brian | last post by:
I am trying to open a file in the classes contructor. The file is created and the program even thinks it is open and tries to write to it with no errors, but when I look at the file it is zero bytes..nothing was written to it. Here is part of my code if anyone can help me. I do appreciate it. #include <iostream> #include <iomanip> #include <fstream> #include <string>
6
8464
by: Rolf Schroedter | last post by:
(Sorry for cross-posting). I need to access large files > 2GByte (Linux, WinXP/NTFS) using the standard C-library calls. Till today I thought I know how to do it, namely for Win32: Use open(), read(), _itelli64(), _lseeki64() with type __int64 Linux/Cygwin: #define _FILE_OFFSET_BITS 64 Use open(), read(), lseek() with type off_t
9
1977
by: ferbar | last post by:
Hi all, I'm trying to read from the txt file 'ip.packets.2.txt' using the read function. It seems everything ok, but I get a -1 when executing >>bytesr = read(fdo1, bufread, 2); The 'open' function returns the file dsc 3. So this seems ok.. Any idea what might be wrong?
4
5830
by: Anders Eriksson | last post by:
Hello! I'm using VC++ 7.1 and MFC. In a header file that is located in a different directory that the main project I include a header file that is located in the main project directory. The project is called SCLaser. When I right-click on the #include "SCLaserDoc.h" and select Open Document SCLaserDoc.h, it can't find the file and lists all the directories that I
2
4297
by: Jofio | last post by:
I have 3 files, namely: dArray.h dArray.cp TestdArray.cpp Problem is when I compile the 'main' program - TestdArray.cpp - , it (the compiller) produces the following error: 'Unable to open include file 'dArray.h' 'Unable to open include file'dArray.cp'
1
1964
by: Tino Alves | last post by:
Hi there, I'm newly here, and a beginner too. I'm tryng to open a file that realy exists, but I cannot do that. I'm using the Turbo C++ 3.0 compiler and my code is: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <conio.h>
2
5424
by: Kevien Lee | last post by:
Hi , I had a strang problam ,when i use StreamWriter to append to a file,i found that if i don't close the StreamReader it couldn't write the data into file,the code as folllow that: class Program { static void Main(string args) { FileInfo file = new FileInfo(@"E:\Demo\Log\20061214.log");
5
2366
by: barnetod | last post by:
I am trying to open a text file designated by the user. Then I want to change all lower case values to capital letters. Then write file. I am stuck and can not change the characters or am not writing correctly. Please let me know what I can do to fix this.
1
1432
by: mostafij | last post by:
// This code write random data into a file and every 5 seconds this //program send 5 seconds data into another file. #include <HEADER FILES> FILE *f1,*f2; int main(int argc, char *argv) { int i,j,m=0,n=0; char buf;
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10329
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10152
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7500
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2880
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.