RegisterLogin  
Update Profile
   
You are here: Forum  
Minimize 
SVUG Community Forum
Subject: Need help in creating automatic number of handles
Prev Next
You are not authorized to post a reply.

Author Messages
KeyurUser is Offline

Posts:1

12/16/2009 10:48 AM  
Hello All,

I am a student and currently working on a project. I need to create the number of handles to be automatic and for that I tried the following code.

for(int i=0; i <13; i++)
begin
Client client_; //Where client is the class I need to
client_ = new; // create handle for
end


But when I try to compile it, it gives me the error saying client_ should be a constant value. Now I dont understand how can I do it.
Guys is there any other way I can make the number of handles to be automatic.
You are not authorized to post a reply.
Forums > SVUG Archive > Archive > Need help in creating automatic number of handles



ActiveForums 3.7
  

 Copyright 2008 by SystemVerilog User Group Contact Us    Privacy Statement