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