Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

format string cpp

#include <iostream>
#include <format>
 
int main() {
    std::cout << std::format("Hello {}!
", "world");
}
Source by en.cppreference.com #
 
PREVIOUS NEXT
Tagged: #format #string #cpp
ADD COMMENT
Topic
Name
7+6 =