CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: royalstatus

Search: Search took 0.03 seconds.

  1. Replies
    12
    Views
    1,702

    Re: Transferring output to txt file

    ok. thanks a lot. i figured it out. thanks for your help
  2. Replies
    12
    Views
    1,702

    Re: Transferring output to txt file

    and how do i create an array to make sure 1000 different x_values and y_values are listed?
  3. Replies
    12
    Views
    1,702

    Re: Transferring output to txt file

    i think its because this line tells it to do so
    file<<x_value<<","<<y_value<<"\n";

    and it does it again and again when it goes to the beginning of the loop
  4. Replies
    12
    Views
    1,702

    Re: Transferring output to txt file

    i want it written 1000 times. 1000 different x_values and 1000 different y_values. And that's why i thought the for loop will do it. But it prints out only the first x_value and y_value
  5. Replies
    3
    Views
    1,098

    Re: Transferring output to txt file

    i generated random numbers for x_value and y_value like a few lines above that code, so i thought it would print out all the random numbers to the text file
  6. Replies
    12
    Views
    1,702

    Re: Transferring output to txt file

    hi, the random numbers (x_value, y_value) are generated within the while loop. So opening the file before the while loop doesn't give me the numbers i need. do you know what i need to do? The for...
  7. Replies
    3
    Views
    1,098

    Transferring output to txt file

    Im trying to get the output transferred to a txt file. Each time i run it the way it is, it only shows a repetition of the first generated random number. I want all the random x_values and y_values...
  8. Replies
    12
    Views
    1,702

    Transferring output to txt file

    Im trying to get the output transferred to a txt file. Each time i run it the way it is, it only shows a repetition of the first generated random number. I want all the random x_values and y_values...
Results 1 to 8 of 8





Click Here to Expand Forum to Full Width

Featured