
please wait
by Dizzy
program that will calculate and print the sum and average (using an array). Did I code this correctly?
|
The assignment asked to modify a program that will calculate and print the sum and mean using an array. The program compiles and runs flawlessly. But did I use ... |
Jan 31, 2013 at 11:03am
[10 replies] Last: Thanks for the clarification. Anyway, in my opinion, you can put the a... (by Chervil)
|
by godfreyspa
what are my requirements
|
Hello, am a Novis and I want to learn C++. What do I need to ensure I get along with the Programming Language to aid my learning? Thanks to the House |
Jan 31, 2013 at 10:49am
[1 reply] : You dont require nuffink but patience and diligence, I swore by bucky ... (by devonrevenge)
|
by andygunlocke
Allowance Program(Two Dimensional Array)
|
I'm currently stuck with this problem. I am to input my allowance for 7 days and 4 weeks, while using a two dimensional array. While I am entering my allowance,... |
Jan 31, 2013 at 10:11am
[7 replies] Last: Modified program a little. Now with sum of allowance! EDIT : Faster w... (by MiiNiPaa)
|
by MarcusFenix
Assignment Question? Need assistances
|
Objectives: Design an object-oriented solution and implement the solution in C++ to solve the problem described below As an example, suppose the user buys 1... |
Jan 31, 2013 at 8:33am
[4 replies] Last: #include <ctime> #include <iostream> using namespace std; void Today... (by MarcusFenix)
|
by Nahjil567
Files and Functions...
|
I'm attempting to pass a text file to a function to get input for another function. I'm supposed to then output the results in another text file. I believe I'm ... |
Jan 31, 2013 at 7:42am
[8 replies] Last: And now I've a tinkered it to submission and it gave up on me. I am no... (by Nahjil567)
|
by jsmi2016
please review my first project
|
I have gotten the program to compile and display the words, but I cannot put the inputs in to finish the program. What is wrong with it? Thanks. #include ... |
Jan 31, 2013 at 6:08am
[3 replies] Last: Repost your working code and we'll take a look, otherwise include <iom... (by newbieg)
|
If without else? |
As the title says, is it possible to have an if without an else? I am making a rock, paper, scissors program and the only way I could think of doing it is by us... |
Jan 31, 2013 at 5:56am
[2 replies] Last: Thanks for the reply! That's very useful for my future programming end... (by Doctor Zombie)
|
by reidt
Program keeps crashing - Dynamic 2D array help!
|
Hi guys, I have this simple code below about pointers and dynamic 2D array. The purpose of this program is to randomly generate a size and the size will be use... |
Jan 31, 2013 at 5:43am
[5 replies] Last: Ahh I see! Thank you ne555 and James2250! Learnt something new today h... (by reidt)
|
Having some trouble with these assignments |
Having trouble with these two problems. Not sure on what to include in the loops. I know i have to use if else statements and sentinel-controlled loops. I also ... |
Jan 31, 2013 at 5:38am
[7 replies] Last: In class all we've gotten to is while loops, for loops, and inner loop... (by closed account oj87ko23)
|
by inc0001
Is it possible to create functions and use them in a separate file?
|
HI! I'm just curious to know that is it possible to make functions in a separate source file and use them? If it is, how do I do it? |
Jan 31, 2013 at 5:05am
[4 replies] Last: No worries - any time. I wish the rest of my life was that easy!! (by TheIdeasMan)
|
by vivre
Do-While Loop and Other Code Problems
|
http://pastebin.com/0CKCSzRG -- Please forgive me for the bad formatting. What's wrong with my code? I am having difficulties finding why the loop continues... |
Jan 31, 2013 at 5:04am
[2 replies] Last: Oh yes, thanks. :) I'm attempting to code a timer that increments a ... (by vivre)
|
by jsmi2016
how do I insert letters into the answer?
|
I have the formula: #include <iostream> #include <cmath> using namespace std; int main() { double v,lo,l; cout << "Enter the proper length (m)of... |
Jan 31, 2013 at 4:53am
[1 reply] : cout << "v = " << fixed << lo << endl; That should fix your problem... (by Nahjil567)
|
by tkram
No Matching Function Error...
|
Hello, below is my program and the error messages i have been receiving. I have tried many things but cannot get my functions to be called and compiled correctl... |
Jan 31, 2013 at 4:53am
[1 reply] : The selection_sort function takes in a vector as you currently have it... (by Hippogriff)
|
by jsmi2016
How to conrol the number of decimals in a cmath program
|
I am working on a project currently, and I have the program working except that it doesn't output four decimal places like I need it too. I have tried using the... |
Jan 31, 2013 at 4:50am
[2 replies] Last: Thanks. This worked. (by jsmi2016)
|
by Nahjil567
Passing ofstream objects to functions
|
So I know I have to do this by reference. To be honest I have not had any experience with outputting to a file or even inputting from a file. Here is the fu... |
Jan 31, 2013 at 4:49am
[2 replies] Last: Thanks I didn't realize I submitted this. When I was typing it out I f... (by Nahjil567)
|
by bappe
Do While loops without prompting.
|
int main() { double A,B,C,S,D; char choice; cout<<"Hello, I am HeronBot.\nMy purpose in life is to inaccurately compute area's of triangles for you.\nPlease in... |
Jan 31, 2013 at 4:04am
[2 replies] Last: Ahhh so if I wanted to use char it would be: char choice ... cout... (by bappe)
|
by hotforwings
help with loops and stuff
|
I am figuring out how to make my program display multiples of 3. would this code display multiples of 3? while (n > 0 || n % 3) { cout << n << ", "; ... |
Jan 31, 2013 at 3:49am
[1 reply] : No. You could instead simply increment n by one each time and display... (by LB)
|
by aml114
Help With C++ (arrays)
|
I need to create a program that will diplay a students schedule once you input the ID number for that student. There will be 5 arrays in this program (array 1... |
Jan 31, 2013 at 2:47am
[8 replies] Last: So i was watchin a few videos and reading some things as well and i be... (by aml114)
|
by imgregduh
stl map
|
i was wondering how would i return a new item coming from a stl map at the moment i have this Declare outside map<int, Item>ItemDataBase; Item Item::CreateIt... |
Jan 31, 2013 at 2:41am
[5 replies] Last: the database is delcare on the outside i have inserted items into th... (by imgregduh)
|
Help with simple GUI |
I'm trying to make a simple GUI that will enlarge a character('+' specifically), when you press W and get smaller when you press S. I got it to enlarge all the ... |
Jan 31, 2013 at 2:18am
[4 replies] Last: Thank you so much newbieg! (by CitricThunder)
|