How would i output my vector of strings into a ".txt" file?
The same way you would write any character array. If you don't know how to do that either here is a tutorial to help you out.
This post should help
You have to iterate through the elements of the vector and output each string to the file.
Here's one way:
for(const auto& s : v)
file_out << s << std::endl;
for(auto it = v.begin(); it != v.end(); ++it)
file_out << *it << std::endl;
for(std::size_t i = 0; i < v.size(); ++i)
file_out << v[i] << std::endl;
There's really not much to it. Pick what you are most comfortable with.
hi i used this simple form which are these..but i want to protect password from oracle database if user enter wrong name and password then not login otherwise login
Hi. I have a .raw file and I want to display it as hex. why? because i want to try and replicate what 010 Editor can do which is read ...
I was wondering what would be the best way to implement an algorythm to figure out what side a circle has collided with a rectangle?
After check to make sure ...