FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fundamentals: Quadratic Equation (get input..) compile error

 
Post new topic   Reply to topic     Forum Index -> Tutorials
View previous topic :: View next topic  
Author Message
otto9otto



Joined: 02 Jan 2007
Posts: 2

PostPosted: Sat Jan 06, 2007 12:37 am    Post subject: Fundamentals: Quadratic Equation (get input..) compile error Reply with quote

Quadratic Equation (getting input and doing calculations) will not compile until the semicolons inside parentheses in the scanf statements are deleted.
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Sun Jan 07, 2007 12:18 am    Post subject: Re: Fundamentals: Quadratic Equation (get input..) compile e Reply with quote

otto9otto wrote:
Quadratic Equation (getting input and doing calculations) will not compile until the semicolons inside parentheses in the scanf statements are deleted.
Thanks for alerting me to this problem. I fixed QuadraticEquationExample. The problem seems to arise from having an ampersand next to a letter. If I add a space the semi-colon is suppressed. I think that Brad is going to throw out the current D highlighter soon anyway since the official Scintilla syntax highlighter now supports D.

By the way, as long as you're logged into the dsource forums with a username, you should be able to edit the examples if you happen to see an example that needs fixing.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Tutorials All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group