No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
Hi I there a way to make a trigger completely independent from the calling table so that even if the trigger is made invalid, inserts can still be done to the table that calls the trigger? I created the following trigger: [CODE] CREATE OR REPLACE TRIGGER LOCAL.SYNC_TRIGGER AFTER INSERT ON …
Hi Valdeth. You should use input and output file streams if you want to write and read from a file. Basically you open the file for writing and once you are done close the file. Later you can open the file for reading. The example below reads numbers from the …
Hi All. I have developed a cgi script in C/C++ to dynamically create PDF forms with data filled in from an Oracle database. To do this I used PDFlib (version 7.0.1). The submit button on the form submits a FDF file to the server where it is saved via another …
Your locate recursive function does not look right. It could simply be: [CODE] void locate(struct tree *t, int num) { if ( t==NULL ) { printf("\n\n The number is NOT found!"); } else { if ( t->data==num ) printf("\n\n The number is found."); else if ( t->data<num ) locate(t->right,num); else …
Besides the index of 8 being out of bounds, you have hard coded the value 8 so even if you were to change it to 7 or another valid index it would only check one of the strings in your array. You need a for loop to go through all …
Why don't you just store the last printed ID number and only print the ID number/name if the current ID is different to the last. This assumes you stored records for the same person next to each other in the list. You would only need to traverse the list once …
Wouldn't the first if statement mean that "births" cannot occur. If there is no '*' in the position then there will never be one. I suggest removing the line below: [CODE]if (a[row][col]=='*')[/CODE] You could fix the checking of negative indexes by adding some checks to your code: [CODE]if (row > …
How do I get EMF images to display in IE8? They display in IE6 but just show as a broken image in IE8. I know that since IE7 there was a security update done affecting EMF files as they could run some unwanted scripts but then shouldn't there be a …
The End.
Greg8202