13 lines
291 B
C++
13 lines
291 B
C++
//
|
|
// Created by light on 19-12-12.
|
|
//
|
|
#include <iostream>
|
|
int main() {
|
|
std::string str = std::string ("toptal");
|
|
std::cout << "string object: " << str << " @ " << &str << "\n";
|
|
|
|
str += ".com";
|
|
std::cout << "string object: " << str << " @ " << &str << "\n";
|
|
|
|
return(0);
|
|
} |