thank you Robert.
   
  Regards,
  Ashish.

Robert C Wittig <[EMAIL PROTECTED]> wrote:
          ashish hussain wrote:
> Hi,
> 
> I have a simple Pro* C program ashish1.pc written as follows:
> 
> # include<stdio.h>
> # include<conio.h>
> 
> main()
> {
> printf("\n\n hello everyone \n");
> }
> 
> When i compile the same using make, it gives an error as shown below.
> It is because of the line # include<conio.h>, and if i remove that line the 
> program runs fine. Can anyone please tell me what might be the problem?
> 

The answer seems self-evident:

> conio.h: No such file or directory

At: http://www.bloodshed.net/dev/faq.html

...it states:

"Why can't I use conio.h functions like clrsrc()?

Because conio.h is not part of the C standard. It is a Borland 
extension, and works only with Borland compilers (and perhaps some other 
commercial compilers). Dev-C++ uses GCC, the GNU Compiler Collection, as 
it's compiler. GCC is originally a UNIX compiler, and aims for 
portability and standards-compliance.

If really can't live without them, you can use Borland functions this way:
Include conio.h to your source, and add C:\Dev-C++\Lib\conio.o to 
"Linker Options" in Project Options (where C:\Dev-C++ is where you 
installed Dev-C++).
Please note that conio support is far from perfect. I only wrote it very 
quickly."

-- 
-wittig http://www.robertwittig.com/
. http://robertwittig.net/



         

                                
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW

[Non-text portions of this message have been removed]



To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be 
removed. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to