Beginners - February 2016 (Page 19)

HW Help
Hello guys, I'm having trouble with my project. When I compile the program I get "expected unqualified-id {" How do I fix this problem? Here's my code below...
Feb 20, 2016 at 2:45am
[2 replies] Last: shoot! thanks i fixed that now it works (by oscClippers)
99 beers
I'm new to programming and here is my assignment. Problem: Write a program that outputs all 99 stanzas of the "Ninety-Nine Bottles of Beer on the Wall" so...
Feb 20, 2016 at 2:10am
[6 replies] Last: Got it thank you for your help (by doctterdre)
friend class?
Hi, I'm trying to access the vector foodOrder from customerOrder (via printorder) by declaring it a friend but it's not working? class food : virtual pu...
Feb 20, 2016 at 1:51am
[4 replies] Last: here's my code now, or parts of it ... class food : virtual public ... (by closed account N8RzwA7f)
How does the boolean operators work on <string>?
What is happening behind the Boolean operators (<) and (>) when comparing two strings? Is it logically like this? string Word1 = char Word1 ..where Word1 =...
Feb 20, 2016 at 1:39am
[1 reply] : http://stackoverflow.com/questions/13829434/using-the-less-than-compa... (by TarikNeaj)
How to determine the lowest number from a list of numbers.
I have been assigned to write a program that utilizes functions. I must use a function to acquire 6 test scores, a function to drop the smallest value of the t...
Feb 20, 2016 at 12:36am
[4 replies] Last: // int& score : reference to int parameter void getScore(int& score)... (by integralfx)
Future Value Program
My program is not running, my class use this compiler cpp.sh/5cgy would appreciate someone helping me get this to run, im new to this so i need to it to be expl...
Feb 20, 2016 at 12:20am
[2 replies] Last: r is the interest rate in a period of time, t is the number of per... (by Zeromos)
[sfml] Math help?
I'm not sure if this is the place for this, but I am struggling with doing the math for a game I am making. I am making code to fill the screen(Stretch the til...
Feb 20, 2016 at 12:10am
[12 replies] Last: I use it in the line: _textureSize.x = (_texture.getSize().x) / NUMBER... (by jdm1891)
Calculating salary (feedback on code)
Hey all, I getting some practice using functions and would like some feedback on my code. I wrote this to calculate weekly pay, monthly pay, and annual pay. I'...
Feb 19, 2016 at 11:55pm
[2 replies] Last: ahh thank you. I think I was testing to see if it works and forgot it ... (by cstudentc)
by gaara1
Audio manipulation
how to change a word in an audio file using c++?
Feb 19, 2016 at 11:52pm
[no replies]
Insertion Sort of an Array
I am given instructions to "Write a sort function that takes an array and sorts the values." I believe I have the gist of it here, but I forced myself to increm...
Feb 19, 2016 at 11:48pm
[4 replies] Last: Again, keep things simple. You have your output inside the input loop.... (by keskiverto)
Char to Int variable
Hello! I need to transform character to int variable. For example: int x=1; char ch='x'; and I need to return ch as an int variable (which is 1) n...
Feb 19, 2016 at 11:24pm
[12 replies] Last: @TarikNeaj Thank you, you are correct. [quote=MagicKriss]I have to ma... (by Chervil)
Access specifier in Inheritance
The following text is from the link: http://www.cplusplus.com/doc/tutorial/inheritance/ "Actually, most use cases of inheritance in C++ should use public ...
Feb 19, 2016 at 11:12pm
[2 replies] Last: thanks for your reply. (by saherch)
Help with making plurals in code
So for class we have to write a program like below - it breaks down cents into USD in that format. The only problem I have is that there is one of a unit it has...
Feb 19, 2016 at 11:10pm
[no replies]
Calling An Individual Class When There Is Many With Same Name
Calling An Individual Class When There Is Many With Same Name? The below code creates many instances of the Property class. However how would I go about call...
Feb 19, 2016 at 10:48pm
[5 replies] Last: @Moschops thank you for the reply, It says I need to create a pointer ... (by connormcwood)
How do I check for a palindrome and check the n amount of numbers to make it one?
Write your question here. I'm trying to make a program that takes user input of an integer and outputs whether or not it is a palindrome. If it is not a palind...
Feb 19, 2016 at 10:23pm
[no replies]
My last Bool Function
I do not Understand how to make a function that checks to see if the linked lists are in Ascending order, especially since you can not index in Linked Lists. Th...
Feb 19, 2016 at 9:25pm
[no replies]
Help with Summation Loop
I'm trying to figure this loop out but the output isn't showing because I keep making an infinite loop I think. Can anyone help me fix this? Radius and error...
Feb 19, 2016 at 8:14pm
[6 replies] Last: Yeah I'm pretty sure. The whole code is one giant choice statement. Sh... (by Spaceman Zeta)
by Masego
Raising the second integer as a power to the first
My instructor assigns Design and Implement a C++ program to do math. Accept two integers from the user and Output their sum, difference, product, quotient, rema...
Feb 19, 2016 at 8:09pm
[2 replies] Last: I apologize for not using code tags. But thank you! (by Masego)
number guessing game no more than 5 tries
QUESTION: I'm trying to write a program to plays a number guessing game. The program currently gives the user as many tries need to guess the correct number. H...
Feb 19, 2016 at 6:21pm
[7 replies] Last: Thank you for all your tips! I solved it thank you! (by alexexcl)
by froz
Basic C++ assignment guidance needed.
Hello. I'm new to C++ and I need to create a program like this: You first ask for a number, let's say I input 6 and this is what I should get ****** ***** ***...
Feb 19, 2016 at 6:08pm
[5 replies] Last: My pleasure^^ (by TarikNeaj)
February 2016 Pages: 1... 1718192021... 46
  Archived months: [jan2016] [mar2016]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.