[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUDs
. -> [Folder]  General
. . -> [Subject]  Tiny MUD Server - version 2
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Tiny MUD Server - version 2

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Pages: 1  2  3  4  5  6  7 

Posted by Nick Gammon   Australia  (15,394 posts)  [Biography] bio
Date Wed 19 Aug 2009 09:10 PM (UTC)  quote  ]
Message
I found it somewhat hard to get the answer quickly, so I sympathize. :)

I couldn't find it in the manual, even after installing stl-manual.

Eventually a Google for "transform" gave the answer:

http://www.sgi.com/tech/stl/transform.html

Then I hit:


player.cpp: In member function ‘void tPlayer::Load()’:
player.cpp:82: error: ‘numeric_limits’ was not declared in this scope
player.cpp:82: error: expected primary-expression before ‘int’


I had to:


#include <limits>


into a couple of files.

Oh well, this is what happens with old code. The header files used to cross-reference each other, and someone tightened it up.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


29,645 views.

This is page 7, subject is 7 pages long:  [Previous page]  1  2  3  4  5  6  7 

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]