By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,233 Members | 2,041 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,233 IT Pros & Developers. It's quick & easy.

a question about drawpoly function

P: n/a
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?

Dec 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
shahrzad <sh********@gmail.com> wrote:
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.

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Dec 19 '05 #2

P: n/a
In article <11**********************@g44g2000cwa.googlegroups .com>,
shahrzad <sh********@gmail.com> wrote:
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.

Dec 19 '05 #3

P: n/a
shahrzad wrote:
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.

Dec 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.