Beginners (Page 67)

by Ch1156
How can i use getters and setters with math? (1,2,3,4)
I have a function in a game i'm working on that is the shop function and I need to do some math for ...
[77 replies] Last: Ok, So you need to tell the compiler what the enum Size is - it's n... (by TheIdeasMan)
Some type of container for string int long long
Hello, I am currently doing a project for school and having a great deal of frustration with it. ...
[2 replies] Last: Thank you so very much! Didn't even think to do a struct. So far it's ... (by xXBurnt)
by MRQ1
Is c++ primer really for beginners?
I have been reading c++ primer and the things are flowing over my head the book seems to be very dif...
[14 replies] Last: >the books I like are said to be bad an example: http://www.cplusplus... (by anup30)
Help with arrays
Hello all, firstly thanks for any attempts to help me solve my problems, I appreciate any advice! ...
[4 replies] Last: ooo Thanks for the advice... We have started the classes but i'm just ... (by helloworld1234)
how to define iterators for elements of a class
let's say i have the following code : // this code is for implementing vector in C++ template <cl...
[5 replies] Last: @Smac89: I suggested that and he specifically requested information fo... (by LB)
connect four style game (1,2)
Alright, I have to make a code for a connect four type game. The twist is that It's connect any, mea...
[25 replies] Last: You may want to experiment with a tic-tac-toe game first to understand... (by LB)
Where is the error? (driving me nuts!)
My compiler (VisualStudio) is telling me that there is an error on the 40th line. Specifically, it i...
[3 replies] Last: This topic is continued at (by LB)
by as4mvp
PLEASE NEED HELP: Converting 2d array into a 1d array (1,2)
Create a 2D array with 20 rows and 20 columns. Populate the array row-by-row with random real numbe...
[24 replies] Last: once again thanks LB, mgoetschius, and fg I appreciate all of your hel... (by as4mvp)
Converting bases
Hello, I have researched the areas of the forums as much as I can to learn information on my topic. ...
[6 replies] Last: > into base 4 and 5 into two different bases ? (by anup30)
by relgin
Define a class called Rocket
problem description: Write a program that defines a class called Rocket that represents a rocket....
[4 replies] Last: Instead of rockets, I think those are supposed to be doubles. (by fg109)
Help with my code please (C++)
I need help making it so it prints prime numbers only. Thank you for your help in advanced. -------...
[12 replies] Last: Thank you everyone. The only part I needed to add to my code for it t... (by steph2015)
by Thecal
Reading from a file
Hey guys, Im trying to read from a file, line by line, with no specified number of values in the fil...
[6 replies] Last: This is your original code:[quote=Thecal][code firstline=15] while(... (by LB)
file reading problem
I am not able to display the name at the output screen, for example: i gv the name "ting", it shows ...
[6 replies] Last: while (!staff.eof() && staff.get() != '\0'){ getline(staff, staffs... (by Aaron Vienneau)
Help with <iomanip>
I'm unable to get a properly outlined output of the results when the entire program is run. Could an...
[3 replies] Last: You should put all those cout statements after your if and else statem... (by fg109)
(First time posting just joined) Having trouble with book lesson.
Hey guys! First time posting so hopefully I am doing this alright. I recently purchased this book n...
[1 reply] : Is there a way to put a picture in. I have a print screen of what I wa... (by labbedavid)
what is mean of this declaration int (*a)[2]?
I saw a declaration like this: int (*a) What does this mean? Is this a two dimension array? H...
[5 replies] Last: Thanks very much, now I think I understand the difference. (by buddha87)
Craps game C++ with menu and chips! NEED HELP!
My craps game works but it doesn't compile anymore and it wont even execute anymore without errors. ...
[1 reply] : Your ending curly brace on line 121 that says it is the end of switch ... (by tscott8706)
by as4mvp
Copying 2d array into 1d array
Create a 2D array with 20 rows and 20 columns. Populate the array row-by-row with random real numbe...
[8 replies] Last: Topic continued here: ... (by LB)
How to write a loop to count a queue
I need to write a loop which will count the elements in a queue which also needs to work with a wrap...
[15 replies] Last: It looks like it should be. Does it generate the correct output for yo... (by LB)
output array
I'm getting every other line then then 0's being printed in-between. I suspect my while loop and how...
[1 reply] : (by shadowCODE)
Pages: 1... 6566676869... 88
  Archived months: [mar2015]

Cannot post in this page. To post a new message, go to the first page.