Jump to content

pesudocode

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
hbk

hbk

    Learning Programmer

  • Members
  • PipPipPip
  • 71 posts
how do i write file keywords in pseudocode

#2
Sysop_fb

Sysop_fb

    Programmer

  • Members
  • PipPipPipPip
  • 160 posts
Psuedocode is a made up language that you write in whatever language you desire that lets you see how the logical flow of your program will go, it has whatever mnemonics or keywords that you want it to have.
"The best optimizer is between your ears" - Michael Abrash
Saying you can optimize a program is like saying you understand how a program works on every level of every facet on a specific machines configuration.

#3
Osnarf

Osnarf

    Learning Programmer

  • Members
  • PipPipPip
  • 31 posts
Exactly.

for instance,

int i;
for(i = min; i < max; i++)
{
      printf(%d\t, array[i]);
}

would be represented in pseudocode as:

print all values in an array, from index [min] to index [max], separated by tabs.

So you represent things in whatever way is the easiest for you personally to understand. Everyone has their own style of pseudocode. the same above could be written as

printf array[min]...array[max]

if that's how you prefer to see it.