So far I've:
Installed build essentials
Forked a Git repository
Git cloned it
Compiled it - failed: no zlib
Installed zlib
Compiled it - success
Started it - failed: wrong shell scripting language, should be bash
Amended startup - crash course in bash and csh!
Start it - success
Mushclient connect to it as Admin - success
In a room, no exits. What? Perhaps I need to search? Nope
Wheres the friendly admin manual? No, there isn't one.
Search Gammon Forum - loads of commands: goto <vnum>
Just need vnum of areas - found
Goto areas - woo hoo!
Now what?
I know: I'll convert it very, very slowly to C++, because although have dabbled with C I've no experience of C++, so I'll get to learn the language!
Renamed .? to .?pp
Amended Makefile - something else to crash learn, sigh
Compiled it again - success
Start it - success
Mushclient connect to it as Admin - success
Now I want to change standard .h (eg stdio.h) to C++ equivalents (drop the .h affix a c), but for those .h without a C++ equivalent I need to surround it with extern "C" { ... }.
So my question is, are the .h required for telnet already C++ compliant or do I need to wrap them? If they are please let me know what gives it away so that I can check zlib myself without hassling you.
Thank you in advance.
Installed build essentials
Forked a Git repository
Git cloned it
Compiled it - failed: no zlib
Installed zlib
Compiled it - success
Started it - failed: wrong shell scripting language, should be bash
Amended startup - crash course in bash and csh!
Start it - success
Mushclient connect to it as Admin - success
In a room, no exits. What? Perhaps I need to search? Nope
Wheres the friendly admin manual? No, there isn't one.
Search Gammon Forum - loads of commands: goto <vnum>
Just need vnum of areas - found
Goto areas - woo hoo!
Now what?
I know: I'll convert it very, very slowly to C++, because although have dabbled with C I've no experience of C++, so I'll get to learn the language!
Renamed .? to .?pp
Amended Makefile - something else to crash learn, sigh
Compiled it again - success
Start it - success
Mushclient connect to it as Admin - success
Now I want to change standard .h (eg stdio.h) to C++ equivalents (drop the .h affix a c), but for those .h without a C++ equivalent I need to surround it with extern "C" { ... }.
So my question is, are the .h required for telnet already C++ compliant or do I need to wrap them? If they are please let me know what gives it away so that I can check zlib myself without hassling you.
Thank you in advance.