Beginners (Page 56)

Problem with string class
 
Hello everyone. I've been trying to create my own string class, but I've encountered some problems w...
[5 replies] Last: @fun2code Thanks, this is really useful. And yes, initially I wanted ... (by jgg2002)
by olaf94
First "large" project
 
So i'm learning C++ for about 4 months now and school had me wite my first project. Now it does wha...
[2 replies] Last: Can't make too many comments without seeing more code, for example: I... (by tipaye)
Blank Compilation (Strictly Increasing Array)
 
Hello everyone, I am trying to test a boolean function that is supposed to return "true" if the ...
[3 replies] Last: Thank you tipaye! That was very helpful! (by Pegasus1)
Reading Code Mathematically?
 
Is there some sort of efficient mathematical way by which someone can know what the following will p...
[4 replies] Last: Thank you very much! That makes sense. So the way I should approach su... (by Pegasus1)
How to use FLTK with g++?
 
I mean how to compile FLTK, combine with g++ and compile the program
[no replies]
2d Array in function?
 
I've only been coding for a week in a half now. I recently decided the best way to learn would be to...
[2 replies] Last: If you want to pass it in as a parameter with it being just a characte... (by Kurisutofaa)
Final Project with Arrays
 
Hi, everyone! I have a final project in my computer science class. It's a simulated game in which yo...
[2 replies] Last: You can save them in a string or vector. (by Thomas1965)
Trying to display a 2D array of 4 rows with 10 columns?
 
My function is supposed to display 4 rows and 10 columns under the words "Lab# Computer". It dis...
[1 reply] : Where do you initialize 'rows' and 'cols'? (by Arslan7041)
Question for final...
 
I have a question before my final and I'm super confused because the correct answer is +1 can y'all ...
[1 reply] : true || true == true true || false == true false || false == false... (by ephraimr)
Loops
 
I'm in a beginner C++ class and need some help with an assignment. The program needs to accept an...
[2 replies] Last: I thought I had done that but I gave it another try and it worked. Tha... (by cdubbs85)
Functinos C++
 
While calling for function "strategy" on the main function it will execute how it should, but once I...
[1 reply] : You can't return two variables. You'll need to pass player1_strat and ... (by Arslan7041)
by Briez
Arrays -> Strings with spaces
 
First off I am a beginner and I am teaching myself C++. I am using a hotel as my bases and implemen...
[2 replies] Last: Thanks for the enlightenment JLBorges! Simple mistake. In array declar... (by Briez)
***Newbie*** Need help with strings
 
Please help me with the following code. I need to return both first and last name respectively usin...
[3 replies] Last: Thank you so much FurryGuy. I really appreciate your help. (by jokeriswild)
File i/o not working correctly?
 
I'm having a lot of issues getting the data from my input file, which is opened in main, to give the...
[2 replies] Last: Thanks, I think that did it! It was part of a loop, so I had to figure... (by hazmatastic)
by spun12
Euclidean GCD of multiple values
 
Hi everyone, I'm currently having trouble developing an algorithm to find the GCD of multiple valu...
[1 reply] : gcd(a,b,c) = gcd(a,gcd(b,c)) Use recursion :) (by ephraimr)
Hanoi Tower puzzle with vectors
 
Hello, I am trying to implement a Hanoi Tower puzzle with vectors in C++. I specifically have to us...
[6 replies] Last: @MrArtichoke Very nice, and a lot shorter than what I was coming up w... (by whitenite1)
cannot convert argument 1 to something error
 
done
[no replies]
Really need advice as to why this isnt working
 
This is the file setup that contains fake student information: 918273645,Steve,Albright,ITCS2530,MA...
[no replies]
BinaryFiles and infinite loops
 
So, if I just input spaceless data into the 'edit' string it works fine. As soon as I input a senten...
[7 replies] Last: Then don't enter any spaces when using the extraction operator since i... (by jlb)
Sorting and Swapping with Pointers
 
These are just the reference instructions for this project(question is after subscript) : Create ...
[3 replies] Last: Have continued to try and clean up this problem. still not sure why i... (by Imhotep)
Pages: 1... 5455565758
  Archived months: [apr2016]

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