Beginners - October 2013 (Page 23)

While Loop Switch help
 
Fellows! In my while loop, I want the user to type in like 4 alphabets rather then one. How possibly can I do that? for example, I want it to do this Ente...
[9 replies] Last: Hi there, This happens because you first ask a letter before the whil... (by closed account o3hC5Di1)
Game programming
 
How do i start writing Gaming app using C++. What is the environment required. I have mingw compiler installed on Windows8. Please suggest some reference to sta...
[3 replies] Last: If small C++ PC games is your aim, then I would say check out SFML and... (by Mats)
by Ausha
finding smallest number among random amount of digits
 
so I have a tricky task here again, I have to find smallest number within input, that can be like whatever amount of digits, its easier, if you can determine am...
[5 replies] Last: Ok here s is the program, figured it out myself, just one last thing, ... (by Ausha)
Array of Payroll Objects
 
Hello All, I'm new to C++ and currently have this assignment that I cant figure out. I can get the gross pay to display without doing the class object but t...
[1 reply] : You initialize 7 Payroll objects on line 57 but you never do change th... (by keskiverto)
by losv36
sorting arrays and passing values from one array to another
 
Hello. I have a homework problem that asks me to write a program that takes in ten integers into an array. Then I need to call a function that outputs the sum ...
[1 reply] : take ten integers into an array. Then call a function that outputs th... (by keskiverto)
Standard Deviation
 
Hello All, I have a question regarding SD. I am generating the numbers of 08 30 11 19 91 05 20 getting the a SD of 31.6812, how ever the correct SD SHOULD BE 2...
[6 replies] Last: Originally When i had <= n on line 9 the sd was 32..... I didn't unde... (by MathNerd)
by ivan1
Return array in a function
 
Hi all, I have an array and a function. I want to return an array by using this function. Function(int myArray , int UpdateArray ) { for(int t=0; t...
[1 reply] : you can do this: void Function(const int myArray , int UpdateArray )... (by Stewbond)
Play music
 
How to play music I want to play music using command like this. system("start 1.GanbalanceDeDance.mp3"); but the program opens without playing song, d...
[5 replies] Last: Umm, can tell me, how to link the program to open other songs in compu... (by giratina2009)
Help please
 
This code sums up the digits of an entered integer. How do I modify it to cube and then sum up the cubes of the digits? #include <iostream> using namespa...
[3 replies] Last: @Kikiman Thanks! I've been trying to figure it out for so long, but so... (by HotshotGG)
Output the values from biggest to smallest.
 
Hello World! I have browsed this forum since a long time and now I am finally asking a question :D I have completely finished my code and I am stumped on ...
[3 replies] Last: How would I do that? they could vary by so much... It does print those... (by tfnhasen)
Extra assignments
 
Hi everyone. I'm currently taking, amongst others, a c++ class at school. I'm loving it but I find myself doing all the assignments kind of fast and then wai...
[2 replies] Last: Thank you very much, this is appreciate although it would be more rela... (by Annatar)
Making repeated input in one line
 
So basically i want to input undefined size of array with number but still within one line in console. the problem is everytime i make input the cursor will go...
[1 reply] : So basically i want to input undefined size of array with number Pl... (by condor)
Please Help. No build errors but program crashes and doesnt run again.
 
I cant figure out why this wont work. Everything work until the user enters their reply then it crashes. I am not getting any build errors and I am a little lo...
[2 replies] Last: Thanks vin, Ill give this a try. (by elv5022)
Trouble with dynamic array
 
Im writing a class to try out dynamic memory allocation. The class is for a dynamic array of integers and has 3 data members. A pointer to the first array eleme...
[8 replies] Last: You also have a problem here: Vector::Vector() { vectorArray = new ... (by cire)
calculations with file input creating infinite loops
 
Hi! Thanks for reading this. I'm inputting data from a txt file, and I'm trying to add doubles that are assigned to five different integers in the format of ...
[6 replies] Last: For the third time (do you read my posts?) This line should not have ... (by Chervil)
Mail.dat
 
having trouble with this "You're working for a company that's building an email list from files of mail messages. They would like you to write a program that...
[4 replies] Last: THANK YOU! it was just those quotes that were throwing me off (by Piratica)
Over Loading Operators!
 
Hi, I just learned overloading operators and I have questions. For instance here is the overload operator I wrote. #include <iostream> using namespace std;...
[1 reply] : and why does the program works backwards, for instance if I say f>m (... (by cire)
Issue with Sentinel Value being considered in the series of numbers
 
Hello, I have an assignment for my CS 1336 class. The question for the assignment is in the first comments in the following program. My problem is after executi...
[5 replies] Last: Whoa, that is a lot of code to do very little. No offense meant. I th... (by Zhuge)
Risk Game (function calling)
 
Hello I am trying to call the function match() to main and i keep getting an error about int not being able to be used. Even though the compiler(visual studio) ...
[6 replies] Last: Thanks, normally i have time to test and check but i procrastinated an... (by codymahen)
Help game of life
 
my professor gave us most of this code and the main thing he wanted us to do was to set the rules for the game of life which was blank. My question is after set...
[1 reply] : You need to insert more M/2 or N/2 new random lives for the rules to n... (by histrungalot)
October 2013 Pages: 1... 2122232425... 86
  Archived months: [sep2013] [nov2013]

This is an archived page. To post a new message, go to the current page.