Posts by ruancomelli • 126 points
2 posts
-
0
votes1
answer322
viewsA: How do I use the fopen command?
According to the job documentation, the code snippet using fopen: fp = fopen(filename, mode); can be rewritten as errno_t error_code = fopen_s(&fp, filename, mode); in which error_code is equal…
c++answered ruancomelli 126 -
1
votes1
answer72
viewsA: How to assign split lines(Strings) of a vector to an element of another vector. Ex: v[lineAntiga][elementLinhaAntiga]
Realize that strCurrent is of class std::vector<std::string>, that is, a vector whose elements belong to the class std::string. But you don’t want each element of this vector to be a string,…