Learning C++/lua - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Off Topic (https://forum.cuberite.org/forum-9.html) +--- Forum: Off Topic Discussion (https://forum.cuberite.org/forum-10.html) +--- Thread: Learning C++/lua (/thread-641.html) |
RE: Learning C++ - FakeTruth - 01-23-2013 You mean in a console application? Try issuing the command "cls" I think in C++ you can do: Code: System("cls"); not sure tho RE: Learning C++ - NiLSPACE - 01-23-2013 i already saw that but many people say it is unsafe RE: Learning C++ - FakeTruth - 01-23-2013 I don't think it's unsafe. The point is that it's only compatible with windows RE: Learning C++ - xoft - 01-23-2013 It's as unsafe as running external programs can be - if someone puts a malicious cls.exe with your app, your app will run that instead of the system cmd. RE: Learning C++ - FakeTruth - 01-24-2013 Ah, that makes sense Didn't think of that, good one RE: Learning C++ - bearbin - 01-25-2013 Hmm, maybe you could try some sort of "curses" like thing for windows. RE: Learning C++ - xoft - 01-25-2013 If you're aiming just for windows support, then find an WinAPI call(s) to clear the console: http://support.microsoft.com/kb/99261 RE: Learning C++/lua - NiLSPACE - 02-11-2013 for anyone who wants to learn Lua, the mod Computercraft (http://www.minecraftforum.net/topic/892282-147-146-computercraft-1481-touchscreen-monitors/) is a realy fun way of trying to learn it. i learned allot from it. Sethblings programming tutorials are also very usefull (episode 1: http://www.youtube.com/watch?v=DSsx4VSe-Uk) RE: Learning C++/lua - NiLSPACE - 10-07-2013 You can compile Lua to standalone executable ;O Thats pretty awesome RE: Learning C++/lua - xoft - 10-07-2013 Actually that's the primary mode of distribution for Lua. It even has a plugins system that way, I believe it is called LuaRocks; you can download and install various packages for quite a lot of functionality - sockets, db access, xml parsing... |