Strerror equivalent function

This is a discussion on Strerror equivalent function within the C++ Programming forums, part of the General Programming Boards category; Hi I am trying to find a function which does the same operation as strerror. Any suggestions? Thanks shweta...

  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    35

    Strerror equivalent function

    Hi
    I am trying to find a function which does the same operation as strerror.
    Any suggestions?
    Thanks
    shweta

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    In what context? What is it that you want it to do that strerror() doesn't, or are you saying that you don't have a strerror() in your system, or something else?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    May 2007
    Posts
    35
    my compiler doesnot support strerror(int A) .I get compiler error.

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,496
    Perhaps posting the actual compiler error (and your actual compiler details), we could offer an alternative.

    Perhaps even, it's just that you're not including the right header file or the right namespace.
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 02:07 AM
  2. Seg Fault in Compare Function
    By tytelizgal in forum C Programming
    Replies: 1
    Last Post: 10-25-2008, 03:06 PM
  3. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  4. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  5. const at the end of a sub routine?
    By Kleid-0 in forum C++ Programming
    Replies: 14
    Last Post: 10-23-2005, 06:44 PM

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