- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Hello. I am working on a data structures program that should be quite easy, but after programming in assembly language using mips, I forgot a little bit of C++ and can't remember how to do this. I've used my googlefu for at least 2 hours and still have this problem. … | |
Hello. I'm currently making a program that deals with a priorityQueue and inheritence/polymorphism. Student -> undergrad -> coop_student or student -> grad Now, the queue takes in the data and just puts it in a linked list and gives it a priority. That way, there are 3 queues and we … | |
Re:
Hello, I am making a program where you are entering 2 numbers which should be product AND sum of other 2 numbers. The program then outputs what are the other 2 numbers. For example if I enter sum 13 and product 22 the program will output 2 and 11. But … | |
I'm getting a segmentation fault at this line. So far, my program has classes. A blahpod with class of songs in them. Then there is the node class. I call the operator= which is supposed to put one pod into another. It looks like so [CODE]bobcatPod bp2( bp1 );[/CODE] That … | |
Re:
Hi, I am writing this template Array class. I am trying out some different functions, anything I can think of to implement. I have written an Add function as follows: [CODE] /**Add function - adds an element at the top of the stack**/ //creates new Array 1 larger //sets position … | |
Hello again... My problem is that my if statement isn't working as I believe it should. Here is a snippet of the for loop. [CODE] for(int m=0; m<num; m++) { if(begllts <= intarray[m] && intarray[m] <= endllts); { cout << setprecision(4) << showpoint << dubarray[m] << "C" << stringarray[m]<< endl; … | |
Hey again! I've asked a question here once and have been lurking ever since. I was working on a new program and have come across problem. I don't really know what's wrong so I assume I overloaded something. The problem is in this snip of code [CODE]for(int m=0; m<num+1; m++) … | |
Sorry about the title, but I thought it would be interesting. Here is my problem. I am supposed to convert a certain input into a desired output. The input is 2 201101190930 F76.4 201101191330 C16.3 The first number is the number of strings in the file. It then goes YYYYMMDDHHMM … |