using fstream, i can't seem to open a file from user input
for example i cin a string from the user and try infile.open("A:" + string) but that doesn't work, can someone tell me how to do this? ...
Type: Posts; User: p0gig
using fstream, i can't seem to open a file from user input
for example i cin a string from the user and try infile.open("A:" + string) but that doesn't work, can someone tell me how to do this? ...
maybe i used a bad example because i'm actually using this for multiple lines in the text file, and some of the things in the text might be just one word or two words (it's random), for example if...
say i'm reading from a text file and it says:
"Michelle Johnson , Dennis Doe , Clifford Robinson"
let's say i got 3 strings and i want to store each name into a string, for ex, string 1 should...
thank you so much, you guys are a life saver ^^
4) Addition – To add two quaternions you have to add the corresponding components. Thus (1.1, 2.2, 3.3, 4.4) + ( 1, -1.2, 4.4, 10) = (2.1, 1, 7.7, 14.4).
Implement both the += operator and the...