Beginners (Page 62)

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)
Identifying Even Numbers In An Array
My assignment is to create an array of 25 random integers, ranging 1-100. It also has to tell me how...
[3 replies] Last: I realize with programming, you must pay attention to every single de... (by TarikNeaj)
by Thecal
Input file into array until eof. Help!
I am having an incredibly difficult time wrapping my mind around this concept. Any help is greatly a...
[19 replies] Last: Do not change the content of the if statements, you are changing the l... (by LB)
by slour
bubble up sort in array
I am trying to sort an array using a bubble up sort, I can't get the sorted array to print. Yes I kn...
[6 replies] Last: Thanks, for the feed back. (by slour)
Need help with reading/converting text file
Hello, I'm having a lot of trouble with this program. I need to extract things from lines in file. f...
[2 replies] Last: Please Do not Double Post - (by TarikNeaj)
Pages: 1... 6061626364... 82
  Archived months: [mar2015]

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