No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
11 Posted Topics
Hey guys, how would i create a random number to decide whether it should enqueue the customer or not. thank you. | |
How would I get the code below to time both the iterative version and the recursive version of the Fibonacci function so that I can see which one is faster. I already have the timer.h file to go along with it. I'm thinking i should use t.start() and t.stop() to … | |
how would i get the file below to display the number of moves by adding an output statement after the call to move() in main() to display the value of moveNumber, which will be the number of the last move. Thanks! [code] #include <iostream> #include <iomanip> #include "timer.h" using namespace … | |
I need some help with postfix expression please. I've only been able to find examples about changing from infix to postfix. With the code provided below, I want it to the following: 1. if the token is an operator (it is a +, -, *, or /) a. two items … | |
Hey guys, I need to write a code to evaluate postfix expression. I started on it but now I'm stuck. Below I have what I started on and the file that it needs to go into. I need it to do the following: If the token is an operator of … | |
Nevermind. No one answered but I got it now. | |
Hey guys, I have a program zipped and attached to this message. Can someone please run it on command prompt or cygwin or something and let me know if it works? I tried running it on it but for some reason it did not work but when I run it … | |
Hey guys. I'm making a program for tic tac toe but i'm stuck now. I want to move the section in the while loop from the main function at the very bottom to a new public class called nextMove but I'm not sure how to do that. Also How can … | |
Hey guys, how would i convert the code in option ascending and descendingGPA to where it sorts all students in ascending order by lastname and all students in descending order by gpa. thanks! [code] #include <iomanip> #include <iostream> #include <fstream> #include <cstring> using namespace std; struct StudentRecord { char lastName … | |
How would I call the function so the program runs through each option. I've got the program done but everything i run it, the options do not run. Any help? Thanks. [code]#include <iostream> #include <fstream> #include <iomanip> using namespace std; void readMatrix (double x[][30], int & m, int & n); … |
The End.