No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
I wrote a program to simulate a simple page flip animation in opengl and now i'm trying to replicate it with two images using texture mapping so that the second image appears on the "back" of the first image during the drag of the lower left corner of the page. … | |
I'm trying to print one line of text in my database code and i want it to print under a button i have made in html. [CODE]<button id="gen" type="button">Generate tables by clicking here!</button> <div id="response"></div>[/CODE] [CODE]$('#gen').click(function(){ $('#response').load('createtable.php'); });[/CODE] And this code appears in createtable.php [CODE]echo "Tables were set up correctly.";[/CODE] … | |
I need to write a function that adds entered values to a sequence AFTER the current_index [CODE]void sequence::attach(const value_type& entry) { assert(size( ) < CAPACITY); size_type j; if (!is_item()) current_index=0; for (j=used; j>current_index; --j) data[j] = data[j-1]; data[current_index] = entry; ++used; }[/CODE] current_index is the position in the dara array … | |
Hello, Im programming an image reader and I need to print out a histogram that shows how many times a given pixel value is present in a image - actually it doesn't have to be the graph, just a table with two columns would be enough i have written a … |