EmbLogic's Blog

strlwr, strupr header file?

when using strlwr and strupr,  error come “undefined reference to strupr”

i have used #include<string.h> but of no use

what to do now?

3 Responses to strlwr, strupr header file?

  1. siddarth says:

    It’s not defined on Solaris or Linux, or in the C standard or in libiberty. As it’s a Microsoft invention.
    You can implement it yourself by scanning the string and using toupper() – or, if you’re only working in ASCII, by adding/subtracting ‘a’-’A’ = 32 for ‘a’<=char<='z'.

  2. Md.Ismoth ali(sagor) says:

    I get worng ans when I use strlwr function to solve a uva problem.whats matter i can not understant this matter plz inform me about this regard

  3. Mikias Dere says:

    good but pls i have an assignment

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>