Thread: #include error

  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    2

    #include error

    Hi all, new to this board so hope you can help.

    Get the following error message:
    Code:
    main.c, line 6: Error: Could not open include file "slider.h".
    Code:
    #include "slider.h"
    Any idea why this would be?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    It would seem that you don't have a file called slider.h
    Is it one you're supposed to have created?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    2
    Hmm, pants! Must be. They gave us the other ones, for the buttons and text boxes.

    OK, gonna have to order a pizza delivered to uni - gonna be here a while now! Thanks for your help.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Beginner Needs help in Dev-C++
    By Korrupt Lawz in forum C++ Programming
    Replies: 20
    Last Post: 09-28-2010, 01:17 AM
  2. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 02:53 AM
  3. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  4. Why wont my function exit correctly?
    By LightsOut06 in forum C Programming
    Replies: 2
    Last Post: 10-09-2005, 09:23 PM
  5. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM