FlowChart to C# conversion

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
sergioigel
Posts: 4
Joined: Thu Dec 29, 2016 3:07 pm

FlowChart to C# conversion

Post by sergioigel »

Hi,
Can somebody tell me if Flowcode is able to generate a C program directly from a flowchart ?

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times

Re: FlowChart to C# conversion

Post by JohnCrow »

Hi Sergioigel

Once you have developed your flowchart, you can compile to C, compile to hex or directly to the chip, which goes through both c and hex.

You will find these and other intermediate files in the folder you have saved the flowchart file in.

However It cannot compile to C#
1 in 10 people understand binary, the other one doesn't !

sergioigel
Posts: 4
Joined: Thu Dec 29, 2016 3:07 pm

Re: FlowChart to C# conversion

Post by sergioigel »

thank you JohnCrow,
please... what is the diference between C# and C ?
thanks,
Sergio

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times

Re: FlowChart to C# conversion

Post by JohnCrow »

Hi Sergio

C was the original language.

After that came C++
C++ is similar but has extra commands. A C++ compiler can compile to either C or C++, but A C compiler can only do standard C.

C# was the next generation of compiler. I've never used it myself, but if you google it you will be able to find plenty of information online.
I think its more based round Microsoft .NET
1 in 10 people understand binary, the other one doesn't !

sergioigel
Posts: 4
Joined: Thu Dec 29, 2016 3:07 pm

Re: FlowChart to C# conversion

Post by sergioigel »

thank you very much

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: FlowChart to C# conversion

Post by Benj »

I may be wrong but from memory Microsoft tried to re-write Java in the form of J#. This was very badly received and Microsoft was involved in lots of lawsuits. C# came about as a half way house, trying to be Java but not actually Java.

People who like Java tend to dislike C# and visa versa. I was taught Java and this has served me very well with being able to write code for things like Android phones and Tablets. e.g. you don't need a copy of Windows to be running on the device. Instead you just need a free Java runtime.

So C# is very different from C and C++. Though you can take a C or C++ program and manually port the code into C#. C# is better for Windows programs than C or C++ because of the inherent memory management which makes it harder to do things that will cause system crashes or instabilities. Saying this a C# program is generally far less efficient then a C or C++ program as you have all the management to do on top of the actual program code.

sergioigel
Posts: 4
Joined: Thu Dec 29, 2016 3:07 pm

Re: FlowChart to C# conversion

Post by sergioigel »

Thank you for your explanation too.

Post Reply