Search Results

Showing results 1 to 7 of 7
Search took 0.01 seconds.
Search: Posts Made By: jwstickley
Forum: Java Oct 26th, 2004
Replies: 2
Views: 4,817
Posted By jwstickley
Likely your DB session is set to autoCommit after each SQL command issued through JDBC. Any open resultSets on a given DB connection will reset after a commit (auto or manual). If you turn off...
Forum: C Oct 26th, 2004
Replies: 2
Views: 6,095
Posted By jwstickley
I fixed a couple of problems I noticed after I submitted the posting....

// C is the collection type and I is the item type.
template<class I, class C<I>>
I& operator[](C<I>& someCollection,...
Forum: C Oct 26th, 2004
Replies: 2
Views: 6,095
Posted By jwstickley
Not sure if you are doing templates or not, but templates provide the most reusable solution... Here is a simple solution using templates and will work on any collection having any type of data. ...
Forum: C++ Oct 26th, 2004
Replies: 1
Views: 1,421
Posted By jwstickley
The infinite loop is caused by the fact that you never decrement your num_rooms variable. add
<TAB>num_rooms--;
to the end of your while loop.

Your number of tiles issue is located in the...
Forum: Java Oct 26th, 2004
Replies: 12
Views: 5,406
Posted By jwstickley
public String reverse(String normal)
{
//reverse the letters in string

int length = normal.length(); //length of string
StringBuffer result = new StringBuffer(length);
int i;

for(i =...
Forum: C++ Oct 26th, 2004
Replies: 2
Views: 5,509
Posted By jwstickley
Forum: ASP Oct 26th, 2004
Replies: 1
Views: 17,258
Posted By jwstickley
If you collect the result set from your first query into a coma separated string as follows:

16,27,95,97,90,89,65,45,44,78,87,93

then, you can then embed this string in the second query as...
Showing results 1 to 7 of 7

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC