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
Ranked #4K
~2K People Reached
About Me

im in a high school c++ class and i will move onto java, i came here to learn more than the school teaches

Interests
working the computer and playing sports
Favorite Forums
Favorite Tags
c++ x 21
Member Avatar for mr.cool

I am getting this error and i don't know what it means. this is my code, i do have header files but i didn't include them. [code]int main() { [LIST=1] [*] cout<<"Welcome to guitar hero"<<endl; [*] cout<<"Try and press the correct letters on the line"<<endl; [*] cout<<"You will use the …

Member Avatar for mr.cool
0
100
Member Avatar for Serling1

I'm trying to have a getData function transfer all the objects it is holding in its array to a new array so that the new array can be used in a friend function to print the objects' information. [CODE]void Set::getData(Set& tempSet) const { for (int i = 0; i < …

Member Avatar for Necrolis
0
437
Member Avatar for noob.cpp

Hi, I don't know if anyone can help but I'm trying to figure out this switch case problem for my read file function. This is just the read file portion. I'm reading in a text file (bottom), and at this point I'm trying to determine electoral votes based on who …

Member Avatar for mr.cool
0
199
Member Avatar for henpecked1

I'm trying to write a while loop to terminate a program when asked if you want to enter another name and the answer is no (or a number since I'm using character strings) My first idea was to check the 0 element of the first name part asked for, but …

Member Avatar for henpecked1
0
190
Member Avatar for mr.cool

im making a battleship game and so far i have this but im getting an error and i don't know what it means, this is the error [inlinecode]error C2664: 'strcpy' : cannot convert parameter 1 from 'char' to 'char *'[/inlinecode] this is my code [code=cplusplus] #include <iostream.h> #include <stdlib.h> #include …

Member Avatar for mr.cool
0
115
Member Avatar for mr.cool

i want to return 2 values but i don't know how i can do that. this is part of what i have done, i want to have choice[0] and also choice[1] be returned. also how can i store them in 2 different variables in the main. [code] int pick() { …

Member Avatar for invisal
0
88
Member Avatar for mr.cool

hi, i need help with how to find the max number and min number from an array. there are 31 numbers, i know that i am suppose to use a for loop to do this and this is what i got so far array is inputed by user [code] #include …

Member Avatar for mr.cool
0
109
Member Avatar for mr.cool

i have a question, why can't i do this, there are three errors and i don't know what they mean [code] #include<iostream.h> float celsius_to_fahrenheit(float); int main() { float fahrenheit; float celsius=22.5; fahrenheit=celsius_to_fahrenheit(celsius); cout<<celsius<<"C="<<fahrenheit<<"F\n"; return 0; } celsius_to_fahrenheit(float celsius) { return(celsius*(9.0/5.0)+32.0); } [/code]

Member Avatar for Narue
0
93
Member Avatar for mugenoid

I am doing a game and i need to refresh the screen to make it less messy, Can anyone teach me how to do plz?

Member Avatar for FireNet
0
709
Member Avatar for mr.cool

in my c++ class we have to make a game and i need some ideas on what to make. the only thing i have learned is: random numbers, ifs, switch case, while loop, for loop, some character string functions of cin.get and cin.ignore, also declaring a character string, data formatting …

Member Avatar for ithelp
0
88
Member Avatar for mr.cool

hi, I'm in a high school c++ class and I love it, i love c++ and next year i will move onto java. i am here so i can learn more about c++ than the school teaches. i hope i learn many new things

Member Avatar for jasimp
0
44