Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 01-29-2005, 02:00 AM   #1 (permalink)
Maani
Registered User
 
Join Date: Jan 2005
Posts: 10
Maani is on a distinguished road
Angry .h files needed

what do we call that .h files ?
if i m missing some of the .h files then is there any way i can download those files ? like i've a source and i dont have in.h file and couple of other files .. so pls help ..

phanks.
Maani is offline   Reply With Quote
Old 01-30-2005, 01:03 PM   #2 (permalink)
fp_unit
mike
 
Join Date: Jan 2005
Location: Ottawa, ON
Posts: 79
fp_unit is on a distinguished road
Which header files are you trying to include, and which compiler/ide are you using?
fp_unit is offline   Reply With Quote
Old 01-31-2005, 11:33 PM   #3 (permalink)
Maani
Registered User
 
Join Date: Jan 2005
Posts: 10
Maani is on a distinguished road
Quote:
Originally Posted by fp_unit
Which header files are you trying to include, and which compiler/ide are you using?
I m using dev-c++, sometimes C++ builder but the problem is the same
i stuck when prog. dont find header files like
netdb.h
sys/socket.h
sys/select.h
netinet/in.h

like that .. can i download .h files from somewhere .. i tried to search on web but cudnt find any big archieve of header files .. if u cud help .. i'll be thankful

Adios,
Maani is offline   Reply With Quote
Old 02-01-2005, 12:50 AM   #4 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
Valmont is on a distinguished road
Hmm, are you including the files properly?
Care to share some code?
__________________
Valmont is offline   Reply With Quote
Old 02-01-2005, 01:42 AM   #5 (permalink)
Maani
Registered User
 
Join Date: Jan 2005
Posts: 10
Maani is on a distinguished road
Quote:
Originally Posted by Valmont
Hmm, are you including the files properly?
Care to share some code?
i guess pasting the whole code wud be useless, my source file starts from :

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <netdb.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/wait.h>
#include <netinet/in.h>
#include <arpa/inet.h>

.. and then further coding ..

but when i compile it stucks on
#include <netdb.h>
giving an error that
netdb.h: No such file or directory.
and when i check the Include folder .. it doesnt have that header file !
So thats wat the problem is .. Similarly in the above initial code, i dont have socket.h and in.h files in the respective directories ..

Any Solution for My problem .. ?

Phanks,
Adios.
Maani is offline   Reply With Quote
Old 02-01-2005, 06:10 AM   #6 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
Valmont is on a distinguished road
Well, you need to install a posix library. Check out the open source version:
http://sources.redhat.com/pthreads-win32/
__________________
Valmont is offline   Reply With Quote
Old 02-01-2005, 11:16 PM   #7 (permalink)
Maani
Registered User
 
Join Date: Jan 2005
Posts: 10
Maani is on a distinguished road
Quote:
Originally Posted by Valmont
Well, you need to install a posix library. Check out the open source version:
http://sources.redhat.com/pthreads-win32/
So in other words u wanna say that it contains the header files which i need ?

Adios,

just installed it .. dun know wat to do :s Exxxplaaaaaain
Maani is offline   Reply With Quote
Old 02-02-2005, 04:59 AM   #8 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
Valmont is on a distinguished road
You'll need to read the documentation that comes with it. This is a win32 port of POSIX, I know it only on unix.
__________________
Valmont is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
reading a folder of files Androto Standard C, C++ 29 12-21-2004 05:26 PM
Installing and using CMUgraphics library. Valmont Standard C, C++ 12 03-29-2003 08:39 AM
All Class Files mixingsoup PHP 12 12-04-2002 06:49 AM


All times are GMT -8. The time now is 12:38 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting