Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 9th, 2004, 05:23 AM
Registered User
 
Join Date: Mar 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default is there any get_int() func???

Hello to everyone,
i just want to ask you something.
Is there any function called get_int() in C lang?
That func i suppose, reads and returns an integer value.

Thank U!

Reply With Quote
  #2 (permalink)  
Old March 9th, 2004, 04:33 PM
Authorized User
 
Join Date: Feb 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you mean like parseInt? Take a string value and parse to an integer?

Simon
Reply With Quote
  #3 (permalink)  
Old March 10th, 2004, 12:13 PM
Registered User
 
Join Date: Mar 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes, something like that. Thanx any way!

Reply With Quote
  #4 (permalink)  
Old March 12th, 2004, 03:58 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

atoi(). It means "ascii to integer".

Take care,

Nik
http://www.bigaction.org/
Reply With Quote
  #5 (permalink)  
Old March 13th, 2004, 02:31 PM
Registered User
 
Join Date: Mar 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That's it Nikolai!
I used it, and i managed the source code to work. Thanx!

Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
help - EXSLT func cannot set more than one result! anboss XSLT 1 October 28th, 2008 02:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.