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

  • Users: keepItSimple
  • Order by date
  1. keepItSimple

    Variable Declaration ..

    in the for loop above: for (i=0; i<10; ++i) I assume that i is declared above the for loop, so i will still be in scope after the loop ends Ricky Failure is not falling down, it's staying down.
  2. keepItSimple

    map error

    Since you included only a small snippet of code, here's a suggestion: When you use the string class, make sure and include <string> and not <string.h> #include <string> using namespace std; hope this helps. Failure is not falling down, it's staying down.
  3. keepItSimple

    '__buitin_va_list undeclared' compile error

    I was having a problem very similar to this with gcc 2.96. After reading a few bulletin boards concerning this &quot;bug&quot;, I downloaded gcc 2.95 and tried to install it. The &quot;compile&quot; of 2.95 failed for a variety of reasons. After being frustrated, I tried to compile my stuff...
  4. keepItSimple

    Sizeof operator

    First you should be getting 11 & 4, not 10 & 4, as the sizes of your records. You have two different data types: char record[10+1] // an array of 11 char's char *record // a pointer to char's sizeof() returns the amount of memeory that is used to store each. The array physically...
  5. keepItSimple

    classes, dinamix memory allocation question..

    First to answer the question: can we use pointers to get access to private members or functions in a class? You do not access the private members in your example, however, only the member functions of the class have access to the private data members of the class. To access the private data...

Part and Inventory Search

Back
Top