Posts
 
Reputation
Joined
Last Seen
Ranked #132
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
94% Quality Score
Upvotes Received
74
Posts with Upvotes
65
Upvoting Members
41
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
4
55 Commented Posts
~250.74K People Reached
About Me

I think I finally understand what makes an individual a great programmer. It's not the degree, and it's not the job... ...it's the discipline that makes an individual a great programmer. I know of many people at Daniweb that did not go to college and…

Interests
Reading[w/ Percent read]-- -Design Patterns (The original)[2%] -Effective C++[5%] -More Effective C++[0%]…
PC Specs
I'm so terribad at explaining hardware #_# >_> <_<
Favorite Tags
Member Avatar for cookie19ks

I think I recall my professor saying-- "The way search engines work is through Hash-indexing. All you have to do to search is Hash-it-up!" Or something along those lines. It might be wise to look up HashMap or HashSet to see how you can locate certain values through indexing, though …

Member Avatar for stultuske
0
9K
Member Avatar for Alex Edwards

This is a remake of the Simple Equation Solver snippet that is written in Java. This is an equivalent version written in C++.

Member Avatar for hassan_24
1
8K
Member Avatar for Alex Edwards

Hmm... I've made it my top priority to get a Master's and Ph.D in Computer Science and Software Systems... however I'd like to know what a suitable Master's Thesis would be? I'm thinking about making a book, maybe 6000 pages long, pertaining to nothing but Software ideals and technology. This …

Member Avatar for KelvinG
0
1K
Member Avatar for Duki

Is this really a fair comparison? With C# you are using the CLR to indirectly use your OS and in C++ you are directly using the OS. If you want this to be a fair comparison, try running the code using the CLR in C++ also.

Member Avatar for Loïc
0
932
Member Avatar for ~s.o.s~

Here's a toughy. Write the Snaker program, using either a JFrame, GraphicsProgram or a JApplet (any GUI of your choice really). Your snaker object will start off as one circle. That circle represents a head. The body grows by encountering "snake-food" on the screen. When the head runs over the …

Member Avatar for gyno
22
7K
Member Avatar for Noxes

Which Dev are you using? I believe I'm using v4.9 and I always give myself a-- >Black Background >Green text >Red paranthesis/brackets >Yellow Hexadecimal/Octal etc... I think you just need to go to your environment options to make the edits. Edit: Go to your Editor options and go to Syntax …

Member Avatar for ChampRocks
0
2K
Member Avatar for ~s.o.s~

[QUOTE=~s.o.s~;725241][URL="http://www.informit.com/guides/guide.aspx?g=java"]Java Reference Guide from Informit[/URL] [URL="http://www.javadocexamples.com/"]Javadocs by example[/URL][/QUOTE] In regards to the javadoc examples... Did you remake some of the old API listings with new and improved ones that consist of examples of function usage? O_O Even if it isn't you... it really must've taken said individual(s) quite some time …

Member Avatar for ~s.o.s~
46
6K
Member Avatar for sciwizeh

Whoo O_O! Pretty fun XD I can't seem to win! Right when I think I will, I end up landing on a mine XD =)

Member Avatar for sciwizeh
2
833
Member Avatar for k88joshi

This is a post on blackboard from a class-mate of mine-- [icode] /** * Posted by 'Gregg' */ ptr_practice1.cpp (3.139 Kb) When you create a 2 dimensional array on the stack, both the row and column values must be known at compile time, which is why you must use either …

Member Avatar for cambalinho
0
739
Member Avatar for darlineth

In order for him to use this-- [code=java] public void actionPerformed(ActionEvent e){ String str = yourTextField.getText(); String answerString = ""; try{ double answer = yourName.evaluate(str); answerString += answer; } catch (ParserException pe){ answerString = pe.toString(); } //DISPLAY ANSWER STRING IN WAY OF CHOOSING } [/code] --he'll also need a ParserException.java …

Member Avatar for darrylnuyda
0
2K
Member Avatar for funtoosh

I'm fairly certain that before you can load an image you have to prepare it first. System.out.println(prepareImage(img, 300, 400, this)); use this after you attempt to get the Image specified by your source.

Member Avatar for shanker31
0
1K
Member Avatar for kneiel

Hmm, can that union trick work with reinterpret_cast also? i.e.-- [code=c++] #include <iostream> using namespace std; int main(){ union{ short *a; float *b; }; float value = .1f; b = &value; std::cout << *a << std::endl; short *s; float *f; f = &value; s = reinterpret_cast<short*>(f); std::cout << *s << …

Member Avatar for AliceJohn123
0
680
Member Avatar for VernonDozier

It may be possible that Java won't support an image-type in future releases and therefore not provide Serialization support for it but that depends on what it is. I remember getting warning pertaining to images of a specific class and that class might be the culprit but I can't completely …

Member Avatar for JamesCherrill
0
2K
Member Avatar for enuff4life

[QUOTE=enuff4life;697737]when i do... [ICODE]String menu; Scanner keyboard = new Scanner(System.in); menu = keyboard; if (menu = "D"){ .... }[/ICODE] there is error sign under "menu = "D"" <can't convert String to boolean> why menu is boolean? I stated in String....[/QUOTE] There are a number of issues with the above code. …

Member Avatar for matthewetaft
0
708
Member Avatar for Foo_with_a_floo

In times like this I'd either write pseudo-code or a process of how I want the code to work. such as... //The maximum amount of stars printed is the argument the user/programmer decides //the stars stack onto each other until they reach max value, then descend to zero knowing this, …

Member Avatar for WaltP
0
411
Member Avatar for crbsathy

[QUOTE=crbsathy;672894]Thanks sciwizeh for ur reply. I need to fetch the memory address of the variable . In one article which i have read that "we cant say that we cant access the memory location".[/QUOTE] Use the Object.toString() method to return the memory address. [code=java] public static void main(String... args){ Object …

Member Avatar for JamesCherrill
0
1K
Member Avatar for VernonDozier

I found some links that rendered Images to .gifs, which seemed useless at first but then I looked into the Image class and all of the "helper" classes for its methods. I think I'll try to look into how to read the pixels on a screen into an array (or …

Member Avatar for ferwerda
0
414
Member Avatar for newcountry

Typically when you overload something (a function for example), you're giving a new option as to how the client/programmer can use that function. Polymorphism is slightly more difficult to describe. It's as if you're giving new meaning to an existing procedure in a way that is transparent to the client. …

Member Avatar for Netcode
0
526
Member Avatar for YaelGD

[code=cplusplus] #include <cstdlib> #include <iostream> using namespace std; #define INPUT(a) cin >> a #define PRINTLN(a) cout << a << endl #define PRINT(a) cout << a << flush class Triangle { private: int *height, *base; public: Triangle(){PRINTLN("Enter the height"); height = new int; INPUT(*height); PRINTLN("Enter the base"); base = new int; …

Member Avatar for sungaw
0
2K
Member Avatar for littlestone

I think the only way to create a "virtual constructor" is to make a virtual method that returns the object inquestion, where derived classes return a copy of their type instead of the base classes return implementation. By casting a derived type to a base type and invoking the virtual …

Member Avatar for Ancient Dragon
0
254
Member Avatar for Alex Edwards

This is a simple Search Engine that contains tokenized words as keys, in which they will return values associated with them in an ArrayList. All that is required is a text file from a valid extension.

Member Avatar for fayimora
0
10K
Member Avatar for smslive2

[QUOTE=smslive2;645923]Hi Guys, Please i need someone who could hlp me write a simple ATM program for accepting PIN, Checking Balance and Withdrawing..[/QUOTE] What's your progress? (aka post your code)

Member Avatar for Taywin
0
407
Member Avatar for Alex Edwards

Solves simple string-based expressions. Currently only supports integers, but can easily be expanded to support float-types.

Member Avatar for Taywin
1
3K
Member Avatar for n00b3

[QUOTE=mitrmkar;624358]A note regarding clipboard usage, whenever you successfully open the clipboard, don't forget to close it by calling [B]CloseClipboard()[/B] when you're done with the clipboard operations.[/QUOTE] I swear to god I'm starting get my coding confused after seeing that... Feels like CSharp when you use uppercased methods, when really it's …

Member Avatar for Panda_007
0
5K
Member Avatar for samaitaben

[QUOTE=samaitaben;632374]Can any one please assist with code for two objects coming from different direction. Subsequently, collide after intersection. The objects should be moving at 80km/h. And collision should happen shortly 30 minutes after take off[/QUOTE] This sounds like a physics problem with elements of- Newton's Law Conservation of Momentum (Possible) …

Member Avatar for tamiruu
0
254
Member Avatar for sweety_sharma

[QUOTE=sweety_sharma;652674]thanks.. thank god .. sm ppl r gud n understanding here[/QUOTE] I think he was being sarcastic... But LOL

Member Avatar for masijade
-2
172
Member Avatar for matlark

[QUOTE=matlark;638717]I am very new to programming and don't understand what I need to do to implement the modulus. I don't see how it is going to get me the correct number of bills. What is floor rounding and subtraction? thanks[/QUOTE] 110 dollars... 110/5 (int division) = 5 * 20, or …

Member Avatar for suiluj
0
734
Member Avatar for Taimur.Ace
Member Avatar for NicAx64
-2
355
Member Avatar for esy928

[QUOTE=stultuske;677689]this might be an option [code] public static void pauze(){ while(!isContinue()){ //keep the duration small, so the game will be resumed shortly after // the user presses resume sleep(500); } } public static boolean isContinue(){ boolean returnVal = false; // this method checks in the rest of your code, whether …

Member Avatar for NormR1
0
2K
Member Avatar for NewbyChic

Close one, but you would have to add some new line characters to make that work =P

Member Avatar for javaAddict
0
173