Thread: I am getting an error in my simple c program

  1. #1
    Registered User
    Join Date
    Mar 2011
    Location
    India ,Kerala
    Posts
    37

    I am getting an error in my simple c program

    hello masters,
    I am getting an error in my simple c program .as follows
    I am getting an error in my simple c program-screenshot-2013-08-18-10_56_16-jpg
    Please Help me

  2. #2
    Registered User
    Join Date
    Mar 2011
    Location
    India ,Kerala
    Posts
    37
    thanks i find the error
    error was #define step 20;
    and changed it to
    #define step 20 (avoided ";")
    thanks

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    37,533
    Using sudo just to edit your own source file is just dumb.

    What other laziness are you running as root as well - your programs, your browser, your email?
    Hard lessons ahead....
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. simple program, simple error? HELP!
    By colonelhogan44 in forum C Programming
    Replies: 4
    Last Post: 03-21-2009, 11:21 AM
  2. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  3. simple database program error
    By kaijuu in forum C++ Programming
    Replies: 6
    Last Post: 05-13-2007, 06:45 AM
  4. simple program one error ???
    By dAzed in forum C++ Programming
    Replies: 8
    Last Post: 09-25-2004, 10:57 AM
  5. Error when running a simple program
    By swishiat.com in forum C Programming
    Replies: 11
    Last Post: 12-14-2003, 06:53 AM