Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
c++ x 32
Member Avatar for Instinctlol

I am studying performance analysis and character instance gets brought up a lot. I am unclear to what this means. It also talks about functions of instance characteristics. Can someone elaborate?

Member Avatar for vijayan121
0
2K
Member Avatar for Instinctlol

How would I do something like this? I know that this will not work, I'm just using it to show what I need with help. When a user is suppose to enter a number, but instead enters a string or char, it gives him a cout message saying it doesn't …

Member Avatar for VernonDozier
0
77
Member Avatar for Instinctlol

Hi guys, I am looking for a way to check for error. I have an array of names. The user will enter a name and it will check the list for that name. If that make is not correct, it will go back and ask the user to try again …

Member Avatar for Ancient Dragon
0
76
Member Avatar for Instinctlol
Member Avatar for Instinctlol

I was just wondering how I would compare 2 different object member of the same class. I want to compare the int speed between the 2 objects. Lets say I have a [CODE] class Car { private: int speed; public: int compare(Car car) } main() { Car Honda, Toyota; //Lets …

Member Avatar for Instinctlol
0
134
Member Avatar for Instinctlol

Can anyone tell me why it loops my menu() twice after i enter the numbers from Add(). I know it has to do something with cin.ignore() but I don't know where to place it so it doesn't loop my Menu() after. [CODE]#include <iostream> #include <string> #include <fstream> using namespace std; …

Member Avatar for farooq007
0
114
Member Avatar for Instinctlol

can anyone explain to me what return does? I know that return(0) stops the program at any given point, but what does returning others do?

Member Avatar for Narue
0
110
Member Avatar for Instinctlol

Can someone explain to me why this shows up as Foothill (user input) : -9.222255e+061 ---------------------------------------------------- DeAnza (user input) : -9.222255e+061 ---------------------------------------------------- SJSU (user input) : -9.222255e+061 ---------------------------------------------------- : 10 ---------------------------------------------------- : 20 //my input ---------------------------------------------------- : 30 ---------------------------------------------------- [CODE]void VectorList::DailyReport() { cout << "==========NGS Daily Temperature Report==========" << endl; …

Member Avatar for stephen.id
0
83
Member Avatar for Instinctlol

can anyone help me convert this code from array to Vector? I need this in it [CODE]class VectorList { vector<WeatherStation> List; vector<WeatherStation>::iterator ThroughTheList; public: VectorList() {;}[/CODE] [CODE]#include <iostream> #include <string> using namespace std; class WeatherStation { string StationDesignation; //Identifies the station string StationAgent; //Who's responsible double Temperature; //The temperature public: …

Member Avatar for Clinton Portis
0
113
Member Avatar for Instinctlol

So I made a class with an array with a bunch of numbers. I want to know how I can add up all those numbers and get an average for them. [CODE]#include <iostream> #include <string> using namespace std; class WeatherStation { string StationDesignation; //Identifies the station string StationAgent; //Who's responsible …

Member Avatar for jonsca
0
98
Member Avatar for Instinctlol

So I need to find the highest and lowest for some numbers I am storing into struct [code=c] #include <iostream> #include <string> using namespace std; struct WeatherStation { string StationDesignation; double Temperature; } CA, FL, NY; // EXAMPLE, I WILL ADD A LOOP FOR FL AND NY int main() { …

Member Avatar for Clinton Portis
0
487