The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 convert char or string to upper or lower
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

abrahamabram

Philippines
Posts

Posted - 01/07/2008 :  8:56:14 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi.. I'm new here and I think, this forum is the answer to my problem. somebody can answer my assignment???
Maybe this is simple for you but as a beginner in programming it is difficult for me. my question is,How do I convert char or string to upper or lower case??? If you couldn't give the code, just a hint or the procedure to solve the problem...

thanks....

_________________________________________
http://michael1234539.blogspot.com
http://www.outsourceit2philippines.com

eparent

118 Posts

Posted - 01/23/2008 :  10:22:07 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Origin C's string class has MakeLower and MakeUpper methods.


void test()
{
string strMyText = "Test Text";
strMyText.MakeUpper();
out_str(strMyText);
strMyText.MakeLower();
out_str(strMyText);
}



Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000