No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
[QUOTE=jdrei;1013487]scratch that..... i think i got it deleted the else on line 20, but more importantly, moved the: if (isPrime == true) cout << i << endl; to the right loop. DOH![/QUOTE] Would also say that you can skip out of 2 early, and then count only odd numbers from …
You need to put the retrtieval of the vote (cin) before the incrementing of the vote. As it stands it will add one to "Other" (Default) before it takes the first vote, and then it will drop the last vote. Pseudocode as it stands now: Loop through votes Add 1 …
[QUOTE=jen140;982538]Hello all. I want to update the field "content" to add the phraze "<br>Aproved by Admin" for every row in the database. How can i do that ? Thanks in advance.[/QUOTE] You can run an UPDATE query that updates a field relative to itself, as an example "UPDATE tbl SET …
The End.
adamsonsk