No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm trying to read a text file of a graph and print information about the graph including the order and size of the graph, rather it is a directed or undirected graph, if it is directed the in and out degree, and the and a list of all vertices for … |
|
Im trying to write a code where the user inputs an expression and then prints the answer and the postfix expression my problem is the parenthesis are all off and I'm not sure how to get them to print normal or even do without the parenthesis at all For instance, … |
|
I need a code that reads in a text file into an object Computers and sorts the specific indexes in descending order, as you can see the first one vendors is already sorted so you just need to print that one. Then in my case 2 I need to print … |
|
This was an assignment for school a homework assignment but Im studying for the test and going over the homework so I just wanted to know how to do this problem correctly he said it needed a various cjne statements but I just dont know how to do it it … |
|
I'm going to openly admit that this is homework but I cant find the answer in the book or on the web, but I worked it out and heres what I got I just need someone to check if its right Is the function (log n)! polynomially bounded? In other … |
|
I have to modify the myqueue and mystack templates and make a new class called myerror in order to make the main.cpp work, im getting countless errors tho in the main.cpp Here are my errors [code] main.cpp: In function ‘int main()’: main.cpp:52: error: no matching function for call to ‘MyStack<double>::MyStack(int)’ … |
|
compiles there are no errors but it only outputs part of the desired output and then exits in a segmentation fault This is the output its printing out [code] Input is: 25 10 - 100 115 - - 300 2 5 * / / Contents of input queue: 25 10 … |
|
The compiler only displays a portion of the output and then it exits this is what it compiles: [code] =============================================== Operations on Empty lists: =============================================== Size = -886911509 Length = 0 empty list: Sum of two empty lists: Program received signal: “EXC_BAD_ACCESS”. sharedlibrary apply-load-rules all stringlist(2449) malloc: *** error for … |