a question about drawpoly function

S

shahrzad

hello
I want to write a function that uses the drawpoly function in a loop
and draws some 6angles.
So I declared some variables in a function and started to work with
variables in drawpoly function. (I declared them in shape array) but it
took some errors and warnings. why?
 
C

Christopher Benson-Manica

shahrzad said:
I want to write a function that uses the drawpoly function in a loop
and draws some 6angles.

Great. drawpoly isn't part of standard C. Please see

http://www.ungerhu.com/jxh/clc.welcome.txt
http://www.eskimo.com/~scs/C-faq/top.html
http://benpfaff.org/writings/clc/off-topic.html
So I declared some variables in a function and started to work with
variables in drawpoly function. (I declared them in shape array) but it
took some errors and warnings. why?

Because you screwed up. If you want a more helpful answer, post your
code, keeping the information at the above URL's in mind.
 
K

Kenny McCormack

hello
I want to write a function that uses the drawpoly function in a loop
and draws some 6angles.
So I declared some variables in a function and started to work with
variables in drawpoly function. (I declared them in shape array) but it
took some errors and warnings. why?

Not portable. Can't discuss it here. Blah, blah, blah.
 
N

Nick Keighley

shahrzad said:
I want to write a function that uses the drawpoly function in a loop
and draws some 6angles.
So I declared some variables in a function and started to work with
variables in drawpoly function. (I declared them in shape array) but it
took some errors and warnings. why?

you don't specify which platform (Operating System and drawing
package) you are using. So work out which platform you are using and
repost your question to an appropriate News Group. DO NOT repost to
comp.lang.c. It might help when you post in your new new group if you
posted a short example that illustrated your problem.


--
Nick Keighley

If cosmology reveals anything about God, it is that He has
an inordinate fondness for empty space and non-baryonic dark
matter.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,473
Latest member
ChristelPe

Latest Threads

Top