Beginners - March 2015 (Page 46)

inputed by user string in dynamic array
 
Hello, I want to write a program that takes inserted by user string (any characters plus spaces) in...
[9 replies] Last: Maybe there is way to count entered by user characters? (by alexgit)
Error undeclared identifier - classes
 
I've recently decided to make the move from Java to C++ I thought I would make a simple text-based g...
[2 replies] Last: Thanks For your help! (by aaronhance)
Simple Ambiguity problem
 
Hi guys.I have a problem about ambiguous grammer.I am working with my book myself.I saw an example g...
[3 replies] Last: The first grammar is not ambiguous. An expr starts with an id or a "("... (by dhayden)
Call by reference, functions
 
I am having trouble validating the operator. The user has to input the operator they want to use and...
[1 reply] : http://www.cplusplus.com/forum/beginner/158191/ (by Townsheriff)
by Jhax
Input skipping in simple program!
 
Hey guys so I'm just going through my programming book and I'm doing some exercises on functions. I ...
[1 reply] : program outputs: "The value of z currently is: " You enter: 5 <ENTER... (by MiiNiPaa)
Loops
 
Iv'e managed to complete part of the code I need. int main() { int n, digit; printf("N...
[4 replies] Last: Ive thought that but exactly how to do it is completely eluding me >.<... (by Vasukki)
by zamar
Project till array...
 
hi guys i'm new to programming. we have studied if/else, loops and arrays so far and our teacher as...
[2 replies] Last: i m new here.. i'll keep that in mind next time.. thanx (by zamar)
Help displaying the numbers in the vector
 
Hi! I have an assignment I have to do that is described as follows: "Write a C++ program to input...
[no replies]
5 decimal places in code
 
Trying to get decimal places in grades, along with regular grades, not sure how to do it. Please hel...
[no replies]
Debugging with a program
 
My frequencies in the end show up more then once. How do I fix my program so that cout << "Numeric V...
[no replies]
How to avoid this memory leak?
 
Hello Forum! I have a class SceneNode that uses a vector of std::unique_ptr<SceneNode>'s to store i...
[2 replies] Last: The implementation of attachChild(...): void SceneNode::attachChild(... (by stulleman)
Money Dispenser print out least amount of bills possible
 
I need some help. I'm supposed to create a code of an atm machine that dispenses the least amount of...
[1 reply] : Think of your dispense problem a little differently. Take out the bigg... (by booradley60)
Change from using STL to not using stl
 
i wrote a palindrome checker using a stack and a queue but i have to change it to where its using No...
[2 replies] Last: i was able to fix it by adding this code so it only pushes the non spa... (by Inthemountainair)
Passing a enum value to a function
 
Hey guys, I'm just curious how would I code a function header and parameters to except a enum value ...
[2 replies] Last: ok thanks man (by sourcedesigns)
please help me :(..
 
So I'm trying to write this simple program. What its supposed to do ask the user for input, the calc...
[4 replies] Last: You should not use return 0; statements in each if block, as the else ... (by ashleybrown2)
function calling
 
I'm super new to C++ and clearly very bad at it so sorry for the horrible code below.
[3 replies] Last: Hi, I have also just started learning C++ and have picked out a few th... (by ashleybrown2)
Random Numbers Multi-Dimensional Arrays
 
I want the user to input 2 rows and 2 columns. Then the program will generate a random number in th...
[4 replies] Last: #include <iostream> #include <cstdlib> #include <ctime> using namespa... (by Vandalism)
Question about learning from books.
 
This is more of a general question, but I have recently started reading the book programming Princip...
[4 replies] Last: The drills on that book is advance I disagree. They do not ask anythi... (by MiiNiPaa)
assistance with functions and function calling
 
In this program the user is supposed to choose a menu item, then the program is supposed to run a sp...
[12 replies] Last: So I got points docked off for using the wrong boolean loop terminatio... (by closed account zT4NhbRD)
issues with my pass by reference lab
 
Hey! So my program below is used to find the highest and lowest gross of employees, print out both ...
[1 reply] : The problem is on line 90: On line 11 you try to set lowestGross = hi... (by coder777)
March 2015 Pages: 1... 4445464748... 51
  Archived months: [feb2015] [apr2015]

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