| | |
Changes the Case of Output Function
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Feb 2009
Posts: 136
Reputation:
Solved Threads: 0
C++ Syntax (Toggle Plain Text)
while(*n != NULL)//enters loop when there is a character { if(isalpha(*n)) break;//test to make sure character is a letter n++; } *n = toupper(*n);//converts to uppercase n++; while(*n != NULL)//while the character holds something { *n = tolower(*n);//convert to lowercase n++; } n++;
Last edited by lancevo3; Apr 16th, 2009 at 1:59 pm.
![]() |
Similar Threads
- Tutorial: Understanding ASP classes (ASP)
- Initialization skipped by case label (C++)
- Regarding Function Returning a Value. (C)
- Error messages pls help (MySQL)
- .exe crashing on executing output !! (C)
- Missing output from program (C++)
- void functions 2 (C++)
- What is the error in sorting names and tolower function? (C++)
- loop in main function to an "if" statement (C++)
- Function that returns void (C++)
Other Threads in the C++ Forum
- Previous Thread: help needed
- Next Thread: Polymorphism question in a C++ example
| Thread Tools | Search this Thread |
api application array arrays based beginner binary bmp c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count database delete deploy developer dll download dynamiccharacterarray email encryption error file format forms fstream function functions game generator givemetehcodez graph gui homeworkhelp iamthwee ifstream image input int java lib library linker list loop looping loops map math matrix memory multiple newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference rpg simple sorting string strings temperature template text text-file tree url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets





