Results 1 to 2 of 2

Thread: problem with .h files in include

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2001
    Posts
    746

    problem with .h files in include

    im a C/C++ begginer just startin out. i got a book with some stuff and it says i need the following .h files

    #include <stdio.h>
    #include <unistd.h>
    #include <stdlib.h>
    #include <string.h>
    #include <sys/types.h>
    #include <sys/time.h>
    #include <sys/socket.h>
    #include <netdb.h>
    #include <netinet/in.h>
    #include <netinet/ip.h>
    #include <netinet/ip_icmp.h>

    but my compiler says there "not found". anyone know whats goin on?

    id also appreciate some tutorials on how to use the internet with C++
    FlameWave Technologies - internet tools

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    I think all files that are in a subdirectory are linux specific.

    How to use the internet depends on the OS. In windows, there is the winsock API.
    Internet is definitely an advanced topic.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width