Web Analytics Made Easy -
StatCounter C problem.. (Error) - CodingForum

Announcement

Collapse
No announcement yet.

C problem.. (Error)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • C problem.. (Error)

    hey, I use borland 5.5 dos compiler.
    and I got in my learning to the command delay(); in the libery Dos.h
    dont know why but when I use this command..
    I get a strange error that I never seen befor...

    Error: unresolved external '_delay' referenced from c:\L.OBJ

    and after I compile and get the strange error... the .exe file disapper ..
    no clue what to do.
    thanks for the helpers.

  • #2
    The .exe file didn't dissapear. It just didn't compile correctly so it didn't make an .exe file. You might not be using the function correctly. That's all I can pick out. I never used dos.h or delay. I would use the system pause function.
    Code:
    system ("pause");
    Why is a raven like a writing desk?

    Comment


    • #3
      got it fix.
      windows changing the command delay(); to sleep(); .
      thanks for the helpers.

      Comment

      Working...
      X