Cuberite Forum

Full Version: Learning C++/lua
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
lol i managed to get my configuration program into MC-Server. it works perfect exept that it crashes when the configuration if done.
It says "failed to start server" right after finishing your configurator, so I'd expect that you either wrote something bad into the settings files, or you forgot to close the files before finishing the configurator, and MCServer thus can't open the files.
Still, I don't understand why you would want the configurator inside MCServer. So it runs everytime you run the server??
Nice keep going, I see you're learning pretty fast Smile
(12-12-2012, 07:39 PM)xoft Wrote: [ -> ]It says "failed to start server" right after finishing your configurator, so I'd expect that you either wrote something bad into the settings files, or you forgot to close the files before finishing the configurator, and MCServer thus can't open the files.
Still, I don't understand why you would want the configurator inside MCServer. So it runs everytime you run the server??

Its just to practise. Smile
I made a small console calculator Smile i also finaly know how to include my own library in a project. i kept doing
 #include <Calculateplus.h>
but it had to be
#include "Calculateplus.h"
Quote:............................................________
....................................,.-‘”...................``~.,
.............................,.-”...................................“-.,
.........................,/...............................................”:,
.....................,?......................................................\,
.................../...........................................................,}
................./......................................................,:`^`..}
.............../...................................................,:”........./
..............?.....__.........................................:`.........../
............./__.(.....“~-,_..............................,:`........../
.........../(_....”~,_........“~,_....................,:`........_/
..........{.._$;_......”=,_.......“-,_.......,.-~-,},.~”;/....}
...........((.....*~_.......”=-._......“;,,./`..../”............../
...,,,___.\`~,......“~.,....................`.....}............../
............(....`=-,,.......`........................(......;_,,-”
............/.`~,......`-...............................\....../\
.............\`~.*-,.....................................|,./.....\,__
,,_..........}.>-._\...................................|..............`=~-,
.....`=~-,_\_......`\,.................................\
...................`=~-,,.\,...............................\
................................`:,,...........................`\..............__
.....................................`=-,...................,%`>--==``
........................................_\..........._,-%.......`\
...................................,<`.._|_,-&``................`\
it doesn't compile in Visual C++ Sad
What's the error? Why don't you put the code on github or something.
#include "Calculateplus.h"
Is using the relative path to the file from the file you included it.

 #include <Calculateplus.h>
Is using the additional "include folders" to locate the file
is there a easy way to clear the screen with Microsoft visual? becouse i tried something in dev c++ but then i tried it in Microsoft visual c++ but then i got an error.
Pages: 1 2 3 4