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 strongm 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: *

  1. vladimir4you

    Structures, Urgent!!!

    Dear Vinicius - Unfortunately it's PowerBuilder, not C and you cannot use sizeof(...). There is no function to determine the lenght of the structure. I guess if you really need to know the size of it in chars, you'll need to create a variable of type String, convert every element into this and...
  2. vladimir4you

    How can I find the EOF?

    SarahKate31 - your are most likely looking for eof() method for the ifstream class. what you can do is: ... ifstream starFile (&quot;star.dat&quot;); if(!starFile) cout<<&quot;cannot open&quot;<<endl; while (starFile) { starFile.read((char *) &<your storage>, sizeof(<your storage>)...

Part and Inventory Search

Back
Top