Beginners - February 2015 (Page 6)

Array Problem
 
Hello guys, why does this code not print sword? I thought that arrays start counting at 0, that's wh...
[2 replies] Last: Instead of this: items = "sword"; items[numberOfItems++] = "armor";... (by Bogeyman)
help with creating code for conversion of ounces to cups then cups to pints
 
if someone could help me, these are the requirements: 1. all functions must be below the main ...
[7 replies] Last: Haha, thank you! I'm glad I could help you, and help your classmates:)... (by closed account 2LzbRXSz)
Frusteration
 
So here I am, I know PHP, C#, JS... To name a few. I've wanted to learn C++ for a long long time. Ju...
[2 replies] Last: Thanks for the suggestion, but... I am using the release of Orwell Dev... (by samishii23)
by Atton
A few errors with code
 
I have been having a few errors with code sourced online. By any chance does anyone know how to remo...
[3 replies] Last: It compiles fine thanks. (by Atton)
How to rename a file?
 
The part of code where I rename the file just won't work. I tried writing it separately in another p...
[7 replies] Last: http://stackoverflow.com/questions/6323619/c-ifstream-error-using-stri... (by rafae11)
Unknown answer to an Activity
 
Hi, we had an activity at school days ago about entering a gender and continuously inputting the gen...
[4 replies] Last: Wow, no wonder that code didn't work. She tends to give activities whi... (by Cplusplus321)
by koopey
password authentication logic!
 
Hi everyone! every time i come up with password authentication logic, later i find a bug in it which...
[1 reply] : http://cpp.sh/4hux (by rafae11)
This code isn't working properly
 
Hello everyone, can someone please help me with my code I am trying to run. I am trying to find a so...
[4 replies] Last: The idea was to replace the do-while loops that you where using, with ... (by ne555)
by c1885
convert char to string
 
I read this post: http://www.cplusplus.com/forum/beginner/4967/ I want to convert a randomly genera...
[3 replies] Last: Nice post. Thanks for the help! This is sloppy. I'll clean it up. ... (by c1885)
What's wrong with my code
 
Hello everyone, can someone please help me with my code I am trying to run. I am trying to find a so...
[2 replies] Last: Please see http://www.cplusplus.com/forum/general/158007/ (by ultifinitus)
by Marra
Help pls
 
Hello everyone, can someone please help me with my code I am trying to run. I am trying to find a so...
[1 reply] : http://www.cplusplus.com/forum/general/158007/ (by ultifinitus)
says I need a ")" when i already have one ?
 
(11) error: expected `)' before ';' token (11) error: expected primary-expression before ')' token ...
[2 replies] Last: You have a semicolon after your definition of DUMMYVALUE you also ha... (by ultifinitus)
by SVcpp
Please help trace through the logic of for loops!
 
I found myself stuck in some code I'm writing and could use another set of eyes on it. I commented w...
[3 replies] Last: No wasted time here, glad you figured it out! (by ultifinitus)
Making the user guess the correct number
 
So I'm suppose to keep asking the user to guess a number between 1 and 10 until the user enters a 4....
[1 reply] : Line 10: How can that while condition ever be true? What number is b... (by AbstractionAnon)
Help me!
 
How do I write void arrange? and how do I declare dispValues? #include <iostream> using name...
[no replies]
two separate issues one return error the other validation problem.
 
I want to put in Validation to only allow the account number to be 4 digits ONLY Program ALLOWS l...
[3 replies] Last: Look at the two message lines at the bottom of your screenshot. The... (by AbstractionAnon)
Finding number of possible combinations with recursion.
 
Hello! I'm pretty new to programming, and I'm trying to understand how I would write a recursive fu...
[11 replies] Last: We have a case which doesn't match the Fib sequence either way we seed... (by closed account D80DSL3A)
What am I doing wrong
 
Okay, so I am working on a project and here is one of the questions 1. Write a program that calcul...
[4 replies] Last: I actually checked back at my video lessons and solved it myself but t... (by AmptheWaldo)
by abc456
how to fix this program?
 
k
[no replies]
Computing a number of Sub Sets Recursively
 
So, I have a program here that, when given an array, its size, and a target number, it calculates th...
[no replies]
February 2015 Pages: 1... 45678... 52
  Archived months: [jan2015] [mar2015]

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