Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: dnnymak
  • Content: Threads
  • Order by date
  1. dnnymak

    detecting end of file?

    How do I detect end of file when reading from a file. I have tried cin.eof(), but I think this is only for reading from keyboard input. Also, does c++ automatically detect white space when reading files or is it ignored? Thank you all, dnnymak
  2. dnnymak

    double star before a variable? * *

    I am trying to read a .pgm file into an array. The code I was given has the following variable declaration: int **image; what does the "**" mean before image? thanks, Dnnymak
  3. dnnymak

    Returning 3 values from a class??

    I am trying to create a class that does a Dot-product; it returns an x, y and z value for a vector. I have implemented it so that I have to call it 3 times to get each value. Very inefficient! Can I return an array from a class? I have been able to read an array into my class, but can't figure...

Part and Inventory Search

Back
Top