Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for tingwong

Just started learning about buffer overflow attacks and had a question regarding something in this https://www.youtube.com/watch?v=EcMCiFwHnjE/ video. Why does the person write `jmpesp()` function (~1:38)? The function is never called anywhere in main so how does it appear on the `objdump` (~3:15)? Also, what is the point of the `jmp …

Member Avatar for deceptikon
0
153
Member Avatar for tingwong

Hello everyone, this is my first help post on daniweb so please excuse me if I have done something wrong. So as for my question, I have to shuffle an array of card objects. This is the code I have come up with so far. public void shuffleDeck(){ Random seed …

Member Avatar for cael13
0
1K
Member Avatar for tingwong

Hi I am working on a project on writing our own huffman coding. I am currently having trouble writing the binary 1's and 0's to an output file. It works with smaller input files but for very large files it does not write anything out to the output file. The …

Member Avatar for Schol-R-LEA
0
1K
Member Avatar for tingwong

Hi everyone I am having trouble finding the nth node of a binary search tree in an inorder traversal. I am getting NullPointerExceptions for any numbers other than 2 and 3 and even those print out the wrong values. If anyone could help it would be greatly appreciated. The method …

0
129
Member Avatar for tingwong

Hi everyone I have a final exam for my Java class tomorrow and wondering if anyone could tell me if my answers are right? The questions are True/False. Thank you all! 1. True/False — An interface may only contain method headers. 2. True/False — An interface may not contain instance …

Member Avatar for stultuske
0
294
Member Avatar for tingwong

Hi everyone, I have a project that creates a Train that pulls Boxcars. The boxcar is supposed to be generic type and have attributes such as load that adds only a specific type of object to the boxcar. The train is supposed to pull all boxcars created. I have written …

Member Avatar for JamesCherrill
0
334
Member Avatar for tingwong

Hello everyone, I have a little question regarding a project for my class. We are making a tower defense game with ants and zombies objects for our project. My question is with this piece of code provided to us. /** * Callback invoked when the player attempts to recruit an …

Member Avatar for tingwong
0
154
Member Avatar for tingwong

Hello all. For my project I have to create a snack machine with mints and cookies. So far I have gotten an array of cookies with the code below. However an interesting problem I'm having is my output: OATMEAL cookie LEMON cookie null CHOCOLATE_CHIP cookie OATMEAL cookie LEMON cookie null …

Member Avatar for JamesCherrill
0
1K
Member Avatar for tingwong

Hi everyone, I have a little problem with my code right now. For a project, we are to create a snack machine with cookies and mints using a GUI. We are given nickels, dimes, and quarters to enter in. The problem is when I enter in 1 nickel and 6 …

0
128
Member Avatar for tingwong

Hello all. So I have a little problem with my school project. We are to create a snack machine with cookies and mints and interact with it using a GUI. We click the add Mints or Cookies button to add to the 'Snack Machine' and then click buy to purchase …

Member Avatar for tingwong
0
276