Two Questions

This is a discussion on Two Questions within the Linux Programming forums, part of the Platform Specific Boards category; Something really stupid is happening with my Linux Compiler. First of all, I use RedHat when I program in Linux, ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    20

    Two Questions

    Something really stupid is happening with my Linux Compiler. First of all, I use RedHat when I program in Linux, and I use RedHat's default compiler. The First problem is that when I compile using any class whatsoever it sends an error message, that is not relevant to the situation. I forgot what the message was. The second is, I can't find the library file "conio.h".
    Dude101 =) LALALALALALALALA

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    79
    Problem 1:
    What version of gcc are you using?(rpm --query gcc) Versions of gcc prior to 3.0 don't use libstdc++.so by default(although they do use libstd.so), so you have to put -lstdc++ on the command line. I think automake creates a makefile that puts those things on the command line for you.

    Problem 2:
    I think conio is windows specific. There's other things to do that stuff, of course. Unfortunately, I'm not sure what it is.
    All generalizations are false

  3. #3
    .
    Join Date
    Aug 2001
    Posts
    598
    >I think conio is windows specific. There's other things to do that stuff, of course. Unfortunately, I'm not sure what it is.>

    I belive it is curses.h (cheak the programming faq)
    To Err Is To Be Human. To Game Is Divine!"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. questions....so many questions about random numbers....
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2009, 08:47 AM
  2. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 05:36 AM
  3. Several Questions, main one is about protected memory
    By Tron 9000 in forum C Programming
    Replies: 3
    Last Post: 06-02-2005, 07:42 AM
  4. Trivial questions - what to do?
    By Aerie in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 12-26-2004, 08:44 AM
  5. questions questions questions.....
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-14-2001, 07:22 AM

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