Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~14.1K People Reached

15 Posted Topics

Member Avatar for fibbo

Hey guys! I hope what I'm about to do is not frowned upon :) I just would like some input/critics/heads up on my class definition and implementation I did for my project. I am by no means a trained programmer and I doubt my coding style is very good so …

Member Avatar for fibbo
0
229
Member Avatar for LevyDee

[CODE]newSet->conditions[i] = animations[i].AnimationConditions;[/CODE] shouldnt you pick an entry from animations[i].AnimationConditions? ([n] ?)

Member Avatar for mrnutty
0
175
Member Avatar for clickspiker23

To me your second part makes close to no sense at all. Assume we have chosen package A and have used it for 22 hours. The cost from package A will then be 9.95+24. So 33.95 - this part you calculate correctly as far as I can see. But when …

Member Avatar for WaltP
0
115
Member Avatar for fibbo

Sorry for that, probably meaningless, question but I just can learn things better when I can connect it with something. So there is CGFloat, NSInt, NSString and all that stuff and I'm wondering what these prefixes mean - I do expect them to be a sort of abbreviation but I …

0
77
Member Avatar for ben1996123

Just a hint, you only need to check for odd numbers once you're past 2. also the upper limit you have to check is the square root of number because any number above you checked already with its lower part.

Member Avatar for fibbo
0
163
Member Avatar for Dante2002

Everything compiled fine for me after I removed the stray escapees. Btw, TotalOvertimeHours does nothing you initialize it once and call it later. But no value ever gets assigned to it.

Member Avatar for fibbo
0
220
Member Avatar for cafegeo

you miss the brackets around the if statement. edit: oh crap, didnt see page 2. my mistake. VernonDozier explained it already.

Member Avatar for cafegeo
0
244
Member Avatar for fibbo

I just cant get my head around it. Is there another way going through a singly linked list without using some kind of helper function? The header file wants me to implement: [CODE]size_t priority_queue::size() { /* code here */ }[/CODE] Now I just could create a helper function that has …

Member Avatar for fibbo
0
381
Member Avatar for Memo143

Do you want ketchup with the solution? Any other wishes? First off, just "PLZ HELP" doesnt cut it. That's not the way to ask a question. Second, use [code]-tags for your code and white spaces. for (int i = 0; i<N; ++i) { std::cout << "see this indentation makes it …

Member Avatar for fibbo
-2
141
Member Avatar for skips

What I can see is that your function definition and implementation require a parameter. However when you call it you dont pass a parameter. This should do what you want? [CODE]student.output_grades(final_grade);[/CODE] Another option would be to define a member variable final_grade. You then can define your functions without parameter and …

Member Avatar for skips
0
180
Member Avatar for ishaan3731

[URL="http://www.cplusplus.com/reference/stl/vector/"]Vectors in C++[/URL] Vectors can not only contain numbers but also objects - like the items of your store. Each entry then in the vector is/points at (depending on the implementation) an object of the type item with its associated member variables/functions. [CODE] #include "item.h" #include <vector> int main() { …

Member Avatar for WaltP
0
179
Member Avatar for Tinee

check the implementation of your Resultant function. You forgot the const on Z[]. vij beat me to it!

Member Avatar for Tinee
0
112
Member Avatar for fibbo

Hey, it's me again. Again with a topic that has been covered here but reading through the old threads didnt help me to solve my problem. And I am pretty clueless at the moment. Consider the class passenger_queue with 2 functions, namely: [CODE]int passenger_queue::get_passengers_waiting() const { // Insert your code …

Member Avatar for fibbo
0
7K
Member Avatar for fibbo

Alright, I suspect there is already a solution here somewhere on the forums but I'm not quite sure I'm searching for the right terms so I hope you dont mind me asking the question anyway. My goal is to make a constructor for a class called building. instance variables are: …

Member Avatar for mike_2000_17
0
2K
Member Avatar for Lokril

if you work with strings I think you need to put the string into " " quotation marks and not '.

Member Avatar for WaltP
0
2K

The End.