data: renamed 'main' function in tutorial to 'start_tour' due to multiple main fix
This commit is contained in:
@@ -20,18 +20,16 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
//
|
||||
// WHAT IS THIS?
|
||||
// Now the Code View finally shows some real code of the tutorial project.
|
||||
// And who could think of a better place to start a tutorial that involves
|
||||
// code than a main function?
|
||||
// WHAT IS THIS?
|
||||
// Now the Code View finally shows some real code of the tutorial project.
|
||||
//
|
||||
// WHAT CAN I DO NOW?
|
||||
// Left-click the "my_first_step()" function call inside the main function.
|
||||
// Lets see what happens.
|
||||
// Left-click the "my_first_step()" function call inside the start_tour
|
||||
// function. Let's see what happens.
|
||||
//
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
int main()
|
||||
int start_tour()
|
||||
{
|
||||
my_first_step();
|
||||
return 0;
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
\tcontains a few hundred lines of code as you can see by the numbers below.\n
|
||||
\n
|
||||
LET'S GET STARTED!\n
|
||||
\tTo keep things simple just click the "main" symbol below to start the tour.\n
|
||||
\tTo keep things simple just click the "start_tour" symbol below to start the tour.\n
|
||||
\n
|
||||
\n
|
||||
[::\tmmain\tsint\tp()](); // <- start here\n
|
||||
[::\tmstart_tour\tsint\tp()](); // <- start here\n
|
||||
\n
|
||||
</description>
|
||||
<source_groups>
|
||||
|
||||
Reference in New Issue
Block a user