Search
 
SCRIPT & CODE EXAMPLE
 

CPP

how to compare lower case character to uppercase cpp

for(int i=0;i<str.size();i++){
int c = str[i]; 
        if (islower(c))  
            str[i] = toupper(c);
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: convert int to enum c++ 
Cpp :: how to round a double to 2 decimal places in c++ 
Cpp :: queue in c++ 
Cpp :: c++ open file 
Cpp :: c++ vector sort 
Cpp :: random number in a range c++ 
Cpp :: fiunction in c++ 
Cpp :: chrono start time in c++ 
Cpp :: time function c++ 
Cpp :: access part of string in c++ 
Cpp :: 2d vector c++ size 
Cpp :: loop through a vector in c++ 
Cpp :: rand c++ 
Cpp :: read text from file c++ 
Cpp :: How to reverse a string in c++ using reverse function 
Cpp :: c++ max of array 
Cpp :: c++ typing animation 
Cpp :: get window position 
Cpp :: aray of functions in c++ 
Cpp :: the code execution cannot proceed because glew32.dll was not found 
Cpp :: input in c++ 
Cpp :: how to get size of 2d vector in c++ 
Cpp :: c++ triple 
Cpp :: for c++ 
Cpp :: how to initialize a vector of pairs in c++ 
Cpp :: how to append to a vector c++ 
Cpp :: c++ ternary operator 
Cpp :: pragma cpp 
Cpp :: Sort html elements in Jquery on condition 
Cpp :: priority queue in c++ 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =