Beginners (Page 9)

Need help figuring out why my deposit/withdraw member functions won't work
 
I wrote a bank account program that uses classes and separate compilation. The heirarchy is as follo...
[5 replies] Last: ignore openAccount and closeAccount for now, those are unrelated and h... (by jokersleuth)
shipping program
 
I'm writing a simple shipping program where a package weighing a certain amount and traveling per 50...
[5 replies] Last: abstractionAnon, that is exactly what I needed. Thank you very much (by Ryoka117)
four names are being printed
 
hi guys when I try to print out each name,name : with a blank name gets printed,so 4 lines get print...
[5 replies] Last: thanks Anon that worked =) (by adam2016)
wrong output
 
hi guys I am writing a struct to a binary file and copying the data to a new struct anyway I am gett...
[3 replies] Last: Hello adam2016, It is always the simple things that get you. Glad it... (by Handy Andy)
The leftmost digit when there is no given number
 
I know how to give the leftmost digit when i am already given a number but when there has to be a ra...
[1 reply] : int left_most_digit( unsigned long long number ) { if( number < 1... (by JLBorges)
How to add sum of digits without using loops?
 
Like for all numbers in general with two digits or more
[4 replies] Last: Depending on how you define "loop". To rephrase my initial answer, y... (by jonnin)
need help on my homework.
 
i need the message to show up only once for example i input 80 it only shows the 2nd message. #inc...
[4 replies] Last: One can use the opposite direction too: if ( a >= 90 ) cout << "A\n";... (by keskiverto)
by Bsaenz
hw help
 
Im lost on this home work i have the first part of it done but i have no clue of how to do the secon...
[5 replies] Last: This is probably two levels of nesting short to do your homework ... ... (by lastchance)
by pnc 55
Please Help Me to Give Algoritham for this program.
 
Write your question here. // 7} WAP to print number in ascending order using array. //Asend...
[3 replies] Last: c++ has a built in sort, which is smart and fast. If you want to do... (by jonnin)
Subscript out of range error
 
Good afternoon everybody, I've been trying to made converter of values entered. Basic idea is to ma...
[4 replies] Last: Thank you! Now it really works! Have a nice day =) (by Greenyl)
How to use Rand???
 
I am trying to create a program that produces random addition problem. When the user gets the answer...
[7 replies] Last: Hello LyonPredator, Working off what keskiverto suggested with if/els... (by Handy Andy)
scoping issues?
 
What's wrong with my code? When I try the deposit/withdrawal function. the balance won't update acc...
[1 reply] : The problem is that getAccount(index) returns a copy of the object. H... (by coder777)
recursion
 
Why does this function count upwards and not downwards? Any help is appreciated thanks. #inclu...
[4 replies] Last: Okay thank you! (by Minessota)
LOOP HELP
 
I am trying to figure out how to use a while loop so that my program continues to ask the user diffe...
[7 replies] Last: #include <iostream> #include <cstdlib> #include <ctime> int main() {... (by JLBorges)
by hmay
pyramid of numbers
 
For an assignment I am supposed to print out a pyramid that is a certain amount of columns wide and ...
[1 reply] : Hi, line 25 can be replaced with cout<< ((col+1)%10) ; HOPE IT HE... (by shadder)
MySQL with C++
 
Hello everybody, Thank you for your support. I am trying to use MySQL database with C++, but...
[5 replies] Last: Thank you very much Helios, Correct, I translated in from another lan... (by mynameisalexey)
Rand for different results
 
This is my code so far, I need help on the line I commented //help on. I am trying to get the feedba...
[1 reply] : Use a loop. while (userGuess != -1) ... You should give your varia... (by JayhawkZombie)
24 hour notation to 12 hour notation problem.
 
Write your question here. #include "stdafx.h" #include<iostream> using namespace std; void...
[2 replies] Last: Thankyou!!! (by MAZambelli4353)
Input/Output
 
Hi guys I am messing around with IO,also I am currently taking a course on udemy and I noticed the i...
[3 replies] Last: is it the same for all streams such as string stream etc? yes. A st... (by AbstractionAnon)
How is C++ better than other High level languages like Java ,C# etc.
 
What advantage does C++ has above other languages besides Speed?
[3 replies] Last: C++'s type system is more powerful, on account of templates. On the ot... (by helios)
Pages: 1... 7891011... 40
  Archived months: [aug2017]

Cannot post in this page. To post a new message, go to the first page.