Beginners - February 2014 (Page 25)

Please Help
I am working on an assignment that requires me to display a users full name and multiply two fractions however I do not understand how I get fractions to displa...
Feb 19, 2014 at 5:57am
[3 replies] Last: Thank you guys very much for the help, it took me a little while but I... (by shads254)
GradeBook program
Hi all, I have a feeling I'll be one here often the next couple months. This is a homework question, but the due date has passed. I've been trying to figure out...
Feb 19, 2014 at 5:27am
[3 replies] Last: Initialize your variables you pretend to use `labGradeTotal' as an acc... (by ne555)
by Dcull
Inheritance - Point, Shape, Derived Classes
Hey guys So I am having trouble with a program. I keep trying to do this program, but start feeling overwhelmed and get lost. I am getting lost at the beginn...
Feb 19, 2014 at 5:20am
[9 replies] Last: giblit... my good sir... You. Are. Incredible! Thank you! It works gre... (by Dcull)
number to word code help
Hello, the purpose of this program is to have a user input a number, and the program will then read out the number in words. Example: User inputs 10004, you ge...
Feb 19, 2014 at 5:16am
[1 reply] : /* * main.cpp * * Created on: 19 Feb 2014 * */ #include <... (by closed account zybCM4Gy)
array of strings function
-solved thanks-
Feb 19, 2014 at 4:39am
[15 replies] Last: Yes that was the problem, the cout was not calling the function. (by fapyfapy)
Help with a cipher code
Ok, so as far as I can tell I have written everything right in this, but every time I try to run, it initializes, gets through two lines of, then tells me there...
Feb 19, 2014 at 3:50am
[3 replies] Last: Oh my gosh that's it!! Thank you so much! You just saved my royal rear... (by proctorwho)
need help :(
Hey guys, I'm kinda new to C++ and I keep having trouble getting this code to work when I enter yes for programmer_status. It works fine when I enter no. This i...
Feb 19, 2014 at 3:15am
[5 replies] Last: Yea I noticed that when bigger numbers didn't work. Edit. This is t... (by Game Guy)
Functions could someone explain...
On the flip side, functions with reference parameters are generally perceived as functions that modify the arguments passed, because that is why reference para...
Feb 19, 2014 at 1:32am
[2 replies] Last: Thanks! (by closed account zybCM4Gy)
BigInt
I need to write a big int class starting from these two files that tests <, !=, -=, -, *=, and *. I really don't even know where to begin. Anyone have any advic...
Feb 18, 2014 at 11:42pm
[no replies]
using arrays in classes
I did this with strings, as I couldnt figure out how to do it with a char array. I know strings can be beneficial, but my goal is to use strings, as I've b...
Feb 18, 2014 at 11:27pm
[no replies]
Safer Number Class
I need to modify this class so that integers in a range of -M to +M can be represented. M should be as large as possible. The class should use one data member, ...
Feb 18, 2014 at 11:21pm
[1 reply] : After doing some research...I've realized that this is suppose to be t... (by ccwtree11)
while loops to get information from a file
Hi, I'm having an issue with using a while loop to pull the data from a file. The files I created are very simple. I have a list of 7 names in the first file an...
Feb 18, 2014 at 11:18pm
[no replies]
Can you code this for me?
Problem 3: The 3n+1 problem (revisited) We have seen the collatz function in class: int collatz(int n) { if (n%2==0) return n/2; else return 3*n+1;} int ...
Feb 18, 2014 at 11:03pm
[1 reply] : Yes we can , but we will not. Please come back with a question or ... (by giblit)
Reading user input series of integers separated by comma
Hello, I'm new to C++ and I'm having trouble reading user input series of numbers separated by comma. I've been looking everywhere, but all I could find was how...
Feb 18, 2014 at 10:51pm
[no replies]
Using class
Hi!I'm having some issues. I can't figure out how to pass my variables to each function. I also wonder if there's a better way to find the previous day and next...
Feb 18, 2014 at 10:28pm
[8 replies] Last: Some code to consider: #include <iostream> #include<string> #include... (by cire)
Calculator with Stacks & Precedence
I am writing methods for a Calculator class which uses two stacks, one for int and one for char. The calculator should check the precedence of the operator befo...
Feb 18, 2014 at 9:38pm
[1 reply] : bump (by avanhoes)
Total fresh beginner - In need of help!
Hi there, i'm a 13 year old and interested in coding, but never had the idea of HOW to learn it, ive now managed and taken away time from games and instead into...
Feb 18, 2014 at 8:31pm
[2 replies] Last: To 'get C++' you're going to have to download a compiler; A compiler i... (by closed account G30oGNh0)
Lots of problems with String class
I had an assignment where I had to implement a string class and get two test files to run. Long story short, I think I've completely mangled this class. I'm get...
Feb 18, 2014 at 8:21pm
[2 replies] Last: [quote=Smac89]Your String_test.cpp should include String.cpp rather th... (by Peter87)
Problem with variable char values
i wanted to be able to change the value of a char based on user input. I am not sure how to achieve this. Below is the section of code I am trying to achieve th...
Feb 18, 2014 at 7:44pm
[2 replies] Last: Thank you very much. (by forceface)
A problem with function arguments
Hello, I have been doing some exercises in my book, and have made the following code, with one compiler error: #include <iostream> using namespace std; st...
Feb 18, 2014 at 7:09pm
[3 replies] Last: No problem - it's easily done! You're welcome :) (by MikeyBoy)
February 2014 Pages: 1... 2324252627... 60
  Archived months: [jan2014] [mar2014]

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