Difference between revisions of "C Code to Flowchart Conversion"

From Flowcode Help
Jump to navigationJump to search
Line 1: Line 1:
 +
Unlike previous versions, Flowcode 8 can convert C code icons to standard flowchart icons. This feature is similar to the [[C_Code_Simulation]] feature, and shares many of the same abilities and characteristics. Note, in order to use this feature you will need to have purchased the C Simulation feature pack.
 +
 +
If you are someone who prefers to type out your programs using C code while developing, but enjoys the benefits of a graphical representation, you can use this feature to turn the final result into a flowchart. This feature can also be great for understanding the effect that custom C code can have within your project, as such it is also invaluable as a teaching tool, allowing you to teach students the effects that certain C language statements have on a program.
 +
  
 
==How to convert C code to Flowchart icons==
 
==How to convert C code to Flowchart icons==

Revision as of 15:49, 31 May 2018

Unlike previous versions, Flowcode 8 can convert C code icons to standard flowchart icons. This feature is similar to the C_Code_Simulation feature, and shares many of the same abilities and characteristics. Note, in order to use this feature you will need to have purchased the C Simulation feature pack.

If you are someone who prefers to type out your programs using C code while developing, but enjoys the benefits of a graphical representation, you can use this feature to turn the final result into a flowchart. This feature can also be great for understanding the effect that custom C code can have within your project, as such it is also invaluable as a teaching tool, allowing you to teach students the effects that certain C language statements have on a program.


How to convert C code to Flowchart icons

Flowcode can convert C Code inside of C Code icons into Flowchart icons by using the Convert Custom C to Icons, right click menu item.

CConvert.jpg

Multiple C Code icons can be converted at once by dragging the mouse or by holding control and left clicking on icons to select multiple icons.

Any warnings or user messages will be displayed in the Conversion messages window that appears when converting C Code into Flowchart icons.


Example

Here is an example program that counts up and down in binary using Port A and a Combo Board component to show the LED signals.

FC6 Icon.png C Simulation Example


Here is the file before conversion to Flowchart icons.

CSim.jpg


Here is the same file after converting the C Code into Flowchart icons.

CSim2.jpg


The C Code to Flowchare icon feature is similar to the C Simulation feature that allows custom C Code to be simulated.