No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
23 Posted Topics
Hi, I am trying to construct a binary tree using a list. class Element { private: list<Element*> _children; char* _name; //...other data members and methods } I have a class ("Element") that has children ("_children"), but I cannot figure out how to add children to the elements of "_children". I … | |
Hello, I am wondering how I would access an element on a List? Is it something to do with the iterator? list<Element*> _children; _children.push_back(child); _children.push_back(child); For example, how would I access the "children" of this list? Thank you. | |
Hi, I have made a class and have an overloaded ostream operator method in it... However it tells me: "overloaded 'operator<<' must be a binary operator (has 3 parameters)." Can someone tell me how to fix this? Thank you! I have included some of my code: class Element { private: … | |
Hello, I have some questions I thought of searching the web and I would be eternally grateful for anyone to answer some of them. How to properly override the ostream operator? What exactly is big O notation? How to count primitive operations? Is there a way to see how much … | |
Hi fellow members, I have wrote two abstract classes, with the second inheriting from the first. However, I receive this error when I try to compile: "error C2143: syntax error : missing ',' before '<'." Will somebody help me out? Thanks! template <class DataType> class AbstactArrayClass { friend ostream& operator … | |
My computer stopped working as in it would not get past POST. Before that, I was just surfing the web as usual, then it froze and just reset itself getting stuck on the DRAM or CPU test by the led staying lit. I just stopped messing with it and last … | |
Hello fellow forum members, I am struggling to understand what I am supposed to be doing with ACL2. So I am given these axioms that define a function called up, and I just need to translate these into ACL2. -- axioms for predicate for increasing lists of numbers (up nil) … | |
Re: I've updated my code (I'm the same guy just a different account). public String ScholarNeighborhoodList(Scholar scholar, int selectedWidth, String scholarNeighborhood) { if (selectedWidth == 0) { return scholar.toString() + "\n"; } else { for (int i = 0; i < scholar.getScholarlyPubCollection().size(); i++) { if (i > 0) scholarNeighborhood += "\n"; … | |
Okay, so it's been awhile since I've posted on here, but I am having trouble figuring this problem out. So, students need to be assigned randomly to experiments. Experiment 1 has 5 participants, 2 has 10 participants, and 3 has 20 partcipants. Every iteration through the loop, it asks for … | |
Hi forum, I was not really sure where to post this topic, but I need help in deciding what to do with my education. As of right now, I am finishing my associate's degree in computer science, and I decided that I wanted to transfer this degree into a game … | |
Re: Could you post your interface and implementation code here so we can review it? | |
Re: You can use Adobe Flash to make an app. You can draw buttons and custom GUIs. You have to learn action script though to learn how to handle the events the button creates. | |
Okay, so I have a text file like this: I Did It Your Way, 11.95 The History of Scotland, 14.50 Learn Calculus in One Day, 29.95 Feel the Stress, 18.50 Great Poems, 12.95 Europe on a Shoestring, 10.95 The Life of Mozart, 14.50 And, as you can see, there are … | |
Will someone please tell me why I keep getting my custom file not found exception? The file is spelled correctly and is in the same directory of my java file. I am programming on Eclipse on Mac OS X. Here is my source: // Dillon Sheffield // Lab 10a // … | |
Hi forum, I just need a little help on one thing, how can I import this text document and make it usable in a JList object for my GUI application? I Did It Your Way, 11.95 The History of Scotland, 14.50 Learn Calculus in One Day, 29.95 Feel the Stress, … | |
Hi forum, I am wanting to advance my programming knowledge to the next level: to create games. I have a pretty-good understanding of VB.NET and I am wondering what I could do to make games. I know that most on-the-web games are written in ActionScript with Adobe Flash, but would … | |
Re: I prefer just to use notepad to open .asm files to edit and assemble them from there. | |
Hi forum, I am just wondering how I could just use the last two digits of a four digit year the user inputs. For example, I want to drop the [19] from [1960] and just use the [60] which should be 3C in Hex so the registers would read it. … | |
Hi forum, I just need help on my code. I am trying to find all the Armstrong numbers from 100-999(i.e. when the cubes of three digits added together equal the number - 1^3 + 5^3 + 3^3 = 153.) My code works until it gets to line 93, then it … | |
Hi members, just a simple question, how would I show a constant in an UML diagram? For example, here is a double field the class contains. - radius : double But how would the constant PI (3.14159...) be shown? - PI : constant?? Future thanks for the responses! | |
Re: Uh.... compile a program in visual basic and the compiler will translate it to assembly 0.o I think.... :) | |
Sorry for the newbie question, but I was just wondering if it is possible to program in C++ or some language other than Objective-C on iOS devices? If so, what tools could I use? Visual Studio? Thanks!! :) | |
Hey forum, our professor assigned us a program we have to write in assembly language and I would love to have help on it. [QUOTE]Write an upper-to-lower case and lower-to-upper case conversion program. When the user inputs a letter, your program should convert it to upper case if it is … |
The End.