Well, if you know any programming language learning a new one isnt that hard. Start with C++ if you must, but it weould be better to start with C (i bet they start with C if its a basic class)
XML isn't actually a programming language, it's "markup" in that you just put tags around data to say what it is.
C++ is a programming language. You're writing commands to tell the computer what you want it to do, in terms the computer understands. Here's a very simple example:
int x = 2;
int y = 5;
int z = x + y;
printf("2 + 5 is %d", z);
That will print out "2 + 5 is 7". Obviously programs of any real complexity get MUCH bigger and more complicated, and C++ is not one of the easiest languages out there to learn. But that's part of what makes it a good course to take. If you know it, you can learn almost anything else.
LUA is replacing Python in ciV. New 'employee', same job.Did Firaxis give up on Python?
If I recall correctly, that's what Fall from Heaven had to do. Still, I could be wrong, but it wasn't something you could do in XML, and that means you had to do it in either python or the SDK. And pretty much, anything you can do in python you can do in the SDK.So is it possible to change to game code to add in elements of strength - defense - and firepower in combat? Will that be modding in C++?
Yeah, usually, you have to be actively malicious to crash the whole system with a modified Civ - most modern operating systems are also pretty good at handling access violations. Most of the time, though, errors will rather prevent the code from compiling in the first place... (though these are massively easier to fix than runtime errors).Well, you won't be feeding the graphics card anything, because that will almost certainly be handled in the exe. The worst you can do editing the SDK is crash civ. All the dangerous stuff is in the exe and won't be moddable.
Been there, done that... in hindsight, starting out with C++, while leaving the OO stuff out for the start is - as far as I can tell - better. Because "new" and "delete" are so, so much better than bothering with "malloc"...If you want to learn to code, start with C.
If you want to learn to code, start with C.
You'd better learn C++ before modifying C++ code, though. Because if you mess with java, lua, python, you'll get an exception, but if you call a C/C++ function that's outputting stuff directly to the graphics card and you feed it invalid data, you may end up with a blue screen of death. So better learn first. Forgetting a [] after a delete can have dire consequences.
WAIT! Are you saying that I could mess up my computer if I make a mistake in c++?