Beginners - March 2016 (Page 43)

Help with problem
 
Ok, so for my beginner C++ class, I was instructed to write a program with a bool function that ret...
[3 replies] Last: Thank you both for your help. (by Turtily)
hbubh
 
[1 reply] : I am confused! What are you want to do? Is this code supposed to find ... (by Calcushtag)
Redefinition of 'Linked Stack' as different kind of symbol
 
I am confused as to why it says I am redefining class LinkedStack on line 14 when I haven't defined ...
[2 replies] Last: Thank you very much. (by DoABarrelRoll94)
by nam13g
Error: Expression must have a class type
 
Hello all. This function is supposed to look at a file (which is opened in the main routine) and pri...
[1 reply] : Hi, The length() function applies to the whole string not just 1 ch... (by TheIdeasMan)
by mcisa
User-defined decimals (0.1-0.9)
 
How can the user input a decimal between 0.1 and 0.9 and not get an infinitely large answer? The c v...
[2 replies] Last: Thank you. I used double m1, v1, m2... instead of int, and it worked. (by mcisa)
Ofstream file with argv
 
Hi, I'm trying to pass a command line argument file from main to a class function and use an ofstre...
[9 replies] Last: thanks it works now :) (by closed account N8RzwA7f)
Game drop item across console :s
 
Hay everyone I am making this game where a number on monsters are placed on a grid at random (D...
[2 replies] Last: What type of game is this? Is in in the console, or does it have grap... (by mgoetschius)
How do I use a switch statement with a string?
 
So, One of my lab assignments is to take a word and output how that word would be spelled using Inte...
[2 replies] Last: Do you still need help? I would start with an array of strings. Each ... (by xismn)
For Loops Problem
 
First time doing for loops/nested for loops. The problem I'm trying to work out is this: Write a pr...
[3 replies] Last: I'm not sure you're understanding whats happening, or I'm not understa... (by mgoetschius)
Bank charges
 
This is my first time learning C++ and I have a small problem with my code. I would appreciate any h...
[1 reply] : I also tried nesting the if statement with the balance < 400 in the fi... (by olimpiu)
by asya
Problem with readReaction function for a whole number
 
I have an assignment to create a program that reads 2 fractions and print their product. I need to h...
[4 replies] Last: I tried, but the program will not show the results, if I don't type a ... (by asya)
Smart Pointers
 
I messing with smart pointers. I would like to define a function that takes a copy of a smart point...
[no replies]
Please Help! Bank Account Inheritance Assignment Problem
 
Hi, I was having problems with the following school assignment: "Define the class bankAccount to ...
[no replies]
C++ Primer 5th or Professional C++ 2nd
 
I kno only the bare C base of c++, and could like to learn C++11 as a fresh start.I hav searched the...
[3 replies] Last: You know what, try Professional C++(http://scanlibs.com/professional-c... (by theturk1234)
SDL problem
 
Write your question here. How do I fix this, I did everything that the lazyfoo tutorials told me ...
[1 reply] : Most likely you are using either the wrong version of SDL.dll or you a... (by theturk1234)
by jam47
How to make random numbers between 2 to 5?
 
I want to output random numbers 100 times between 2 to 5 but I can't get it. #include <iost...
[2 replies] Last: Now I get it. #include <iostream> #include <cstdlib> #include <ctim... (by jam47)
Help with compound interest calculator
 
Hi all: Still a beginner here and doing homework but have a issue with my program that I can figu...
[2 replies] Last: Hey bro,type in the whole program so tht we can check the code for fla... (by MaBunny)
my function wont update variables in main()
 
I am trying to make a program that can calculate linear digits of pi by using the formula pi/4 = 1 -...
[3 replies] Last: ok thanks both of you for your help I appreciate it and will look into... (by overlander27)
by Vidus
help with error
 
when i run my program i get this error http://postimg.org/image/r0jxz88bz/ here is proxy class...
[2 replies] Last: sorry im confused i was trying show where program crashes. and i showe... (by Vidus)
How to send class method to the screen
 
I cut out most of the code to keep this short. I need to cout: double test::determineAverage(te...
[3 replies] Last: OP, You never, ever, define int main() inside of a class. Maybe that... (by theturk1234)
March 2016 Pages: 1... 4142434445... 47
  Archived months: [feb2016] [apr2016]

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