Posts
 
Reputation
Joined
Last Seen
Ranked #359
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
68% Quality Score
Upvotes Received
9
Posts with Upvotes
6
Upvoting Members
7
Downvotes Received
6
Posts with Downvotes
1
Downvoting Members
6
7 Commented Posts
~49.3K People Reached
About Me

Did 6 years in the military (navy), jumped into school, I work a steady job as a janitorial professional (thats right I said professional). I have one wife, two kids, and three computers.

Interests
watching New Orleans Saints football, sleeping in my oven, howling at the moon
Favorite Tags
Member Avatar for Narue

Don't know how useful this is to anyone else, but I made a pdf set up for easy reading on my Irex Iliad digital book reader. I'm sure some of you have some Kindles or Sony Readers or whatever. Anyway, here you go, my pdf I made of Narue's post. …

Member Avatar for Smn
18
13K
Member Avatar for zmariow

[CODE]//Namespaces needed using System.Diagnostics; public bool FindAndKillProcess(string name) { //here we're going to get a list of all running processes on //the computer foreach (Process clsProcess in Process.GetProcesses()) { //now we're going to see if any of the running processes //match the currently running processes by using the StartsWith Method, …

Member Avatar for winnercom
0
3K
Member Avatar for shopnobhumi

dis: [CODE]for(int i=0; i<5; i++) { for(int j=0; j<5; i++) cout << "*" cout << endl; }[/CODE]

Member Avatar for kavita_gunaji
0
808
Member Avatar for packetpirate

If you're in windows (like using visual studio 2005) then just use [CODE]system("PAUSE");[/CODE] If you're on a Unix console, you really don't need a pause after you run your code. The snippet above may be useful for pausing at different times other than after the code runs, to run the …

Member Avatar for MosaicFuneral
-1
2K
Member Avatar for Elihu5991

Take a look at Game-maker.. It is more geared toward drag and drop and 2d rather than 3d but it can be fun to toy around with: [url]http://www.yoyogames.com/make[/url]

Member Avatar for Elihu5991
0
291
Member Avatar for Bri426
Member Avatar for MisterBook

So eh... when you're calling your deal here [CODE] QuickSort(&test);[/CODE] with your 20 element (size) and then you're doing this [CODE]int Low; // The left end. int High; // The right end. int Pole; // The pivot. ... int Size=RawData->size(); // Get the size of the vector to be altered. …

Member Avatar for MisterBook
0
130
Member Avatar for Dark Byte

This is C++'s scope resolution operator. This resets the scope of that variable in this case. You see this all the time when you declare a class and then implement its functions elsewhere. For example, you have [CODE] class myClass { int myFunction(); }; int myClass::myFunction() { ... } [/CODE] …

Member Avatar for LordNemrod
0
115
Member Avatar for VBNick

This isn't a bug in VS if that is the question. Is there any reason you are insistent on using an unsigned short for your loop control variable? It would be much simpler to just use a plain old int

Member Avatar for William Hemsworth
0
170
Member Avatar for kuchick32

5 factorial: 5! = 5 x 4 x 3 x 2 x 1 = 120 4! = 4 x 3 x 2 x 1 = 24 15! = 15 x 14 x 13 x 12 x 11 x 10 x 9 x 8 x 7 x 6 x 5 x …

Member Avatar for Narue
0
96
Member Avatar for embooglement
Member Avatar for bonskiee

Set your x and ctrl to whatever you input for inpt. Then you can run through ( ctrl > 0 ) and output x like [CODE][B]while X is larger than zero then print X subtract one from X endwhile[/B][/CODE] Decrement your ctrl counter and set X equal to ctrl and …

Member Avatar for prvnkmr449
0
124
Member Avatar for fire_
Member Avatar for charlesnazereth

You may find " [URL="http://msdn.microsoft.com/en-us/library/9yd93633.aspx"]Linking an Executable to a Dll[/URL] " from MSDN helpful. Depending on what version of VS you are using (this is for 2008): You can got to Project Settings > Properties > Configuration Properties > Linker > Input Under Additional Dependencies add "Fmod.lib" to anything that …

Member Avatar for chococrack
0
161
Member Avatar for arshiyafatima

[URL="http://www.daniweb.com/forums/post56470.html#post56470"]This post[/URL] may or may not be helpful. :)

Member Avatar for chococrack
0
67
Member Avatar for MAbebe

Not only that semi-colon but also look at your braces in your function: (I marked things in red) [CODE]void final_grade(grades& the_grades)[B][COLOR="red"];[/COLOR][/B] { cout << "Enter the score of the first quiz: "; cin >> the_grades.score_quiz; cout << "Enter the score of the second quiz"; cin >> the_grades.score_quiz2; cout << "Enter …

Member Avatar for chococrack
0
162
Member Avatar for CodyOebel

Get the coordinates of the cursor relative to the entire screen. Then use something like GetWindowRect to grab the coordinates of the game window. Then from there it should be easy to perform a simple conversion to get the mouse coordinates relative to the game window Reference: [url]http://msdn.microsoft.com/en-us/library/ms633519(VS.85).aspx[/url]

Member Avatar for chococrack
0
258
Member Avatar for dflatt

[QUOTE=dflatt;1329008]the question was the title so can there be multiple getters to one setter?[/QUOTE] Theres absolutely nothing wrong with setting all three in one function and then having independent get functions for each one. Cheers !

Member Avatar for Ancient Dragon
0
129
Member Avatar for exekiel101

You're on the right track, but you're not getting the prime number part correct. Try re-writing the inside of your while loop and remove the cout << numbers after the loop, as you wouldn't want to print anything there in other words [CODE=C++] #include <iostream> using namespace std; int main() …

Member Avatar for chococrack
0
243
Member Avatar for cjreischl

Well here in the MODE: [CODE=C++]//MODE int x; int freq = 0; frequency = new int[freq]; for (int count = 0; count < stdSurveyed; count++) { x=students[total]; frequency[x]++; } cout << "The mode is: " << mode << endl; [/CODE] You are outputting mode without doing anything to modify it …

Member Avatar for Cool_Breezey
0
171
Member Avatar for Arthas

[url]http://www.boost.org/doc/libs/1_44_0/more/getting_started/index.html[/url] [url]http://www.boost.org/doc/libs/1_44_0/libs/multi_index/doc/examples.html[/url] [url]http://msdn.microsoft.com/en-us/library/aa288739(VS.71).aspx[/url] [url]http://www.gamedev.net/community/forums/topic.asp?topic_id=553798[/url] Source: google.com

Member Avatar for Arthas
0
150
Member Avatar for XMasterrrr

Here is what it looks like when I run the code: [CODE=fortran]Please enter your first name: Blake ********************* * * * Hello, Blake! * * * *********************[/CODE] What are you having trouble with?

Member Avatar for XMasterrrr
0
142
Member Avatar for captainSheepdog

Try installing the VC++ 2010 Runtimes [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84&displaylang=en[/url]

Member Avatar for captainSheepdog
0
133
Member Avatar for NicAx64

I read a book a couple of years ago with tons of great tips for creating well structured code called Code Craft: [url]http://nostarch.com/codecraft.htm[/url] It was really a great read and worth a look if you're looking for ideas on what is generally considered "good" programming practices.

Member Avatar for chococrack
0
186
Member Avatar for cogitoergosum18

[CODE=C++]// result of the operation when addition is chosen resultAdd == firstNo + secondNo; cout<< "the sum of the numbers are ->/n"; cin >> "resultAdd";[/CODE] Just a couple of little errors here: 1. you used == in place of the assignment operator = 2. the cin >> "resultAdd"; line is …

Member Avatar for cogitoergosum18
0
227
Member Avatar for akira_shinizaki

A pyramid such as that grows at a rate of (2x - 1), or one less than 2 times x. [code] ***X 2*1 = 2 -1 = 1 **XXX 2*2 = 4 - 1 = 3 *XXXXX 2*3 = 6 - 1 = 5 XXXXXXX 2*4 = 8 - 1 …

Member Avatar for kvprajapati
0
251
Member Avatar for chococrack

I am having trouble finding out info regarding how to stop my application from "Beeping" every time I change focus with the "ENTER" key. For the sake of clarity here is the specific action and code which produces a sound (which I want to eliminate): I am simply trying to …

Member Avatar for chococrack
0
173
Member Avatar for JD2000
Member Avatar for ALAZHARY

When I want to thoroughly test something I take it one TINY step at a time, but that might have a lot to do with my OCD :D I would worry about the first step, ensure that works fine, then move on to testing the rest of them, rather than …

Member Avatar for Laiq Ahmed
0
175
Member Avatar for sid78669
Member Avatar for sid78669
0
208