
please wait
by RawrDuy
Putting a Variable in Quotations
|
Hello I'm trying to put the variable "lotName" into quotations so that it will display it in quotes, not the actual word lotName. How can I go about doing th... |
Jan 31, 2012 at 1:20am
[1 reply] : You need to use an escape sequence: cout << "You won \"" << lotName ... (by Athar)
|
by zenitis
Convert Enumerations to string
|
I ve got a vector with enum defined objects. I want to convert them into string so as to handle it more easily. Which is the easiest to way to do so? |
Jan 31, 2012 at 12:55am
[1 reply] : You need another array with the names (hint: copy the enum declaration... (by Athar)
|
by JCharles
Something wrong with the program. The calculations arent correct and IDK what is happening with the setw()
|
Heres the instructions: Your program should use the C++ standard Math Library function to compute the square root in the formula below. Be sure to use the r... |
Jan 31, 2012 at 12:21am
[5 replies] Last: Code tags are and You place the before the start of your ... (by vin)
|
by lugiamaster
Can't get my program to work, help?
|
Hello everyone, i'm here to see if anyone can help me fix my program up, as you can see we're dealing with 6 functions(readArray,reverseArray, printA, printB, ... |
Jan 30, 2012 at 11:28pm
[5 replies] Last: Compiled without errors but doesn't run correctly, it just keeps going... (by lugiamaster)
|
by Ahmad Shoaib
Little help needed in this program
|
I am having many problems in this program. In this program we actually have to create a file in which we have to write the data of a Student i.e his Roll numb... |
Jan 30, 2012 at 10:38pm
[5 replies] Last: I changed this and got the names out: //----------------------------... (by histrungalot)
|
by znerich
Passing initializations to main()
|
Hi. I am new to C++. Basically we have this exercise in our book. Here are the instructions: 6. For research purposes and to better help students, the admiss... |
Jan 30, 2012 at 10:27pm
[no replies]
|
by slofr66
How to stop cin into an array by entering 0?
|
I'm trying to use cin to read numbers into an array up to size 100. The program will know that the user is done inputting numbers when a zero is entered. This i... |
Jan 30, 2012 at 10:04pm
[3 replies] Last: Do you mean re-size the array? If that's what you mean, you should thi... (by Code2Code)
|
by paper32
Trouble with program
|
I am writing a program where a person needs to choose between whethere they want two integers they have input to be output as a sum quotient product or differen... |
Jan 30, 2012 at 9:46pm
[2 replies] Last: cout << "Please choose S, D, P, or Q: "; cin >> S,D,P,Q if (S=S) ... (by paper32)
|
How to alphabetize a list of names |
I am in a C++ at my school we are just getting into loops. I have been tasked with creating a program that can read in a list of names one at a time (up to 25) ... |
Jan 30, 2012 at 9:38pm
[4 replies] Last: If you're in basic c++ and have not learned about arrays and functions... (by nickoolsayz)
|
by yvonnew85
How to output The "Winner" ?
|
I am currently in the process of writing a program. A quick summary of what i need to do : A game called Dorax, the aim of the game is for players to throw a ... |
Jan 30, 2012 at 8:53pm
[no replies]
|
by nickoolsayz
[HELP] Assistance with arrays needed
|
By all means please do not give me answers. Im looking for a skeleton of what i am to do. My class is online and i am unable to talk to the teacher face to fac... |
Jan 30, 2012 at 8:42pm
[4 replies] Last: Part B List any possible methods that can be used to assign values to ... (by nickoolsayz)
|
Newbie |
Hey peoples! So I've decided to teach myself C++ and I was wondering where to get a compiler program and also which is a good one. I'm kinda diving in head ... |
Jan 30, 2012 at 8:23pm
[8 replies] Last: compile with qt Qt is not a compiler, it's an application framework.... (by Athar)
|
by Grimlocke46
Print Array in Reverse (1,2)
|
Hi, im trying to write a program using arrays and for the last part i need to print it in reverse. I know theres something wrong in my void function because im ... |
Jan 30, 2012 at 7:51pm
[21 replies] Last: Awesome, I finally got it. Thanks guys for all the help and tips! (by Grimlocke46)
|
by RawrDuy
getline() Problem
|
I'm having a bit of a problem with getline(). In line 66, the "cin" will not allow any spaces (ex: White Wolf), but when I change it to getline(), it works, how... |
Jan 30, 2012 at 7:43pm
[4 replies] Last: The operator >> skip all leading whitespace characters before extracti... (by HumbleNoob)
|
by zettrawl44
Help please.
|
I am trying to write a program that asks for a first name, last name, and salary. I have got it to ask for first name and last name, but I cannot seem to introd... |
Jan 30, 2012 at 7:18pm
[8 replies] Last: What would you want to do with it? (by Stewbond)
|
by skepticc
reading and writing to file
|
Hello, I am a beginner and need some urgent help. I will really appreciate if anyone can refer me to the specific topics which I should read to comprehend the t... |
Jan 30, 2012 at 7:15pm
[5 replies] Last: Add this to your class in the private section: ifstream fin("input.tx... (by Stewbond)
|
by chryblossoms
Trying to understand C++
|
I am new to C++ programming and I am trying to understand this. I am working on a program that is supposed to use the isosceles tringle and the Pythagorean The... |
Jan 30, 2012 at 7:01pm
[7 replies] Last: @ ResidentBiscuit : float is fine depending on your requirements. I... (by Stewbond)
|
by Ch1156
Hiding a dialog box
|
I have a dialog box and i have been trying to figure out how to hide it, but i cant get it to work, this is what i have in main.cpp: #define WIN32_LEAN_AND_... |
Jan 30, 2012 at 5:58pm
[2 replies] Last: cool thanks :D (by Ch1156)
|
by Emperorlu
Need help counting vowels.
|
My program is supposed to count the number of vowels in a file using recursion. When I run this program I always get the number of vowels is 0. I'm pretty sure ... |
Jan 30, 2012 at 5:56pm
[10 replies] Last: Thanks for all of the help. I finally finished the program. (by Emperorlu)
|
by Apd904
Calendar help
|
Hey everyone, new around here and I could use some help. I know you guys don't do peoples homework for them and thats fine but can anyone tell me if there's a f... |
Jan 30, 2012 at 5:54pm
[5 replies] Last: It prints off the months of a given year, one on top of the other, but... (by Apd904)
|