Beginners - April 2017 (Page 21)

Issue with Output of function to convert decimal to roman numeral
 
My progranm compiles but does not output the correct roman numeral. If under 100 it ouptuts a blank ...
[4 replies] Last: It compiled for me but my compiler did not display these warnings. ... (by TheIdeasMan)
Passing vector of strings and comparing to ASCII values
 
Im using the SFML library and the TGUI library, first one to create a window and the second to have ...
[1 reply] : Woop woop! Figured it out meself! void Information::isValid(std::v... (by ArmenHeat)
2D array similar to excel
 
I am working on a project that makes a spreadsheet like excel (It is 26 by 26) and preforms certain...
[no replies]
If Then Else running Then no matter what
 
When I run this it executes the Then portion even if it doesn't meet the parameters. #include <i...
[3 replies] Last: Why not ignore the rest after 'a' and go to the Else? Because if the... (by mbozzi)
by rantiv
How to use functions from the class members in main
 
I am making this program simulates an ipod and has songs and makes playlists. We are using lots of p...
[no replies]
increment operator output doubt
 
I'm new to C++ and have been having little problem with increment operator int b=2; cout<<++b...
[7 replies] Last: > so its actually related to compiler, It is related to the language ... (by JLBorges)
Function to generate random row/column position in 2d array
 
Hey all, So currently, I am trying to create a bool function, passing in two-dimensional array and ...
[3 replies] Last: See: http://www.cplusplus.com/forum/beginner/213027/ (by JLBorges)
STL print everything and swap 2 lines if there is 2 lines
 
my list doesnt print anything #include <iostream> #include <string> #include <list> #include <ite...
[3 replies] Last: i noticed that all my computations happen inside of the if statements ... (by seungyeon)
how to add sub classes together
 
Idk how to add the calculateCost from the other sub classes and base class together. Help. ...
[6 replies] Last: this function by itself seems OK, the problem is elsewhere in the prog... (by gunnerfunner)
how do i let he user input characters into a list
 
Write your question here. #include <iostream> #include <list> using namespace std; int ...
[5 replies] Last: Hello seungyeon, I do not use lists very often, so yesterday I became... (by Handy Andy)
Where to check for conditions?
 
Hello All! I am a bit confused on where to check for conditions. This is a separate class that is co...
[1 reply] : it's better to check these conditions through the Package ctor and ens... (by gunnerfunner)
by Ch1156
help understanding npos code
 
So I am just trying to learn more about strings and I am having trouble with npos, I cant seem to vi...
[1 reply] : So the .find returns the position it found the character at, in this ... (by integralfx)
by const
Searching multi dimensional array for smallest and greatest values
 
Program I am trying to complete initializes a three dimensional array with random values between 0-9...
[2 replies] Last: Use std::vector::assign to flatten the 3D array into a std::vector –... (by gunnerfunner)
Drunk Walker Program
 
So - Just a warning - this is a big question and will require me to post a lot of code. I'm working ...
[1 reply] : Your program does enter the switch statement but then gets stuck there... (by keineahnung)
STL List how do I input a line into the list?
 
i press one the menu i cants input a line it just ,outputs "enter: " #include <iostream> #include...
[4 replies] Last: why is my "Enter a line " print twice? the new-line character is lef... (by gunnerfunner)
making char's integers
 
#include <iostream> #include <fstream> #include <cstdlib> using namespace std; int main() { ...
[3 replies] Last: I appreciate it thank you so much!! (by taf0110)
How to enter more than one number in cin
 
Say i Debug my code and it asks me to enter numbers. IF i want to enter more than one number in the ...
[4 replies] Last: //best way int num1,num2,num3; cin >> num1 >> num2 >> num3; //your... (by seungyeon)
Help with homework and i have no idea where to start.
 
I am seriously confused with my homework ever since we started adding loops to the party. What i hav...
[2 replies] Last: Just like joe said. Its really simple if you can use vectors vector... (by kingkush)
by xxvms
find number
 
Hi there :) I am trying to create game find a number. User picks number from range up to 100. Lets ...
[4 replies] Last: Hi Coder777 and Skinding thank you for your help :) I will be revie... (by xxvms)
Am I going at this all wrong?
 
So here is what I need to do... Write a program which accepts a total purchase price and computes a...
[2 replies] Last: I had only 30 minutes to make it so I took a guess. I have no idea wha... (by CloakedJ24)
April 2017 Pages: 1... 1920212223... 34
  Archived months: [mar2017] [may2017]

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