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

  1. mcbrune

    Searching an Array for multiple items at specified locations

    I have a program that currently has ALOT of if/else if statements searching a char array for specified elements at known locations. For example, I am looking for chars 'a' and 'b' at location 0, 3 or 4, 6. I thought of using a case statement, but because of the two values, I didn't think this...
  2. mcbrune

    Accessing Struct from within a Class

    This worked. Thank you!
  3. mcbrune

    Accessing Struct from within a Class

    I have the following code: class myClass { struct Points { int x; int y; }; } In a member function I have: myClass::memberFunction() { int startRow; int startColumn; myClass::Points.x = startRow; myClass::Points.y = startColumn; } When I try...
  4. mcbrune

    Multidimential Array Size

    I need to find either the size of a multidimential array, or the last item in the array. The array is from a query from PostgreSQL database, and I need to do a 'next' when either the size of the last item is reached. Thanks for any help! Corey
  5. mcbrune

    help

    Change *y to an array: int y[655]; Hope this helps, Corey
  6. mcbrune

    Multiple Filehandles

    You may want to rethink the algorithm. Why do you need 5 or 10 open filehandles when one will do? Open files take more system resources, and thus makes your program slower. Instead of writing to different filehandles, could you write to different files or different positions in the file based...
  7. mcbrune

    Can perl do this?

    Try the perl module Expect. The syntax is similar to the language "expect".

Part and Inventory Search

Back
Top