Beginners - October 2013 (Page 44)

lvalue problem
 
Hi guys, I'm getting the error: 30:80: error: lvalue required as left operand of assignment ...
[1 reply] : IMHO you are assigning 3 times in line 30 where comparing is expected.... (by cppbegin)
Binary SHift
 
I'm trying to figure out the left binary shift operator (line 40), but what I understand is when I s...
[7 replies] Last: yes (by giblit)
by giblit
Is this how the STL containers look?
 
Is this how the STL containers look? #include <iostream> template <class T> class Container ...
[19 replies] Last: Thanks for the explanation on operator delete I see now. Also it sound... (by giblit)
Singly Linked Lists
 
Alrite, where can I find examples, you know practice questions of Linked Lists on the web T...
[no replies]
by Lynst
Decimal multiplication with variables
 
So for some very odd reason, if I want to make a variable that holds (.03*100) it equals 2, which is...
[1 reply] : You've encountered one of the problems of dealing with floating-point ... (by Chervil)
Need help with Code
 
Hi, I'm writing a program that will test integer values to find out its factors and whether it is pr...
[9 replies] Last: Thanks so much for you help. It is compiling but my output is not what... (by JWonder83)
by f19l
C++ Quantitative Finance Courses
 
Hello, I currently work in finance and do a fair amount of programming in Visual Basic. I would l...
[no replies]
CodeBlock Build failed,from where I can change the build dependency??
 
I want to build the default "Win32 GUI" code via codeblock. I am getting the build error that Builde...
[no replies]
Save and Load data not working properly
 
Hi, I've done this before but I can't seem to make it work now. I think it's because my load functio...
[11 replies] Last: That's where I initialized them, at the struct. I don't get it. I'll p... (by colinjames12)
counting hyphens/dashes
 
I am trying to create a code where you input a social security number (with dashes) and it tells you...
[1 reply] : Ask yourself: What is the return value of the checkDashes()? (by keskiverto)
string.substr call leads to hung program
 
Hello! I have a code which takes an original string and and then breaks that string into chunks b...
[10 replies] Last: Glad you got it updated. One point, in C++ the proper include should... (by Chervil)
static_cast
 
Question: When I run it, it put green line and it say lldb. (By way I am using xcode) Here is par...
[no replies]
Help with random numbers.
 
So I am currently taking a computer science 1 course and I am having some problems with an assignmen...
[2 replies] Last: Wow, thanks. So easy... My Professor would have had us do some time of... (by EvanWeaksauce)
Using void to send an error message
 
So for a project I am needed to use a void function for when the file is asked for the user inputs t...
[1 reply] : Well I fixed all but one error so far with moving one of the brackets ... (by sparky1337)
Help with "for" loop
 
Hello, I am a beginner in C++ and I was looking at a problem involving a "for" loop. I do not und...
[2 replies] Last: The way I do it is i starts 1, than gets brought up to 2 since 2 is s... (by cire)
Only accept positive integers
 
I need this to only accept positive integers. so if I enter a negative or something with a decimal i...
[8 replies] Last: I didn't consider a file stream and cin was used in the example. I als... (by admkrk)
Good SDL or SFML tutorial
 
can anyone tell me where i can find a good SDL 2.0 or SFML tutorials? would really appreciate it tha...
[2 replies] Last: Thanks ;) didn't know about lazyfoo.com (by LeonSken)
Help with for loop.
 
I need to write a program using a for loop that displays a 2% increase over a period of five years. ...
[2 replies] Last: You run the loop 5 times, but you perform the same calculation every t... (by booradley60)
Homework help
 
Can someone tell me what is wrong with my code? The instructions are included in the comments. What ...
[5 replies] Last: Shouldn't you do endAmt = startingAmt + increase instead of just en... (by Annatar)
October 2013 Pages: 1... 4243444546... 86
  Archived months: [sep2013] [nov2013]

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