Source code: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Gamester17
No edit summary
 
>Dankula
Line 10: Line 10:


'''[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:
'''[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>
  #include <iostream.h>
  void main()
  void main()
Line 16: Line 16:
  cout<<"Hello, World";
  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.  
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.  



Revision as of 16:28, 24 July 2006

What is Source Code?

XBMC's source code is in C/C++, Assembly & DirectX programming-language, and this source code needs to be compiled/built with then 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).


Source code is simply the human-readable version of the computer commands that make up a software program. It is the letters and symbols that 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.