Beginners - October 2017 (Page 23)

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)
Trouble creating Shipping Cost program
 
Hello. I am trying to create a shipping program for class. I have constructed a code with a pretty g...
[14 replies] Last: Hello JustMcCollum, Two things that I found. When you prompt the use... (by Handy Andy)
Error when opening a file in command prompt via program
 
Write your question here. Hello, I wanted to make a c++ program that would open the comm...
[3 replies] Last: Yeah, Repeater is right. What you'd need to do is construct the entir... (by MikeyBoy)
throw, try, except error
 
Can anyone pleas explain why this code is throwing "no opearator "<<" matches these opeands" error i...
[3 replies] Last: Oh...how could I forgot include string :/ Thanks!!! (by spartannn)
holding values from other functions?
 
Ok so im confused because when I call a function on its own the decimal is kept, but when I call the...
[4 replies] Last: wow thank you so much! no wonder I couldn't even search correctly on g... (by noob at C)
simple calculator
 
i'm sure it is just a simple mistake somewhere but no matter what 2 values i enter, the result alway...
[1 reply] : #include <iostream> double calculate(char op, double n1, double n2) ... (by JLBorges)
cin issue
 
I'm having trouble with cin, in this code it doesn't allow the user to input the name void dis...
[1 reply] : Line 18: // getline(cin, name); getline( cin >> ws , name); // extra... (by JLBorges)
if, else, switch
 
Im trying to create a program that takes two integers (pass-by-reference) and divides int1 by in2. T...
[5 replies] Last: I have gotten the typos and if statement sorted out and it has compile... (by Minessota)
October 2017 Pages: 1... 2122232425... 33
  Archived months: [sep2017] [nov2017]

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