Beginners (Page 56)

Building an array from a text file with a function
 
I am very new to C++ programming. I'm attempting to construct an array by inputting values from a te...
[2 replies] Last: Check line 11. Also line 34 is not correct. You can't do that. (by cbsestudent)
Distinguish between strings
 
How can I distinguish between the following strings? |^ + || + || and | ...
[2 replies] Last: #include <iostream> #include <string> #include <regex> int main() { ... (by JLBorges)
Im an idiot bear with me
 
So I am new (as in week one of a class) to c++ and my assignment is to create a console application ...
[1 reply] : > my questions are: how to create the loop and limit it to 10 entries ... (by JLBorges)
Errors with For-loop
 
Hi guys. I am new to C++ and I have trouble finishing this assignment here is the assignment Your...
[6 replies] Last: when you use filestream, remember to close it. Why? Unless your goin... (by jlb)
Deleting nodes from a tree
 
I am trying to delete specific nodes from a tree that end in .net but I get an Error 1 error C2664: ...
[10 replies] Last: I see exactly what the problem was and I rewrote a few lines and added... (by mtbrooks1993)
Display whole numbers if current value >= previous value
 
I need help with this program. I have to read and display whole numbers as long as the last input va...
[2 replies] Last: Thanks for your help. I was able to figure it out and I got the progra... (by steezedq)
Arrays and Functions
 
I'm writing a code for my COSC class and I'm not sure how to fix this error. I haven't defined the p...
[1 reply] : void playGame(int& playersArray , int& numberOfPlayers, int& gameboar... (by fg109)
by bawer1
I need help, (Calculating statistics, Reading from a Text File)
 
Ok, I have worked on this for approximately 5 hours, and I have not received the output I wanted, no...
[3 replies] Last: That makes more sense. Another problem, however, which i should have ... (by fg109)
My if statment isn't working (replacing 'char' using if))
 
It seems that my char replacement only works outside an if statement. But if I do that, I can't use ...
[2 replies] Last: Ah, I feel dumb. That was a really simple mistake that I have overlook... (by WowICantProgram)
Help with Abstact data type
 
I have written the code below to manage a DVD library. and array of 10 DVDs are created, with variab...
[no replies]
How do I copy the codes into my computer to run them?
 
Hello. I just reading about C++. But I now found codes I would love to run. How do I copy and paste ...
[1 reply] : http://www.cplusplus.com/doc/tutorial/ Start with compilers (by JB252)
array size defined by file.
 
Is there a way to define an arrays size using a file? I have a file with 5 names and scores, I don't...
[2 replies] Last: thanks (by MshifterM)
by Lee125
different between push and pop.
 
Can anybody explain why in this tutorial the program for push and pop is same? I didnt know what i...
[4 replies] Last: push puts an element in a vector.. pop removes the last element fr... (by shamieh)
Taylor 4th Order Code
 
I am having a problem with my code not generating the correct number. I think my problem lies in the...
[no replies]
Array problem
 
I don't know how to even start this one. The problem states: Ask the user for 9 values, either...
[7 replies] Last: Refer to my above post @TarikNeaj (by shamieh)
by Dimsky
error in the output
 
can anyone help with this? the error is in the output . the output: http://s300.photobucket.com/u...
[4 replies] Last: thanks for fun2code for your help now the problem is solve ^^ (by Dimsky)
Can't get output to display decimals or last radius
 
I am doing a project in which I must display the volume for a sphere given the radius 0 thru 4 in in...
[no replies]
Confused about CircleClass
 
I'm not so sure what to do here. I just need a little bit of direction as to where I should start. ...
[3 replies] Last: First, in order to call "getVolume" on line 9, the function has to be ... (by keskiverto)
Prime Factors
 
I have an assignment that I just can't figure out: Write a program that displays the prime factors o...
[1 reply] : #include <iostream> using namespace std; int main() { char choice... (by JB252)
by Fink
WHAT IS THE BEST EXPLANATION FOR THIS OUTPUT??
 
"HOW DOES THIS PROGRAM WORK?" AND "WHAT IS THE CONCEPT OF THIS PROGRAM?? @@@@@@@@@@@@@@@@@@@@@@@@@@...
[8 replies] Last: So you have the code for the program, and yet when you ask how the pro... (by Smac89)
Pages: 1... 5455565758... 93
  Archived months: [feb2015]

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