mirror of
https://github.com/vlang/v.git
synced 2025-09-18 11:56:57 -04:00
Updated V for CPP developers (markdown)
parent
6f0707ef48
commit
cf132ade78
@ -93,7 +93,7 @@ std::ifstream f("path");
|
||||
std::string text;
|
||||
text.assign(std::istreambuf_iterator<char>(f), {});
|
||||
if (!f)
|
||||
std::cerr << "error reading from file\n";
|
||||
std::cerr << "error reading from file\n";
|
||||
</pre>
|
||||
</td>
|
||||
<td valign="top">
|
||||
|
Loading…
x
Reference in New Issue
Block a user