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...
[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...
[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...
[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...
[1 reply] : /* * main.cpp * * Created on: 19 Feb 2014 * */ #include <... (by closed account zybCM4Gy)
array of strings function
 
-solved thanks-
[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...
[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...
[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...
[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...
[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...
[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, ...
[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...
[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 ...
[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...
[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...
[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...
[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...
[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...
[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...
[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...
[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.