newbie question, convert gchar to int?



 Hello, I am trying to convert a string which the user
entered in the text entry box into a type int, I tried
to use atoi but when I print it out, it didn't give me
the integer instead it gave me the address of that
string. Any suggestions? thanks in advance.

=====
"The bigger they are, the harder they fall"~Yang
  infamous_godhand yahoo com

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]