<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1256">
<META content="MSHTML 5.50.3825.1300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial>Hi all,</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>I have written a function in C: writee(double h, double 
level,....)</FONT></DIV>
<DIV><FONT face=Arial>in the body of this function I have an array which it's 
size is equal to level: strr[level]. But when I run my program. It gives me an 
error like this: "constant expression required" in the line that I have written 
strr[level]. </FONT></DIV>
<DIV><FONT face=Arial>I just know if I write "#define level" in the up of my 
program,this problem would be solved. But if you have any other idea that I can 
improve my program with it.</FONT></DIV>
<DIV><FONT face=Arial></FONT><FONT face=Arial>&nbsp;</DIV></FONT>
<DIV><FONT face=Arial>writee(double h, double level,....)</FONT></DIV>
<DIV><FONT face=Arial>{</FONT></DIV>
<DIV><FONT face=Arial>strr[level];</FONT></DIV>
<DIV><FONT face=Arial>...</FONT></DIV>
<DIV><FONT face=Arial>...</FONT></DIV>
<DIV><FONT face=Arial>}</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Thank you for you attention in advance.</FONT></DIV>
<DIV><FONT face=Arial>cheers</FONT></DIV>
<DIV><FONT face=Arial>Gosh</FONT></DIV></BODY></HTML>