Beginners - October 2015 (Page 47)

If statements
 
Hi all, I have a complicated question to ask you and I'm stuck on this. What I'm trying to do in this project is to ask the user what kind of ingredients they...
[5 replies] Last: The second problem is (like YFGHNG already stated) that on line 99 you... (by coder777)
partially filled array.
 
Write your question here. hi. I am new with programming and I stuck on this project. This project has 4 option: 1. register student 2. unregister student 3. pri...
[5 replies] Last: It's not that complicated: int howmany = 0; int registered_howmany =... (by coder777)
One last problem
 
I have one final problem, however I am getting an error on only 1 line for a function call, but none other, and I don't see why it would be wrong at all. Dat...
[4 replies] Last: What @Ericool is saying is you have a setDate() prototype in your he... (by YFGHNG)
For Loops
 
So i am trying to get a variable starting at 0, to increase by 30 until 360. But im having some real trouble. What am i doing wrong? this is my first time worki...
[2 replies] Last: Thank You!!! I knew it was something simple that i missed! (by b29hockey)
by C0UG3R
C++ Stack Defining and Reading
 
I need to create a stack from the Element300 type of size 3 and print it out in the function print. I'm having trouble defining the stack and passing it through...
[1 reply] : When you declared a Element300 pointer you haven't actually allocated ... (by TechnoBrony)
No member function declared in class
 
Hello, when I try to compile this program, it says "no void Undergraduate::default_input()’ member function declared in class ‘Undergraduate’ void Underg...
[1 reply] : Also, just in case anyone wants the driver program too, here it is: ... (by cher1201)
receipt
 
**Edited** This is a menu code and I would like to give the user the option of selecting several items as opposed to just one? How can I go about it? Than...
[5 replies] Last: "Unfortunately 'WE' don't do homework" I'm not exactly sure what would... (by Pollycode)
by tnt980
code error
 
/* * File: main.cpp * Author: Zac * * Created on October 6, 2015, 5:54 PM */ #include <iostream> #include <cmath> using namespace std; void displ...
[5 replies] Last: http://www.cplusplus.com/forum/beginner/175490/ (by closed account 48T7M4Gy)
Need assistance please!
 
Hi everyone! I just started my first year in C++ programming, and I'm having a little bit of an issue with my code. If you guys would kindly look it over...
[11 replies] Last: cout << "I'm sorry Dave, I can't do that." << endl; break; ... (by closed account 48T7M4Gy)
If statements help
 
Write an if statement that will print out a name if it begins with the letters M-Z. You may NOT assume that the name was typed in capital letters. Write ...
[2 replies] Last: Try and write it in simple English as pseudocode first. Never fails. :... (by closed account 48T7M4Gy)
Beginner Issues with Date/Time Project
 
Hello, I am a total beginner struggling through my first class with c++. My first project involves prompting a user for the name of an event, along with how man...
[1 reply] : You aren't using functions the right way. You need to pass parameters ... (by closed account 48T7M4Gy)
GPA CALCULATOR
 
User inserts letter grade ex: A = 4 points how do i add up all the letter grade points and divide by the number of letters enetered?
[1 reply] : '+' and '/' respectively. (by closed account 48T7M4Gy)
loop sum
 
Write a program that asks the user for a positive integer value – use a loop to get the sum of all integers from 1 up to the number entered, e.g., if 50 is en...
[1 reply] : Can be done with either scheme olf the while structure. PS This site... (by closed account 48T7M4Gy)
No idea how to do this conversion. Can anyone help?
 
Hey, so I am new to c++ trying to learn on my own, and I am across a problem that really has me stuck. So I am supposed to ask the user for how much cubic feet ...
[5 replies] Last: Also, show us what your input and output is. Otherwise it's pretty muc... (by closed account 48T7M4Gy)
Two small problems with while loop and char space
 
Hello everyone, first time posting on this forum but have used it to help me many times over the last month. So I'm making a dice game but I can't seem to st...
[1 reply] : I have changed it to a do while loop and the while states while (t... (by Number1Taco)
Programming Error and cant figure out how to fix what is wrong
 
So a little info about what is going on, below is the problem I am writing the code for. The exercise for this week is to write a class that simula...
[2 replies] Last: FurryGuy, Thank you so much. Something so simple that I kept overlook... (by DrkMagnus)
by Andym
example or tutorial for array of classes
 
I have been looking for the past 3 hours trying to find a comprehensive example or tutorial for assigning classes to an array. I have found the clocktype video...
[6 replies] Last: but, If an Array is declared as an int, how can it hold anything else... (by admkrk)
Generating random #'s
 
The following code is a lab that I have completed for class. I am new to C++ and am learning along the way so please be gentle if I am overlooking something th...
[3 replies] Last: Do you mean you run the program three times? time(0) returns the time ... (by Peter87)
Height and Width of Image using C++
 
Hello all. Is there a way of finding the height and width from the *.bmp file either through its header file or another way? I'm currently using Visual Studio 2...
[1 reply] : Would appreciate some guidance and an example. (by davidSpears)
file isn't reading into 2d string array
 
I've got a file, and what I believe to be a 2d string array and it isn't writing in anything. I know I'm doing something wrong. Please help. string stud...
[1 reply] : Valid indexes for an array of size n are 0 to n-1. So when secondary ... (by cire)
October 2015 Pages: 1... 4546474849... 57
  Archived months: [sep2015] [nov2015]

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