This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Useful pieces of code needed

I've recently started learning how to program for my PhD and they say I'm very talented. So far I have written an equation program using simple components like 'if-else' and 'switch' functions.

I want to become better at programming, but the tutorials I have looked at don't give ways to use specific code pieces within programs.

For example, I would like to know how to set a switch other than to perform different functions. i.e "Choose from the options" and then set , and keys for each option. I presume this can be achieved using loops, something I don't fully understand yet.

Any other useful code that is often used in programming would also be appreciated.

Thank You

Parents Reply Children
  • "loops ... I don't fully understand yet"

    That is very much the "baby steps" stage!

  • "loops ... I don't fully understand yet"

    That is very much the "baby steps" stage!

    argh, come on. do you really believe that a PhD student will accept that he need to take baby steps.

    Unfortunately we see more and more posts from people that supposedly obtain diplomas that are about as (valuable as one found in a box of cereal. I pitty the employers that hire such based on their "paperwork" it will cost them a days pay to find out.

    Erik

  • they say I'm very talented

    send a drawing of a stick man to a for profit artists school and I guarantee "they say you're very talented"

    for all I know PhD is considered post-graduate study everywhere. If you have graduated by no more than having written an equation program using simple components like 'if-else' and 'switch' functions. I wonder what kind of facility you are attending.

    Erik