Answers for "how to define a string variable in c++"

C++
4

how can make string value in cpp

#include <string>
string hello= "hello you thre :)";
Posted by: Guest on June-07-2020
0

c++ write string

#include <iostream>

int main() {
	std::cout << "Hello" << std::endl; //endl = end line/new line
    // or
    printf("hello");
    
}
Posted by: Guest on March-02-2020

Code answers related to "how to define a string variable in c++"

Browse Popular Code Answers by Language