Search:

Type: Posts; User: p0gig

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,407

    Open file from user input?

    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? ...
  2. maybe i used a bad example because i'm actually...

    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...
  3. Trouble trying to input only certain fragments of a sentence

    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...
  4. thank you so much, you guys are a life saver ^^

    thank you so much, you guys are a life saver ^^
  5. Overloading + operator that can't be member nor friend??

    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...
Results 1 to 5 of 5