C++ programming design

This is a discussion on C++ programming design within the C++ Programming forums, part of the General Programming Boards category; Hey guys, I was looking into c++ console programming design and I know that pseudocode can be used but are ...

You're talking like pseudocode was some sort of design method. Procedural programming is procedural programming. It's very straight forward. You do this, then you do this, then you do this until this happens, then you do this... etc, etc...

The squares represent functions or actions to perform while diamonds are choices often coded as ifstatements.

A flowchart basically allows you to visually represent the flow of your program before you code it. Saves you alot of time and errors later as you can map out all possibilities with a flowchart then simply convert it to code.

Here is a more lengthy version.. say if you were coding a car simulator for manual transmission:

I should probably get around to using a design method but I never bother. Just finished a puny 8KB (or 210 line) program without bothering to design it first. Virtually everything is in main but oh well.

Back to the subject a bit, I'd probably use a flowchart for showing how the general sections of the program work and then use pseudocode for those sections.

Generally, I use flowcharts while designing the large picture. Then I find the parts that should be fleshed out a bit before coding, where there is easily a loss of efficiency and/or it is just a part that would be hard to code on the fly, and psuedocode them.