Beginners - February 2017 (Page 5)

Finding Character in String with starting point
 
Hey everyone, I am trying to figure out how to make it so when a string is inputted into the function along with a start position and character to find, the fun...
[3 replies] Last: #include <iostream> #include <string> int main() { std::string ... (by gunnerfunner)
by Padol
Class's worse knowledge
 
Hi dear people i'm a new learning guy i come from a scripting language where no type was needed, after some day i think to know and appreciate that natural work...
[6 replies] Last: Why should I use T& operator=(U input); instead of void operator=(... (by dhayden)
by tit0n
I cannot figure out how to print Result in my program. Can anyone help?
 
Trying to make a program to convert a given expression from infix to postfix. Now I want to test if its even working right at all but I can't figure out how to ...
[no replies]
error LNK2019
 
I'm new to c++. This is my code. #include "compute.h" void compute( string inputfile, string outputfile ) { ifstream in( inputfile ); ofstream o...
[7 replies] Last: hi. can i see your main function? Furthermore, also to display the va... (by ar2007)
IneedHELP
 
please help me who to make a money changer using DEV C++.. thank you in advance guyss!! i really need it..
[2 replies] Last: Hello johnjoshuaneverlose. Since this has been around for a couple of... (by Handy Andy)
printf not working
 
Hello the base class variable is not changing as it should in this program, I have been advised this is because cout operator << is booling the value down to tr...
[2 replies] Last: Part * pPart = 0; ... while (1) { ... pPart->print(); You u... (by Thomas1965)
Using switch/ else if
 
My code is not giving the desired output. I was wondering if you guys had any input. I am currently working on another version, however if there is a way to fix...
[7 replies] Last: Cheers :) Good luck with the simplification, it's more satisfying tha... (by closed account 48T7M4Gy)
by tit0n
Need help. Infix to postfix
 
Not sure where to go from here with my program. I am currently trying to just print out a result of my postfix. Could anyone help me its been a few hours I am p...
[2 replies] Last: printResult(); is a member of class Expression, but you didn't declare... (by Enoizat)
by Drakk
If issues
 
Write your question here. I am having issues keeping the "correct/incorrect" statements from being output in the wrong places #include <cstdlib> #include ...
[3 replies] Last: You misplaced your curly brackets. Line 72 change to if (aanswer==ans... (by Hengry)
by AVh2os
STL dynamic pointer help
 
So I am just trying to dynamically create a list of ships. All goes according to plan until my pointer tries to create the 6th element of the list. My progam cr...
[1 reply] : > I'm not sure how to fix this issue. Automate resource management wi... (by JLBorges)
I am having trouble installing Visual Studio 2015. What do these errors mean? And how can i fix these?
 
Microsoft NuGet - Visual Studio 2015 Package Failed. Microsoft Visual Studio Connected Services Package Failed. Azure AD Authentication Connected Servic...
[2 replies] Last: Forget using the web installer, download the complete ISO VS 2015 inst... (by closed account E0p9LyTq)
Can someone help me with c++
 
Recently I decided to make a complex pass generator, I finished that and decided to make it output to a file, this is where things get hairy, im trying to outpu...
[2 replies] Last: Thank you so so so very much you helped me tons. Would there be a way... (by garrows)
simple function question
 
I'm confused on what type of function declaration I would use to get the correct output for this program. I understand I would need to write a function, but wou...
[2 replies] Last: I think that's your job as part of the repair assignment. BTW a functi... (by closed account 48T7M4Gy)
C++ Server : 5 Errors !
 
j
[4 replies] Last: h (by AbsolC85)
payment problem
 
Payment doubles when the months are even, If months are odd they triple I have most of it, but it prints weirdly #include <iostream> using namespace st...
[1 reply] : Hi, Line 16, there is an assignment operator instead of comparison op... (by shadder)
How to get switch to go back to original input instead of previous?
 
Hi. I'm still pretty new at coding and this is my first big project for my class. I have to make a project for a store where the user can order things off th...
[3 replies] Last: Thank you so, so much dyhayden. After trying to fix this for hours, I ... (by annthegoldfish)
rainfall stats
 
so ive been working on this code that will ask the user to input the amount of rainfall for each month and at the end it will display the total amount of rain f...
[1 reply] : I rewrote your code changing he name of the class, so you can test min... (by Enoizat)
3 numbers from big to small and small to big
 
So I'm making a code that will display 3 different numbers. After putting 3 numbers, the compiler will organize the numbers from biggest to the smallest. ...
[2 replies] Last: While @Hengry is correct why not use a bubble sort or selection sort i... (by TheKingGamer117)
Loop to print odd number is descending order.
 
Hi! I am working on an assignment to print a set of odd and even number up to the given input number but I am having trouble with the last part. I want the od...
[3 replies] Last: The loop starts from num=1. It should start from the highest odd numbe... (by Chervil)
Need tips/help with storing infomation
 
Hello, I'm trying to challenge myself by making a C++ application that allows the user to input their username/password. The problem with this is I want to be...
[4 replies] Last: I've already made a program like that but I want this one to be acces... (by SamuelAdams)
February 2017 Pages: 1... 34567... 37
  Archived months: [jan2017] [mar2017]

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