Sinisterly
Code help! - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Coding (https://sinister.ly/Forum-Coding--71)
+--- Thread: Code help! (/Thread-Code-help)



Code help! - Anything - 02-23-2011

class PrintStudentGrade
main()
string name
numeric gpa
get name, gpa
print "CGTC"
print "3300 Macon Tech Drive"
print "Student Name", name
print "Grade point Average", gpa
Return
End class


How can I draw a flow chart using a simple method to print the college name and address?[/code]


RE: Code help! - 1234hotmaster - 02-23-2011

What kind of language is this?


RE: Code help! - Anything - 02-23-2011

It is just pseudocode


RE: Code help! - 1234hotmaster - 02-23-2011

whAt? pseudocode?

Give us a language. languages like:

VB - C# - C++ - Delphi - PHP - HTML - SQL - ASP.Net - C - ...



RE: Code help! - Coder-san - 02-23-2011

Do you want to make a graphical flowchart?
You'll have to do some Graphics coding for that. Copying a shape, rendering it + text in an order, etc.


RE: Code help! - Anything - 02-23-2011

Yeah. I have to draw out a flow chart in that manner. Just trying to figure out what I need to do.


RE: Code help! - Coder-san - 02-23-2011

If you want to draw all, you could keep adding the shape height to the next render's Y + a little more for vertical gap, similar for horizontal.
It would be a bit tricky.

I don't have much experience with rendering text. The output is unreadable in the way I do it.
So you can make a new label everytime probably.
There are several ways to do this. Some with limits, and some not so simple. It's your choice.

However, .NET Framework is surprisingly big. You should look for a much easier way, which is probably out there.
Reinventing the wheel is not always the smarter thing to do. Smile


RE: Code help! - Anything - 02-23-2011

I have to get it done in visio anyone have any experience using that?