Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 27
Member Avatar for cogitoergosum18

[CODE]#include <iostream> using namespace std; int main() { double firstNo;// first number is stored here double secondNo; double result;//variable for result when first and second number are operated upon char operation;// place to store the user's inputed operation // asks the user to choose the first number cout<< "Enter in …

Member Avatar for pseudorandom21
0
238
Member Avatar for cogitoergosum18

(sorry i miss-typed dev c++ IDE) hi, i am a CS class right now, and my professor uses VS 2010. I on the other hand am cheap, and i opted to get dev c++ as a Integrated developing environment. I wrote this code for a project due tomorrow and it …

Member Avatar for Ancient Dragon
0
161
Member Avatar for cogitoergosum18

hi there, i need to create a function that reads a series of numbers from a file and returns to the main function the mean of those numbers. I am having trouble with the syntax of array parameters and arguments (i don't know how to call the function if it …

Member Avatar for mrnutty
0
200
Member Avatar for cogitoergosum18

i can see the light at the end of the tunnel after working on this thing for 6 hours strait but i am faced with a last few errors. First here is the code: it is really long. the error statements are: 'seriesParallel' : undeclared identifier seriesParallel' : undeclared identifier …

Member Avatar for prvnkmr449
0
232
Member Avatar for cogitoergosum18

I am trying to write a function that relates a color; for example, brown with a number, say 1. so when the user types brown 1 will appear, etc. [CODE]int colortonumber (int x) { int nka; switch (x) { case 'brown': nka=1; break; case 'red': nka=2; break; case 'orange': nka=3; …

Member Avatar for VernonDozier
0
197
Member Avatar for cogitoergosum18

hello there, i need to get 7 different values for a resistor from the user, then add them up. how will i go about doing so? do i store each value the user gives me all in different variables? or is there a way to store them into a single …

Member Avatar for mrnutty
0
188
Member Avatar for cogitoergosum18

hello, i need to write a program that computes an equivalent resistor value if it is in either series or parallel . (in c++). how will i write this in c++ : [TEX] R_\mathrm{eq} = R_1 \| R_2 = {R_1 R_2 \over R_1 + R_2} [/TEX] (parallel) [TEX] R_\mathrm{eq} = …

Member Avatar for mrnutty
0
138
Member Avatar for cogitoergosum18

[CODE]#include <iostream> using namespace std; int main() { double firstNo;// first number is stored here double secondNo; double result;//variable for result when first and second number are operated upon double operation;// place to store the user's inputed operation // asks the user to choose the first number cout<< "Enter in …

Member Avatar for Takeshi91k
0
207
Member Avatar for cogitoergosum18

#include <iostream> using namespace std; int main() { int firstNo;// first number is stored here int secondNo, int resultAdd,// variable for result when first number and second number are added int resultSub,// variable for result when first number and second number are subtracted int resultMult,// variable for result when first …

Member Avatar for cogitoergosum18
0
226