DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
swap first and last character of string in c++
std::swap(str.front(), str.back());
PREVIOUS
NEXT
Tagged:
#swap
#character
#string
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit