No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Please decode this question for me. I have been trying to undestand the question and tried to write a code to do what it is asking but my answers are not matching with the question's answers. Question as follows: 1. For a given a>0, the following relationship will determine the … |
|
Hi, I am almost done with C++ and my project is on Resistors. The problem is that when i try to tun the program, line 37 and 34 has an error saying "no match operator". It is the same as line 28 and 31. Then when I make line 34 … |
|
Hi, I created a member file name "ConverterA" but it keep saying has no member. Please help me in this situation. What does it mean? [CODE]class Resistance { private: string ColorA[9], ColorB[10], ColorC[12], ColorD[12]; int Resistances, Tolerance; public: int SelectedOP2(); int Option(); int ConverterA(string); int ConverterB(string); int ConverterD(string); int Converter(string); … |
|
Hi, I need help finding the problem with my program. I believe everything is working but when I input the the tolerance, the program suddenly terminates. Please help me spot the problem. By the way, as a warning my program is very long but redundant. hehe. [CODE]#include <iostream> #include <string> … |
|
Hi, Im trying to compare an inputted string to an array of string. If the inputted matches one of the array of string it should return 0, but if not it should return 1. Any suggestion on how to do this? This is my program: [CODE]{ for ( int j=0; … |
|
Hi, I need suggestions on how to count the words, letters, characters on a file . I created a program of it however, when i use the "seekp(0L,ios::beg);", it doesn't go to the beginning. I want to just close and re-open the file but I think there is a better … |
|
Hi, I'm trying to find the resultant of a given data using fstream. I made the program and everything and I believe its all correct however, when I try to run it, I'm getting a linker error saying "undefined reference to Resultant(const double...)" which I can't figure out how to … |
|
I have made a program which the user will input the total inputted numbers and record it as an array, sort the biggest and smallest number, post the original inputted number, reverse the original's order, and lowest to high order. I have done the recording, sorting, however, when the program … |
|
I found this somewhere on some website. Would you care to decode it, like explain why, when, and how they used the codes? The only part I didn't get is how did they get "largest_1" and "largest_2" by doing this. I see that it loops to find it but does … |
|
I am making a program to calculate the distance between 2 location by inputting the latitude and longitude of the locations using DMS, then convert the given DMS to angular measurement. I have made the program using functions but when it finally calculate for the distance, it always goes to … |
|
Im trying to make a C++ program to calculate the resistance in a parallel electric circuit. The formula is Total = 1 / (1/resistor1)+ (1/resistor2).... + (1/resistorN) I have made the program however when I compile it it has the "linker error" Can you please help me spot the mistake … |