Dolphin, the GameCube and Wii emulator - Forums

Full Version: The Crossroads of Destiny
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
That's not recursive at all.

This would be recursive (clearly I must have no life):
Code:
void main ()
{
     bool dontUnderstandSomething = false;
     int freeTime = ????;
     int timeTaken = 0;
     Subject subjectIDontUnderstand;

     //time variable, keep track of current time, keep updating it in a loop
     //if time = 8 A.M. set freeTime and call NewDay()
}

void NewDay ()
{
     ReadArticlesOnTopic(NewInterestingTopic());
}

void ReadArticlesOnTopic ()
{
     ReadLine();
     dontUnderstandSomething = ReadLine.Understand;
     timeTaken = ReadLine.Time;

     freeTime -= timeTaken;

     if (freeTime <= 0)
     {
    
     }
     else if (dontUnderstandSomething == true)
     {
          subjectIDontUnderstand = ReadLine.Subject;

          ReadArticlesOnThat(subjectIDontUnderstand);
     }
     else
     {
          ReadArticlesOnTopic(NewInterestingTopic());
     }
}

Subject NewInterestingTopic ()
{
     //generate a new random interesting topic
     //check if topic is in index, jump back to line 1 if it has, else continue
     //store topic in index
     //return topic
}
(05-22-2012, 08:41 AM)NaturalViolence Wrote: [ -> ]That's not recursive at all.

This would be recursive (clearly I must have no life):
Code:
void main ()
{
     bool dontUnderstandSomething = false;
     int freeTime = ????;
     int timeTaken = 0;
     Subject subjectIDontUnderstand;

     //time variable, keep track of current time, keep updating it in a loop
     //if time = 8 A.M. set freeTime and call NewDay()
}

void NewDay ()
{
     ReadArticlesOnTopic(NewInterestingTopic());
}

void ReadArticlesOnTopic ()
{
     ReadLine();
     dontUnderstandSomething = ReadLine.Understand;
     timeTaken = ReadLine.Time;

     freeTime -= timeTaken;

     if (freeTime <= 0)
     {
    
     }
     else if (dontUnderstandSomething == true)
     {
          subjectIDontUnderstand = ReadLine.Subject;

          ReadArticlesOnThat(subjectIDontUnderstand);
     }
     else
     {
          ReadArticlesOnTopic(NewInterestingTopic());
     }
}

Subject NewInterestingTopic ()
{
     //generate a new random interesting topic
     //check if topic is in index, jump back to line 1 if it has, else continue
     //store topic in index
     //return topic
}

Yeah, I wasn't sure what you meant exactly.
@Zee530

Both wikipedia and wikibooks have plenty of good pages for you to use.
http://en.wikibooks.org/wiki/Microprocessor_Design
http://en.wikipedia.org/wiki/Microprocessor_design
http://en.wikipedia.org/wiki/History_of_general_purpose_CPUs#1990_to_today:_looking_forward

Look up those topics on google scholar or follow the references at the bottom of the pages. That should get you going if you decide on this subject. The wikibook pages aren't very good so I wouldn't even bother reading them.
@Zee in the end what have you been planning to do? Like job I mean
Job, eh? well not sure at the moment but right now even in school i do simple computer repair and maintenance for friends and strangers so, i dont know, something along the lines of an A+ technician. CCNA is something i also want to look at on future but right now, i'm yet to decide, still waiting for a sign.... Smile

Thanks for the references NV i'll look into them
You might be interested in this (stumbled upon it by accident and it made me think of this thread): http://www.agner.org/optimize/microarchitecture.pdf
Read the contents, very nice, thanks again. It seems to be book 3 in a series of 5, i'll also look for the other 4
*facepalm*

Look at the url: http://www.agner.org/optimize/microarchitecture.pdf
Now take off the end to navigate to the directory above it: http://www.agner.org/optimize
Now take a look around, there it is: http://www.agner.org/optimize/#manuals
Oh, my bad
I managed to convince my supervisor to allow me to go back to my initial processor architecture project Smile but he said under one condition, i write a convincing proposal.

A proposal is supposed to contain:
1. Aims and objectives
2. Introduction
3. Scope of the Study
4. Significance
5. Research Methodology
6. System Model/ Program

Now, i can come up with something for 1-5 but for 6 i'm having problems deciding what to design there. The only idea i have right now is to design a program similar to cpu-z that can read the current frequency that the processor is running at, as well as bus speed and multiplier but i wanna know if anybody has any better ideas than this, something to make the guy say 'WOW, he may look like an idiot but he knows what he's doing'.

Remember anyone who helps me with anything during the course of my thesis will have their username included in my acknowledgements Tongue
Pages: 1 2 3 4 5 6