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 have writen the program but i cant seem to print result. the program builds a stack of numbers, then it adds,subs,mult, or divides all the numbers. for example 4 numbers are put in 1,2,3,4 it will ask what you wanna do . the answer should be 10 but instead … | |
hello I wrote this code and i'm having some trubble with it. When i debugg my code i get a bunch of these errors. [TEX]c:\users\roxxi\documents\visual studio 2010\projects\lab3\main.cpp(33): error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'void' (or there is no acceptable conversion) 1> … | |
i finished the program but the input of 0 and one is too much i want to know how to have it read from a file i understand i have to use inFile. open but where do i put it i put my whole program in the thread: #include <iostream> … | |
i have the shell of the code but im have some trubble i need to write the function that lets the user input a zero or a one. it have to be done in a loop the shell is shown: [code] #include <iostream> using namespace std; int const MAX_ROW=10; int … | |
i have to use an array for this and when i run my program my computer starts to spit out number can someone help me. the critia is that it can read from base 2-9 and will give me the answer in base 10. [code] #include <iostream> using namespace std; … |