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
~5K People Reached
Favorite Forums
Favorite Tags
c++ x 7
c x 1
Member Avatar for grunge man

i have a list of words to put into an array but how do i do this the order goes from 0 to 9 so black is zero [black][brown][red][orange][yellow][green][blue][purple][grey][white]

Member Avatar for grunge man
0
259
Member Avatar for JadedTortoise

[B]Question:[/B]I ran into a point where it would be very helpful to send a function a portion of an array, instead of the entire thing. Now i can think of a couple work arounds like sending the whole array and a begin number, and range number, then computing off of …

Member Avatar for WaltP
0
182
Member Avatar for bigben09

What do I need to do in order to get my program to print out two decimal places? [CODE] #include "stdafx.h" #include <iostream> #include <ctype.h> using namespace std; int main() { char movie[50]; int adult_ticket_price, child_ticket_price; int adult_ticket_sold, child_ticket_sold; int percentage_of_gross_amount_donated; cout <<"Enter The Movie Name: "; cin >> movie; …

Member Avatar for tayster
0
244
Member Avatar for Duki

Hey guys, I'm stuck again. The program is supposed to get the estimated population after n years using the equation P + (B*P/100)-(D*P/100) and the growth rate using B-D. Here is what I have so far, but I can see I'm going to be getting stuck. How can I set …

Member Avatar for Duki
0
4K
Member Avatar for JadedTortoise

OK I am wondering Can you make a variable hold an operator. Such as say +, -, / etc... And if so can that variable be used to replace an operator in an equation? for instance char a = "+"; int b = (2 a 3); thoguh that doesn't work …

Member Avatar for Ancient Dragon
0
111
Member Avatar for JadedTortoise

Ok I just started programming again after about 10 years, and i was doing the suggested beginner problems. The first one to create a program that returns the factorial of a number. I think i got it all down right but compiler is saying "expected primary-expression before else" here's the …

Member Avatar for WaltP
0
111