Beginners - October 2016 (Page 39)

Need help with the for loop
 
Hi, so I'm new to coding and I have an assignment where we need to design code for a guessing game i...
[4 replies] Last: bool foo = false; foo; A name of variable alone in a statement, lik... (by keskiverto)
help with creating a loop
 
I'm writing a dice game where each player has chips. The game is over when only one player has chips...
[1 reply] : If you want to make a variable increment up to a certain maximum and t... (by Nico)
Randomization and Vectors
 
Hello, I would like to know how it is possible for me to do the following: 1)Enter at least 5 wo...
[3 replies] Last: I am also having trouble displaying out random shuffle (by CelestialX)
Need help getting started with arrays
 
So I have to write a program that allows the user to populate an array of integers with ten values. ...
[8 replies] Last: Yes, I used the same code... EDIT: Nevermind, I rewrote the code. ... (by iseehealthbars)
Gradebook program
 
I have been asked to write a gradebook program where you ask the user to enter a students first and ...
[6 replies] Last: It is okay! In fact, it is the best way to do this problem. Although... (by Hirokachi)
Returning Data from a Struct Array Back to Main
 
I'm just learning about data structures and how they work. I'm writing a program that has to get a c...
[2 replies] Last: Thank you so much for your help, xismn! I removed the pointers from my... (by raiiiny)
How to stop a for loop from incrementing but not stopping the loop entirely?
 
It's a difficult question to describe but, I want the maximum amount of times my for loop to increme...
[5 replies] Last: Something like this maybe? #include <iostream> #include <string> in... (by xismn)
by Lado
Error while tranposing a dynamic array
 
Hello, so here below is a void function that transposes a dynamic array. It works for some input...
[3 replies] Last: Why didn't it work? If you got error messages post them. (by jlb)
How would you make each line a certain amount of characters?
 
I have to create a text formatter and the first part is that I have to make each line of each string...
[no replies]
acos output does not match correct result
 
Hello everyone! I have a functioning code but am not getting an output that makes sense to me. I'm s...
[4 replies] Last: Radio4, Okay thanks! I'll take a closer look (by bunny16)
Sorting integers from lowest to highest
 
Hello, I have to short the numbers entered in order from lowest to highest. When first did it I jus...
[6 replies] Last: Thank you everyone. Its at these moments that I hate this course. Some... (by needhelpplease)
Making a simple multiplication table with four variables.
 
Hey everyone, I have a question regarding how to create a multiplication table. I'm trying to hav...
[2 replies] Last: The main thing I am having trouble with is how to add that weird ----|... (by mattybraps98)
by TeeWee
recursive cstido help
 
im very new! having problem understand recursive in cstdio i google it but most search give a differ...
[2 replies] Last: Please note: don't forget to mark this topic complete. Thanks, ~Hiro... (by Hirokachi)
Converting into a function help
 
Hello guys! I'm new at programming and have some problems converting this exercise into a function....
[no replies]
Linked List
 
I have to create a linked list, a stack, and a main to print out Hello World backwards. I am running...
[9 replies] Last: ||In instantiation of 'MyStack<T>::MyStack() [with T = char]':| |6|req... (by AndyGator)
Help with GPA Calculator
 
My teacher wants me to write a program without using arrays. it has to include functions and read % ...
[1 reply] : You have been given a lovely pseudo-code, whats the problem now? Try t... (by shadder)
Output question
 
...
[1 reply] : How about you compile it and see for yourself? (by shadder)
beginner 2d vector errors
 
I have a 2d vector storing a grid. I want to edit the grid based on coordinates which are stored in ...
[3 replies] Last: There is nothing in your code snippets to tell us what a Grid is, so... (by cire)
Output?
 
What is the output of the following code? int num = 17; //Line 1 ...
[no replies]
C++ check if array contains all array values from another array
 
I want to make a program that will check if an array contains all the array values from another arra...
[6 replies] Last: #include <iostream> using namespace std; int main() { int p = 5;... (by theturk1234)
October 2016 Pages: 1... 3738394041... 51
  Archived months: [sep2016] [nov2016]

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