Beginners (Page 96)

Need Help understand a few lines from an array code
Hi, i needed help understanding the following code. I needed help understanding the bolded line. Sho...
[no replies]
by rosm
I am writing a code for my class that: Your program should be able to read from a file the above ...
[1 reply] : I've tried everything I can think of. Please help. 80-90 are the lin... (by rosm)
Code not outputting error
[6 replies] Last: My checkBoard is a function which checks if the array board will have ... (by helloworld135)
by Andym
array of classes
I do not really understand how to implement an array of a class. I have been looking all over and I...
[1 reply] : is the array inside of the class or is the class inside of the array?... (by jlb)
How to get min. and max from a txt file?
I'm writing a program that gets the minimum, maximum, and average from a txt file. The issue is I'm ...
[3 replies] Last: How would you get the highest and lowest if you were working with a se... (by jlb)
by ct123
Need help asap
For my lab, I have to create a menu with options (which I did), but after, the program has to prompt...
[3 replies] Last: Well the degree symbol was killing your program. I suggest you forget ... (by kemort)
Really need help! Getting an error....and a weird output.
I have a completed code below. I'm getting a weird output for my program and then it errors out with...
[9 replies] Last: Don't rely on intellinonsense errors compile your code and report the ... (by jlb)
Please someone help me out with this one.compiler is asking for a primary expression before int.i am using DEV-C++ version 5.11
int main () { int audience ; int i,N; int index1=0,index2=0; int comp_result; ...
[5 replies] Last: It looks like that fixed it. They are always something simple. Will th... (by kemort)
What does this line of code mean?
In this phrase : " virtual Item* add(Item *item) = 0; " What does it mean to put Item* before the f...
[5 replies] Last: Thanks! (by Lesterberne)
Approximating Pi with Loops help??
For my assignment, I need to do this: The value of π can be determined by the series equation: ...
[9 replies] Last: Ok, you have to start somewhere, so that's ok. Check my code and corre... (by kbw)
by Andym
Why isnt this menu allowing me to make another selection?
It has been a while since I have worked with menu's and I know that I had this sort of thing working...
[2 replies] Last: Thanks! As usual, its the little things that I miss. Thanks for your... (by Andym)
Problem with 2d array manipulation
I'm having trouble with array manipulation in a problem for a class. I am trying to pull a 2-d arra...
[1 reply] : It took a while but I found my own error. If anyone was interested, on... (by carvin160)
SCENARIO: ABC bank gives rewards to its customers for shopping online. Create a program that accepts...
[2 replies] Last: #include <iostream> #include <string> using namespace std; int main (... (by enahso12)
Generic Game Functions?
I'm working on a bunch of random functions that I figure will be useful for console games. I was wo...
[4 replies] Last: Thanks, I'll change that in my code. (by HellfireXP)
help me with code PLZ
I dont know why am getting mistakes? #include <iostream> //1 #include <cmath> //2 #incl...
[1 reply] : What is the code supposed to do, and what are the mistakes that are oc... (by FurryGuy)
How to add condition to write something for a "cout" ?
I need some help for my program which I wanna send to my friends. I need to put a condition to write...
[12 replies] Last: I don't understand what you mean completely but there is a function i... (by Winsu)
Read 2 file in command line.
I'm wondering how can I make the following command works in any code. Can anyone give me an example....
[5 replies] Last: Oooooohh that is what you meant ^^ Sry for not rly being a help :P (by MokkaTech)
Lap timer help 😭😭
I have a project. The problem is make a timer. When the user hit enter key, the program will display...
[1 reply] : Please don't make multiple posts. (by kemort)
by Enot02
Reverse string array
Don't know how to realize a function or a code which reverse string array. Reversing string array is...
[11 replies] Last: > I inputed "10 9 8 7 6 5 4 3 2 1 0", and output will be:"0 1 2 3 4 5 ... (by JLBorges)
this is a question for function parameters.
// pointers as arguments: #include <iostream> using namespace std; void increment_all (int* start,...
[2 replies] Last: Thank you for your kind lesson, AbastractionAnon ! for code and posti... (by kevinkim)
Pages: 1... 9495969798... 102
  Archived months: [sep2015]

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