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...
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...
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.