Beginners - October 2015 (Page 8)

Dont understand coding project need guidance
 
So I just received my new coding assignment and I have no idea how to even start it. The instructions are so long that I just copy and pasted the link. http...
[9 replies] Last: Those errors are simple enough to figure out... put the > before the ... (by pearlyman)
Loading Screen?
 
Hello, can you actually code like a loading screen in C++ like in video games? If there is such thing, can i see or ask for help on how to do it?
[1 reply] : Depends what you are driving at but: int main() { cout << "Loadin... (by closed account 48T7M4Gy)
by tnt980
help with persistence code need to ask user for number
 
Write your question here. #include <iostream> using namespace std; int Persistent(int value) { int counter = 0; while (value > 10) { int newv...
[3 replies] Last: Ever growing team of volunteers working on this project for OP all ov... (by closed account 48T7M4Gy)
by tnt980
PErsistence Help!
 
Please give me a non-negative integer: -53 ERROR: Only non-negative integers please. Please give me a non-negative integer: 715 715 -> 35 -> 15 -> 5 The per...
[1 reply] : Even Larger team of volunteers working on this project for OP all over... (by closed account 48T7M4Gy)
Semicolon and some beginner questions.
 
Hi all, I got really confused by some of the questions on my homework, for example: 1) for (a = 1; a <= 10; a++); Does the semicolon at the end of the "f...
[2 replies] Last: ah i see, i got confused between NULL and null statement. And for the ... (by NewProgramma)
Inventory class code, due in 3 hours
 
-Design an Inventory class that can hold information for an item in a retail store’s inventory. The class should have the following private member variables....
[1 reply] : Assuming you are using an IDE like VS or CodeBlocks all you need to do... (by closed account 48T7M4Gy)
by tnt980
I need to get this exact output i have code working
 
Write your question here. In this project you will contemplate the persistence of a positive non-zero integer n. The persistence of n is computed by multi...
[1 reply] : Multiple posts reduce the help possible not increase it http://www.cp... (by closed account 48T7M4Gy)
Prime numbers
 
Why does my code print so many of the same prime number? #include <iostream> #include <cstdlib> #include <fstream> using namespace std; int main(...
[2 replies] Last: I know that loop keeps executing even though I don't need it to anymor... (by Beginner1551)
by ct123
Function with switch
 
For my lab I have to create a menu asking if the user wants Celsius to Fahrenheit, vice versa, and quit program. This is the code I have so far but I'm not su...
[1 reply] : Please, use code tags (the <> formatting button) when posting code.It ... (by chicofeo)
How to call the row?
 
Here is the example code. Let say I want to call the first row in the table. row 1 = {1,2,3,4,5,6,7,8} I want to declare the row 1 to be in that form. How d...
[1 reply] : I probably misunderstood the question. Here is an example on how to ca... (by chicofeo)
Prime numbers
 
Why does my code print so many of the same prime number? #include <iostream> #include <cstdlib> #include <fstream> using namespace std; int main(...
[1 reply] : Dupe post http://www.cplusplus.com/forum/beginner/177314/ (by SamuelAdams)
I need help with my code. Average Test score drop
 
Hello, I have a program that I am getting stuck with. I need help on finding the lowest test score and also validating user inputs because my isn't working. Dir...
[4 replies] Last: I believe it is working now, would you mind putting it into your compi... (by abbitwo)
by thor36
Can't understand sample code with 'cin'
 
Greetings all, I am following Stroustrup's C++ PPP2 book and have a problem with understanding one of his examples. I have searched online already and also cam...
[7 replies] Last: Hehe ok, my language is appropriately noobish I know, but I can only r... (by thor36)
by tnt980
help with ordering 3 strings
 
Write your question here. /* * File: main.cpp * Author: Zac Pennace * * Created on October 26, 2015, 5:59 PM */ #include <cstdlib> #incl...
[3 replies] Last: i need help finishing the code (by tnt980)
by GFring
Couple of errors I can't figure out allocating memory and copy constructor
 
allocating memory and using copy constructor can't for the life of me figure this out. I think its probably just some petty mistake. /****************...
[3 replies] Last: Rather than saying "I just don't get it" when your code doesn't compil... (by cire)
Issue with Monthly Calendar Assignment.
 
Hello to those reading. My assignment is as follows: "Your job is to write a program that will display a calendar for any given month of a given year. The user...
[17 replies] Last: print D % 7 spaces then the date? (by closed account 48T7M4Gy)
function 1
 
I'am student in the university my qustion is how can i initialize stds array to print the information of all student .. i have to buld this function on cas...
[1 reply] : http://stackoverflow.com/questions/4981197/2d-array-values-c (by closed account 48T7M4Gy)
Pointers to classes and reinterpret_cast<>()?
 
Hello, i'm new to C++, this website and programming in general i've been doing some pointer and reading up tutorials and watching vids anything i could get my h...
[3 replies] Last: It really doesn't though, It really does. At least, according to th... (by cire)
Lottery Homework
 
Hey. So I'm currently writing this lottery program for homework, and I'm almost completed, but for whatever reason whenever I run the program it just outputs ga...
[4 replies] Last: You are welcome :) (by Codermik)
Pass by Reference and Polynomial Roots
 
Hello! I am an extreme beginner to programming and I'm struggling to understand what i'm doing wrong on my current assignment. My professor wants us to write ...
[no replies]
October 2015 Pages: 1... 678910... 57
  Archived months: [sep2015] [nov2015]

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