No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi all, I'm writing this piece of code out in unix. What I want to do is pass an integer argument through the command line and then manipulate it from there. I've done char strings before but cannot seem to get it to work with int's. Once I have this … |
|
How do I pass this function if int &pos(void) - returns the element at "position" by reference my method in class definition: int &pos(void): my function is [code] int dequeint::&pos(void) { return CurrPos->x; } NodeValueType dequeint::front() { return headi->x; } [/code] but i get this compiler error expected unqualified-id before … |
|
I am constructing a class "dequeint" of integers and using circular queue storage. I get my code to compile but its output is garbage? Please HELP! .h [code] #include <iostream.h> #include <stdlib.h> const int MAXSIZE = 10; typedef int NodeType; class dequeint { private: NodeType NodeArray[MAXSIZE]; int headi; //head in … |
|
I am having a couple issues with the following code. Any help with understanding what I am doing wrong is worth its weight in gold rather than handing me the answer. My problem with the following code is I can Add a Flight to the database but it seems to … |
|
Re:
Goggle the phrase "cs enrollment" and you will see that it has fallen off a cliff. That is the rock solid proof that there is very poor demand for programmers. It can't be spun. It can't be hyped. But there is no shortage of thsoe that will attempt to spin … |