
please wait
Function with bool return value- does not output string messages for errors |
I am writing a bool function that displays error messages if one of the conditions are not true, that are strings. When I run my function, it does not output th... |
Oct 31, 2016 at 10:14pm
[no replies]
|
by kingkush
Maze Program
|
I am trying to write a program which solves how to get out of A multi dimensional (char) array. Where the "walls" are the letter "X". I want to use a stack for ... |
Oct 31, 2016 at 10:11pm
[no replies]
|
by langtonk
Storing multiple user-input strings in an Array?
|
Hello! I am in a beginning C++ course and a few weeks ago, we were to create a basic degree-auditing program using arrays, loops, and if statements (no function... |
Oct 31, 2016 at 10:02pm
[no replies]
|
by markholbrook
Non programmer looking to eventually learn AR
|
Hello I am new to this forum in the hope of some advice. I have practically no programming experience, the only thing I have taught myself is HTML and CSS on a... |
Oct 31, 2016 at 9:31pm
[1 reply] : http://www.cplusplus.com/doc/ A good place to start is right here (by closed account 48T7M4Gy)
|
by Day Vide
Char pointers or strings
|
If you were making a password generator. Would you make the password a string or a char pointer ? |
Oct 31, 2016 at 8:55pm
[2 replies] Last: Oh ok great. Thanks for the information. (by Day Vide)
|
by MisterTams
How to verify length properly?
|
Okay so I'm trying to verify a PIN number and Zipcode. The PIN should be 4 digits long and the Zipcode should be 5 digits. How can I do this using Int numbers o... |
Oct 31, 2016 at 8:53pm
[7 replies] Last: For an explanation of thomas's code, read it and even better than that... (by closed account 48T7M4Gy)
|
by Nicklax
How to allow user to access specific sections of a file?
|
Hello, I am attempting to code a program that allows the user to create what is an essence a database of monsters and their statistics. The user is supposed to ... |
Oct 31, 2016 at 8:23pm
[6 replies] Last: Thanks for the suggestion, I'll try fiddling around with it some more ... (by Nicklax)
|
by JonMart376
Loops and File Processing
|
Good day to you all here at cplusplus.com! After some time of stumbling back here I decided to join since I'm currently enrolled in a beginners C++ class. Now I... |
Oct 31, 2016 at 8:22pm
[1 reply] : In pseudo code: Call the function to display your menu Get the inp... (by koothkeeper)
|
by mtroll
Trouble with Arrays
|
Hi, I have an assignment to make a "mock stock exchange" in which there is a person with an account of 10 dollars and they can choose to buy and sell share... |
Oct 31, 2016 at 7:50pm
[7 replies] Last: Thank you so much for your help! This is exactly what I needed. (by mtroll)
|
by mjtilbrook1
Beginning C++ with games
|
Hi, im just wondering where i should start learning how to make games using SFML/SDL and c++ i found a book beginning c++ game programming (john horton), i... |
Oct 31, 2016 at 7:37pm
[6 replies] Last: Yes, that is the advice I gave you in my first post. It will help you ... (by BHX)
|
by EmC88
Trouble with Input Validation - checking for empty cin
|
I am writing a program that gathers user input. The program is using a structure to store the user's inputted data and is comprised of a few strings and one dou... |
Oct 31, 2016 at 7:27pm
[2 replies] Last: Thank you so much for the suggestion! That helped immensely. (by EmC88)
|
by edwilke86
Is my code clean and concise?
|
I'm teaching myself, slowly, and came upon a problem in my book. It's "Jumping into C++" Chapter 16 (Recursions), problem one. 1. Write a recursive algorithm... |
Oct 31, 2016 at 7:16pm
[2 replies] Last: Your code is not quite correct - your base-case isn't actually the bas... (by mbozzi)
|
Read data from user by object and constructor |
Hi everyone,I am trying to finish this assignment. I have a question about car1. How can i assign value from user to car1? car1 which uses the values read from... |
Oct 31, 2016 at 6:29pm
[2 replies] Last: 0 other false NONE 0 other false NONE 0 other false NONE Can you te... (by phamminhphuong)
|
by Zorai
Need this code written before a couple hours from now...
|
The exercise is : " One stormy night, as Dionne worked diligently on her CSC 126 labs, a bolt of lightning struck the house. The power surge raced through he... |
Oct 31, 2016 at 5:49pm
[2 replies] Last: This makes predicting the future very easy. I think this program will ... (by Nico)
|
by ZaKingu
no answer after request of an user input
|
I'm doing this for a class, but I'm having a bit of a problem which after I input the 5 digits in the compiler, it will only play nnnnn instead of what I'm look... |
Oct 31, 2016 at 5:08pm
[3 replies] Last: Ah, I made a mistake as I had to do this with the while loop (by ZaKingu)
|
by h00ray
Week end / business day program help
|
Hi guys,I'm fairly new in C++ (3rd day) and I'm trying to apply the enum operator. So I tried to write a program that determines whether the user indicated (via... |
Oct 31, 2016 at 4:23pm
[4 replies] Last: Thanks for the help, I appreciate it very much. (by h00ray)
|
by kiparisisg
String elements
|
How can i count the elements from a string ? i know that the string has characters and numbers for elements! |
Oct 31, 2016 at 4:20pm
[5 replies] Last: The input "hy150 = 27 10 66 70 67" requires an array size of at least ... (by Chervil)
|
by Shifty189
Shields up!
|
I'm very new to programming and i'm trying to get the hang of functions. In order to do this i thought up a little game i'm trying to build. I want the status o... |
Oct 31, 2016 at 3:52pm
[6 replies] Last: mbozzi your the best! "Line 44, line 53: Remove the leading int from ... (by Shifty189)
|
by Yoooooo
Passing through "fill" function
|
Hello everyone, I've got a problem. It's about the fill function, if you ever have heard about it. This is the programm I need your help with: #include ... |
Oct 31, 2016 at 3:50pm
[5 replies] Last: ¿have you set a breakpoint in color()? (by ne555)
|
by bluefrog
operator* as a member function
|
I am attempting to create a operator* function for a class that converts stones to pounds. I get the following compile error though : stonewt.h:22:47: error:... |
Oct 31, 2016 at 3:24pm
[1 reply] : If it is a MEMBER function, then the left-hand operand LHS in LHS o... (by lastchance)
|