Beginners - April 2016 (Page 34)

by noodel
BEGINNER IDEA
 
There might be topics about this but i need a specific answer or help. Im an EXTREME beginner in c++ and I have to make a program using only while and for loops...
[no replies]
Class Lab
 
I was given this assignment by my teacher and am absolutely stumped, I have a basic grasp on what I need to do and am having troubles understanding what I am mi...
[5 replies] Last: Oh ok, thank you, sorry that was kind of a dumb question. (by BudderProgram101)
by thenub
Unexpected Output in reading/writing class objects
 
The output will most probably explain it [Enter Name: Somebody Enter Grade: A Enter Marks: 100 Do you want to enter more? : Y Enter Name: Enter Grade: A] ...
[5 replies] Last: Thank you very much, you solved a problem which was very annoying for ... (by thenub)
File data to ASCII guidance.
 
I'm a c++ beginner. I have a classwork which I have tried to complete for a few days now and I'm still confused. I have a file called Data.txt . It contains 7...
[7 replies] Last: ****FINAL UPDATE**** This is the redone code which I found would match... (by apache23)
by bumber
Passing a class into its own member function
 
Hello. I have a problem with coding the add_complex. How do I get the x values to sum with the y values? main.cpp #include <iostream> #include "Complex....
[2 replies] Last: complex.cpp lines 22-23: What do these lines do? You have no left ha... (by AbstractionAnon)
by Erzi
Find the mistakes
 
Hey everybody i search the mistakes in my Code, can anybody help me please? #include <stdio.h> #include <stdlib.h> void f1(int); void f1 (int c){ ...
[2 replies] Last: i search the mistakes in my Code It's not your code, rather your ... (by TheIdeasMan)
Program does not let me provide input
 
Hello, I have a problem with a following snippet of code: #include <iostream> #include <vector> using namespace std; int main() { vector<doubl...
[2 replies] Last: Thank you very much booradley60. Indeed, I forgot that while exiting t... (by senseios)
Program output issue
 
I'm writing code for a project of mine. I have to load data in through a file, and run four different functions to calculate and output the largest value, small...
[2 replies] Last: Going back to iHutch105 is that you need to follow the data. As your p... (by HotShowers)
by slex04
while (score < 0 || score > 100)
 
I'm battling to do the parameters of the input data 0 > score < 100 and then to display that the entry was wrong. Could someone please point me in the right dir...
[9 replies] Last: cout.setf(ios::fixed); cout.precision(2); got it ty (by slex04)
by thenub
Reading and writing structures
 
I am writing a code that will accept a structure information from user, and write the structure in a file. After a structure is written, I read the structure fr...
[1 reply] : After writing to the file you need to close it before you can read fro... (by Thomas1965)
Homework
 
So i have this homework i need to have done and i'm not really good with C++ so i had a friend send his to me but i can't turn in the exact same thing. What cou...
[2 replies] Last: The deadline is for tomorrow and i have been buried with work (outside... (by morastia)
How to check if ISBN format is valid?
 
Question is Do simple validation of data entered into a Book; for example, accept ISBNs only of the form n-n-n-x where n is an integer and x is a digit or a ...
[1 reply] : I've recently done that for an assignement. What you wanna do is to ge... (by Viiarge)
C++ Name Sort Using BubbleSort
 
Write a program, which will ask the user how many names (one word, no spaces) they wish to enter. The program will then read that many names, store them in a tw...
[1 reply] : You're close. I believe you're missing an extra for loop in your sort ... (by plsalinas)
Passing Class Instance throught pointer
 
I had create two instance of class, one who's a Character the other one is Wizard who inherit from Character. In my case you are playing as a Wizard and I was t...
[2 replies] Last: Thank you for your help , I now understand more the whole concept of p... (by jj09786)
Looping Drills
 
Write your question here. Hi im just starting out c++ and my teacher is not helpful at all and i really want to learn. The issue i am having is im trying add a...
[2 replies] Last: The title of your post is "looping drills" but I'm not seeing any loop... (by mgoodall)
Nested do-while loops in if-else if statements bugging out
 
I'm a very beginner programmer writing a program to simulate a modified craps game, and I can't find out what order (if the order is even the problem) to arrang...
[1 reply] : Well, at first glance, i question the need for lines 100, 101, 103, an... (by mgoodall)
Critter caretaker help
 
I am new to creating class and this is our assignment: Change the Critter Caretaker from Chapter 8 (pgs 274-281) program: Create an unlisted menu option that ...
[2 replies] Last: As they are private variables in the class, you need public getters (a... (by mgoodall)
by HJSSAE
Help with unexpected error codes
 
I am supposed to make a code that sorts test scores with the corresponding student number of each student with a max of 10 students. My professor says that this...
[1 reply] : I would suspect this needs to be resolved with pointers pointing to th... (by mgoodall)
Help with file processing
 
Total newbie here trying my hand a t program that requires me to uses loops and file streaming. The exact is here below: A high-end coffee shop has just hired...
[4 replies] Last: It wasn't meant to fix anything, but you need to make sure the file is... (by SamuelAdams)
Program.exe has stopped working
 
This keeps crashing my visual 2010 c++. Instead of saying error, it says c++ has stopped working. Can you guys see whats wrong, with this code? Or if it...
[1 reply] : num%divide https://stackoverflow.com/questions/7370154/cant-mod-zero... (by Moschops)
April 2016 Pages: 1... 3233343536... 43
  Archived months: [mar2016] [may2016]

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