Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
71% Quality Score
Upvotes Received
22
Posts with Upvotes
19
Upvoting Members
22
Downvotes Received
12
Posts with Downvotes
9
Downvoting Members
8
5 Commented Posts
~112.45K People Reached
About Me

Almost done with my 2-year Associate in Applied Science-Programmer Degree =)

PC Specs
Windows XP
Favorite Tags

181 Posted Topics

Member Avatar for Good Bye
Member Avatar for ndowens

You are sending the char '+' to your calc.add function. Line 34 should be calc.add(a,c), but this is still not going to display anything, although it will do what you expect except you are not applying the return value to any local variable. You also need to add a break …

Member Avatar for egidijus.aranauskas
0
4K
Member Avatar for yuugib

Just going to throw this out there, but a lot of times, it is easier to sort as you add new elements, instead of waiting till after you add all your elements.

Member Avatar for meggy12
0
332
Member Avatar for blackcathacker
Member Avatar for LevyDee

So I have always developed in a 32 bit environment, but now have the opportunity to step into 64 bit development. What I am working on requires a lot of pointer aritmatic, and I am a little confused how primitive data type sizes vary from 32 to a 64bit platform. …

Member Avatar for LevyDee
0
179
Member Avatar for The Dude
Member Avatar for ben1996123
Member Avatar for LevyDee

For the life of me, I can't figure out what I am doing wrong! It has been sometime since I have had use for my own list type, but since std::vector is pretty worthless for what I need it to do, I need to relearn templates. [code] #include <memory.h> template …

Member Avatar for mrnutty
0
109
Member Avatar for tonic22

your data pointer is never set to point to anything. You could set it before line 38, then you wont get your error. So say on line 37, put test2.data = &test;, then you will no longer get an error.

Member Avatar for LevyDee
0
130
Member Avatar for tyricec
Member Avatar for wnr78ta

[code] DllllNode* temporaryTail = _last; _last = _last->_back; delete temporaryTail; [/code]

Member Avatar for wnr78ta
0
717
Member Avatar for Despairy

Send everything you want to output into a string stream(#include <sstream>). [code] std::stringstream ss; ss << "My hero has " << LIFE << "life and " << bla bla bla; return ss.str(); [/code]

Member Avatar for jwenting
0
249
Member Avatar for BoBok2002

You need to format your defines as such: #ifndef #define #endif after you said #ifndef _mystack_H you need to then put a #define right after that on line 5

Member Avatar for BoBok2002
0
43K
Member Avatar for LevyDee

Ive been trying to understand this subject for two days now, but can't seem to get it working. My setup is two consoles, a Server console, and a server message board console. The Server message board is a child process of my Server console. The Server will send messages to …

Member Avatar for LevyDee
0
204
Member Avatar for ecclesiastes3:1

Ive only done basic java, and it was a long time ago, but where do you call InitComponents()? You should call it in your ctor. I believe this is why nothing is being drawn because you don't add them to your frame(because you don't call InitComponents()).

Member Avatar for ecclesiastes3:1
0
299
Member Avatar for abdelhakeem

Restart You reached 271 points, so you achieved position 16081 of 205301 on the ranking list You type 400 characters per minute You have 73 correct words and you have 4 wrong words =D Ima try again! Went again got 84 =)

Member Avatar for nick.crane
0
449
Member Avatar for tubby123

Well, the size in memory is mostly dependent on the compiler. That asides, the size of c[10] would not be the size in memory of 10 char data types, but rather the size of a char pointer.

Member Avatar for Adak
0
83
Member Avatar for sathya88

Never done multithreading in java, but I am going to assume it is like anything else. When you create a new thread, you pass in the parameter in the function call. So if you want to pass an integer, you would pass in the variable, typically in the void* parameter, …

Member Avatar for Muralidharan.E
0
15K
Member Avatar for afi@alvi

I have never heard of a "Converter" that will take a program and port it. Although, you can reverse engineer your program and build it using the iPhone SDK(not sure what they call it, but there is one obviously).

Member Avatar for mrnutty
0
193
Member Avatar for L3gacy

In my personal opinion, I found books to be not very helpful once you get past learning the language syntax and some basic concepts(AKA When you first try to pick up programming). When it comes to learning specific API's, or really anything, I found that the internet is your best …

Member Avatar for L3gacy
0
190
Member Avatar for galhajaj
Member Avatar for LevyDee

I haven't really found anything on the topic other than its bad to cast, but I would assume there is a "proper" way to accomplish this. To illustrate: Class B and Class C both inherit from Class A. I have a function MyFunction(A obj); In MyFunction() I would check if …

Member Avatar for LevyDee
0
120
Member Avatar for fsefsef23

From the looks of it, next is a pointer to the object type of what ever p, q, r and t point to. "next" is not a very common name for this that people use(i think). I like to use link. quick look at a simple object that is being …

Member Avatar for LevyDee
0
179
Member Avatar for LevyDee

I am confused! [code] void AnimationEngine::AddAnimationSet(Animation* animations) { AnimationSet* newSet = new AnimationSet(); for(int i = 0; i < (sizeof(animations) / sizeof(Animation)); i++) { for(int n = 0; n < animations[i].AnimationConditions.size(); n++) { //newSet->conditions is of type std::vector<std::vector<myType>> //animations[i].AnimationConditions is of type std::vector<myType> newSet->conditions[i] = animations[i].AnimationConditions; } } //Stuff unrelated …

Member Avatar for mrnutty
0
167
Member Avatar for bigdan182

If you are new to c++ and looking to learn some data structures, I would suggest you look into creating your own list via pointers. Try googling c++ linked list. Create your own linked list, and when a team loses, you can write a function that will remove that team …

Member Avatar for mike_2000_17
0
220
Member Avatar for Behseini
Member Avatar for vedro-compota

What tools are you using? Are you using WPF and XAML? And yes, could you please explain a little bit more?

Member Avatar for vedro-compota
0
239
Member Avatar for davidcasey1212

The error is pretty straight forward I would think? Plus you are posting in the wrong forum. This is not a C++ issue.

Member Avatar for kristenlawson20
0
288
Member Avatar for F.O.G

Hint1: How would you find out if a number is even or odd, say if you were doing a math assignment?

Member Avatar for LevyDee
-3
123
Member Avatar for pseudorandom21

Its how ever you program it. Most companies will write there own serialization engine. Im not an expert in the area, but as far as I understand it there is no standard way of "serialzing" an object, because the point of serializing is to make the data available only to …

Member Avatar for kvprajapati
-1
112
Member Avatar for localp

Its been a while sinced I used windows forms, but Im sure there is a LoseFocus event or something similar. In that event, just reset your focus using your window handle. Edit: Here is a list of events available. [url]http://msdn.microsoft.com/en-us/library/system.windows.forms.form_events.aspx[/url] There is a Leave event. This triggers when the window …

Member Avatar for ddanbe
0
217
Member Avatar for montjoile

This is incorrect because you typedef btree as a pointer already. [code] btree* D=crear_nodo(aux, temp); [/code] try this instead. [code] btree D=crear_nodo(aux, temp); [/code]

Member Avatar for montjoile
0
365
Member Avatar for Ertzel

You can't compare character arrays like that. Your best bet is to create a function that will do a loop check of each element in the two arrays. And have it return a boolean. aka [code] bool isEqual(char onFile[], char checking[]) { for(int i = 0; i < (sizeof(onFile) / …

Member Avatar for Ertzel
0
147
Member Avatar for Ninjah
Member Avatar for Ragoune

Im not quit sure I understand your question, but one thing I see that you might not realize, is that on line 8 you are setting the element at ways[count_ways] to the first element that the coordinate variable points to. So if coordinate array was {0, 1, 2, 3} and …

Member Avatar for LevyDee
0
136
Member Avatar for eman 22

templates cannot be in separate files. You have to declare and define a template in the same file.

Member Avatar for eman 22
0
143
Member Avatar for denmarkstan

If you want to be good at .Net framework, start practicing. You don't get good by being told what to do. You get good by trying new things. Sit down and figure out what you want to build, and try.

Member Avatar for abelLazm
0
115
Member Avatar for nssltd

Modeling: Blender Design: Cracked version of CS3 IDE VS2010 Professional(Thanks school) Game Engine: Designing my own right now actually =)

Member Avatar for predator78
0
168
Member Avatar for clickspiker23

There is an actual midpoint formula you can use to find the midpoint between two points. [url]http://www.purplemath.com/modules/midpoint.htm[/url] So in your case, using (0,0) and (5,2) x = (5+0)/2 and y = (2+0)/2

Member Avatar for LevyDee
0
407
Member Avatar for Khoanyneosr

The example you downloaded looks like it has an error. The name of your windows procedure here is MainWndProc not WndProc. On line 53, WndProc is not declared. Try replacing it with MainWndProc.

Member Avatar for LevyDee
0
264
Member Avatar for Rimojenkins

it looks like the data member of node is of type int. Make sure data is of type student*

Member Avatar for LevyDee
0
266
Member Avatar for RiceKernel

Sounds like you want computer engineering. Computer Science is fairly broad term encompassing a lot of related items.

Member Avatar for abelLazm
0
88
Member Avatar for Taibah

Make a case for WM_COMMAND, and in that case, switch the LPARAM which contains the ID of the button that you assign when you create the button using the HMENU parameter

Member Avatar for Ancient Dragon
0
254
Member Avatar for rockerjhr

If you want the ability to compare even if they are not in the same order, but contain the same sets of data, when you overload your == operator you could temporarily sort the list and than compare.

Member Avatar for L7Sqr
0
872
Member Avatar for rhuffman8

An iterator is simply a pointer to a node in your list. If you wrote all of that code, you should be able to figure out how to implement one and what its purpose is. Take the term "iterator" in a literal sense. EDIT: Reread your question and it seems …

Member Avatar for rhuffman8
0
278
Member Avatar for triumphost

No one has answered because you have posted almost 200 lines of code without a definitive question and no really explanation of what is wrong.

Member Avatar for triumphost
0
328
Member Avatar for LevyDee

Im pretty green when it comes to designing a large scale application architecture, and have a question on the way I should go with it. Just for an example, to ask the direction I should take my design in, consider this: A parking lot manager has control over everything that …

Member Avatar for mrnutty
0
126
Member Avatar for floatingDivs

you could also use the ignore() function if a colon is always going to be attached to the end of your label. This will move your stream pointer one char past your colon. Then you can use getline() and it will get the rest of the line up to '\n' …

Member Avatar for LevyDee
0
122
Member Avatar for The Dude

Only 29 =(. But to be fair, there were about 3 that I couldn't figure out how to spell correctly. Looks like I need to brush up!

Member Avatar for e-papa
0
89
Member Avatar for Khoanyneosr

Please post the compiler error. Edit: My first guess is you don't reference your .lib file for d3dx9. Like I said, post your error.

Member Avatar for LevyDee
0
139

The End.