Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Development & Programming > Programming Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Programming Talk
This forum is for all programming questions.
The questions do not have to be directly related to Ubuntu and any programming language is allowed.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old October 5th, 2006   #1
thenetduck
Dipped in Ubuntu
 
thenetduck's Avatar
 
Join Date: Sep 2006
Beans: 522
I get an "itoa was not declared in the scope"

hey
I am trying to convert an int to a string. I'm trying to use the itoa() fucntion but its not working. it gives me the error in the title. Does anyone know what causese this?
Thanks,
The Net Duck

btw its in c++

Code:
string convertToRoman (int number)
{
   // Initialized
   string sNumber;
   itoa(number, sNumber, 10);
thenetduck is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:30 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry