c++ - Vector of an object instant VB Net -


i have problem vector in vb net.

i have written code in c++

typedef struct {     int process;     int bursttime;     int arrivaltime;     int remaining;     int timeaddedtoq;     bool flag; } process;  vector<process> proc; 

how can represent c++ code in vb net code?

i tried searching google nothing helped. apreciate if can help

thanks

you typically make class process information, use list(of process) replace vector<process>.

public class process     property process integer     property bursttime integer     property arrivaltime integer     property remaining integer     property flag boolean end class  ' use in code as: dim proc new list(of process) 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

IIS->Tomcat Redirect: multiple worker with default -