15,908,444 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 john_th (Top 4 by date)
john_th
25-Jul-13 10:02am
View
Great answer Aescleal!My 5!
john_th
17-Mar-13 7:26am
View
You are also wright about the '+' sign and I implemented it this way because my idea while coding this was that only you would want to change a float to char* so you knew that you would never have anything else in there except digits,a dot(or not)and maybe a '-' at the first position.And you would knew because of the way you would have implemented the char* to float function.Otherwise,why would you want to input as char* a float from the user?Input it as float and then convert it «safely» to char*.You would have converted the float to char without a '+'.Or that is what I thought.If for example you where «reading» numbers from a numerical equation,then you would have treat the '+' as addition.That was what I thinked of, but you are wright.I will also change that.After that I cannot think of anything else to expect for inputstr[].
john_th
17-Mar-13 7:10am
View
Ohh :-S Yes you're wright.I meant '-'.I changed it.Thank you.
john_th
15-Mar-13 20:45pm
View
Great work CPallini!I think really short code for such task!Working perfect.
Also +5.