mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
4e4d51ed22
* +abseil.io * Add tea.xyz/gx/cc: c99 to linux * Added tea.xyz/gx/make --------- Co-authored-by: James Reynolds <magnsuviri@me.com>
10 lines
No EOL
247 B
C++
10 lines
No EOL
247 B
C++
#include <iostream>
|
|
#include <string>
|
|
#include <vector>
|
|
#include "absl/strings/str_join.h"
|
|
|
|
int main() {
|
|
std::vector<std::string> v = {"foo","bar","baz"};
|
|
std::string s = absl::StrJoin(v, "-");
|
|
std::cout << "Joined string: " << s << "\\n";
|
|
} |