Help Needed with Compiling C program

This is a discussion on Help Needed with Compiling C program within the C Programming forums, part of the General Programming Boards category; Hi, i was making an electronic project "PC CONTROLLED RELAY INTERFACE" in which we use IC switches and a program ...

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    1

    Unhappy Help Needed with Compiling C program

    Hi,
    i was making an electronic project "PC CONTROLLED RELAY INTERFACE" in which we use IC switches and a program written in C to control equipment from a comp..

    since i have no background in C/C++ programming, another guy wrote the program in Turbo C Dos Version, but now we are unable to compile the same..

    can some one have a look at it and advice..

    we are using Turbo C 3.0, DOS version for programming and compiling...

    tnx..
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    Apr 2009
    Posts
    187
    I havent read it all but you seem to miss function inportb()

  3. #3
    DESTINY BEN10's Avatar
    Join Date
    Jul 2008
    Location
    in front of my computer
    Posts
    804
    Quote Originally Posted by girishaneja View Post
    Hi,
    i was making an electronic project "PC CONTROLLED RELAY INTERFACE" in which we use IC switches and a program written in C to control equipment from a comp..

    since i have no background in C/C++ programming, another guy wrote the program in Turbo C Dos Version, but now we are unable to compile the same..

    can some one have a look at it and advice..

    we are using Turbo C 3.0, DOS version for programming and compiling...

    tnx..
    You just need to declare the prototype of the functions idswitch and ssignal before main and program will compile. Also for getch() include <conio.h>
    HOPE YOU UNDERSTAND.......

    By associating with wise people you will become wise yourself
    It's fine to celebrate success but it is more important to heed the lessons of failure
    We've got to put a lot of money into changing behavior


    PC specifications- 512MB RAM, Windows XP sp3, 2.79 GHz pentium D.
    IDE- Microsoft Visual Studio 2008 Express Edition

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Stray Error while compiling
    By Mankthetank19 in forum C Programming
    Replies: 6
    Last Post: 02-03-2011, 02:24 PM
  2. Client-server system with input from separate program
    By robot-ic in forum Networking/Device Communication
    Replies: 3
    Last Post: 01-16-2009, 02:30 PM
  3. Help needed with program - urgent thanks!
    By lildevil in forum C Programming
    Replies: 1
    Last Post: 03-09-2008, 06:45 AM
  4. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 10:17 PM
  5. redirection program help needed??
    By Unregistered in forum Linux Programming
    Replies: 0
    Last Post: 04-17-2002, 05:50 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21