pseudocode....

Discussion in 'Programming' started by RSspike, Dec 4, 2008.

  1. RSspike

    RSspike New Member

    Joined:
    Dec 4, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Hi all,
    hope i get some useful tips. completely new to programming. starting with c++. also is it normal practice to study pseudocode to be able to write in a programming language. hope there are some useful forums you can direct me to.

    regards to all...
    RSspkie:undecided
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    I don't know of a pseudocode specific forum. Pseudocode isn't really something you study; it's a half way house between an English description of the code and actual code, intended to get the flow of the code reasonably well sorted in your head without being hindered and distracted by syntax and other trivia. The format of pseudocode is fairly flexible, so the pseudocode to reverse array elements using a stack might run along the lines of:

    Code:
    for each entry in the array (0..end)
      push it onto the stack
    for each entry in the array (0..end)
      pop it off the stack
    
    There may be some more formal definitions of pseudocode out there but in general it's fairly informal. The whole point of pseudocode is to avoid all the nitty gritty stuff of a formal language; if you're going to have a detailed pseudocode language then you may as well just write the code directly, or you'll need an intermediate (pseudo-pseudocode, perhaps), to get the flow of the pseudocode sorted in your head first, but that's really missing the point.
     
  3. RSspike

    RSspike New Member

    Joined:
    Dec 4, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    thank you...
    i am using borland turbo c++ ver 4.5 to learn the art of programming
    The IDE integrated development environment is 16-bit Windows applications, is this too old
    or is it still relevent. sorry to be so vague i stopped learning back in 1983, every thing was in dos, does the industry still fiddle with assembler and machine code. processors architecture have they changed?
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Moved to programming forum
     
  5. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Yeah it's well old, unless you're stuck with an ancient 16-bit version of Windows I'd suggest you let this old software rest in peace. What version of Windows are you using? (The compiler you pick will be dependent on this; it's impossible to recommend a compiler without knowing what OS you're using)

    Assembler is still relevant to the industry; processors have changed although some remain backward compatible. What processor(s) are you using?
     
  6. RSspike

    RSspike New Member

    Joined:
    Dec 4, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    ho well, looks like i'll 'ave to dig deep into my pocket for new software.
    at the moment i'm runnin' on ms windows xp ver 2002 with service pk 3
    processor is mobile amd sempron, 3000+

    please advise....

    thanks for your time xpi0t0s
     
  7. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    You don't need to spend a lot, the Microsoft Visual Studio compilers and tools can be downloaded for free; it's only the IDE you have to pay for. Or there's the Eclipse IDE which you can use with the Gnu compiler collection or other compilers if you like IDEs. A common port to Windows of gcc is MinGW. There's lots of choice before you have to break open your wallet.

    Of course, if you WANT to spend cash then go right ahead... :) I can recommend Visual Studio, it's very good. Borland used to be good but they're like HP now, more about management and getting shoddy products out of the door than about engineering and quality. If you want really good and don't mind spending then go for Visual Studio.
     
  8. RSspike

    RSspike New Member

    Joined:
    Dec 4, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    thanks for the update on borland.
    i'll look into ms visual studio right away.
    once again thank you........
    expect a few more silly questions from me.... :embarasse
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice