mirror of
https://github.com/loot/yaml-cpp.git
synced 2026-07-27 14:13:42 -07:00
Fixed char output
This commit is contained in:
+3
-1
@@ -4,7 +4,9 @@
|
||||
int main()
|
||||
{
|
||||
YAML::Emitter out;
|
||||
out << YAML::DoubleQuoted << "Hello, World!\n";
|
||||
out << YAML::BeginSeq;
|
||||
out << ':';
|
||||
out << YAML::EndSeq;
|
||||
|
||||
std::cout << out.c_str() << "\n";
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user