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 bkrike 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: yaids
  • Content: Threads
  • Order by date
  1. yaids

    reading in bits in a binary file

    Hi, any help would be appreciated. I am opening a binary file using an input filestream, and need to read in the first octet of bits (one byte?) to perform operations on. Is there any way to just read in 8 bits? I tried doing this by reading in a 'char', but then realised that a char does not...
  2. yaids

    reading in binary file

    Hello, I want to open a binary file and read in a single octet of data (I assume this to be one-byte?). Is there a C++ function that does this?
  3. yaids

    easy(?) array sorting question

    Hi, Sorry if this question seems really stupid. For this code I'm reading in a text file containing numbers and retrieving the minimum and maximum numbers. (Each number is on a separate line in random order). I can work out the maximum number but can't work out the minimum number correctly. Any...
  4. yaids

    simple array length question

    hi i want to loop through an array and need to get its length, ie. the number of elements stored inside. however, the compiler doesnt like num.length(); it says: request for members 'length' in 'num', which is of non-aggregate type 'double[10]'. i have no idea what this means. if anyone could...

Part and Inventory Search

Back
Top