15,881,709 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Andrew Phillips (Top 6 by date)
Andrew Phillips
28-Feb-11 9:24am
View
I'm a bit confused as to whether you are getting file not found problem when you build or when you run the program. Ini files are normally used at run-time but you appear to have added it to your project for some reason. I am also not sure why you mention the include directories path.
Assuming the problem occurs at when running your program it is probably that rpmtrhclient cannot find it. If this is a DLL it may be being picked up from a different location than you expect. Windows now searches for DLLs in some standard locations (such as the Windows System32 directory) before looking in the current directory and .EXE directory. (This was chnaged to plug some security holes.)
Andrew Phillips
7-Nov-10 21:22pm
View
Deleted
Reason for my vote of 1
Many problems: unnecessailly complicated, sqrt() domain error, divide by zero, non-English variable names
Andrew Phillips
7-Nov-10 21:19pm
View
Deleted
Reason for my vote of 2
Inefficient and does not handle divide by zero.
Andrew Phillips
7-Nov-10 21:16pm
View
Deleted
Reason for my vote of 1
Many problems esp. that ^ is not power operator.
Andrew Phillips
7-Nov-10 21:14pm
View
Deleted
This is better than the others as you avoid the domain error in sqrt(). A couple of things:
- pow(b, 2) is better written as b*b
- it's probably better not to evaluate sqrt(d) twice
- the original returned two floats, you should return an error instead of complex numbers
Andrew Phillips
7-Nov-10 21:01pm
View
Deleted
Reason for my vote of 1
A major problem is it doesn't prevent sqrt() domain error.
Show More