Source code: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>NedBot
m (Bot: Removing from Category:Inner Workings; cosmetic changes)
(Redirected page to XBMC development)
Line 1: Line 1:
===What is Source Code?===
#REDIRECT [[XBMC development]]
 
XBMC's [http://en.wikipedia.org/wiki/Source_code source code] is in C++ (and some Assembly) programming-language, (and a few dependency libraries in the C programming-language), and for the Xbox this source code needs to be compiled (built) with the [[XDK]] before it can be used.
 
* Source Code is the recipe for a computer program.
** Source code is geared towards human-readibility.
** Source code is useless by itself.
** Source code needs to be interpreted and understod (compiled).
 
 
'''[http://en.wikipedia.org/wiki/Source_code Source code]''' is simply the human-readable version of the computer commands that make up a '''[http://en.wikipedia.org/wiki/software software program]'''. It is the letters and symbols that '''[http://en.wikipedia.org/wiki/Software_developer software engineers]''' (a.k.a. developers) type into their computers when they create an software-application or operating-system. For example, if a C++ programmer wrote a program to make his computer display the words, "Hello, World," the source code might look like this:
<cpp>
#include <iostream.h>
void main()
{
cout<<"Hello, World";
}
</cpp>
Although these commands are intelligible to engineers, they are useless to computers, which understand only ones and zeros. So, to make the source code into a functioning program, translation software (called a "compiler") must convert it into the binary "object code" that computers can process.
 
* To compile XBMC to make a Xbox excutable file you need:
** Full installation (not minimum) of "Microsoft Visual Studio .NET 7.1" (2003 version).
** Microsoft Xbox SDK (a.k.a. [[XDK]]) version 5778 or 5849.
 
[[Category:Development]]

Revision as of 20:32, 12 February 2012

Redirect to: