Solved

#include error

Posted on 1998-10-16
6
217 Views
Last Modified: 2013-11-18
While trying to compile a script , I've encountered some errors.
It says:     '#INCLUDE'  EXPECTS  "FILENAME" OR <FILENAME>
in the following strings:
#include &lt;stdlib.h&gt;
#include &lt;unistd.h&gt;
#include &lt;fcntl.h&gt;
Please,help me!
Thanx.
0
Comment
Question by:sam
  • 3
  • 3
6 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 100 total points
ID: 1253604
The compiler is right ;-)
It should read:
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>

Did you copy the code from a web page?
0
 

Author Comment

by:sam
ID: 1253605
yeah! what shall I do to make it work?
0
 
LVL 86

Expert Comment

by:jkr
ID: 1253606
Simply change the code to what i posted above. '&lt;' is the HTML equivalent to ASCII '<' and so is '&gt;' for '>'. (Or you of course may change '&lt;' to '<' manually and so on ... ;-)
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Comment

by:sam
ID: 1253607
I'm sorry to trouble U again,but could U possibly tell me what else I should change in the script to run it,if I've downloaded it from a WP?
Thanx!
0
 
LVL 86

Expert Comment

by:jkr
ID: 1253608
Ooops, there's no general answer... the only advice i could give you is to look for HTML tags and replace them with their ASCII equivalents...
0
 

Author Comment

by:sam
ID: 1253609
Thanx
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to save 10 165
Question on web subscription for apps 3 107
Form submit issue 11 85
SBS server C drive at zero no matter what I delete . Where is the disk space going ?? 9 82
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

770 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