|
From: Jeeun C. <koo...@ya...> - 2003-02-26 07:03:17
|
void getData(int&lengCo,int&lengGro,string&comet,string&group); void Convert(int lengCo,int lengGro,string comet,string group,vector<int>&ComNum,vector<int>&GroNum); void modNum(int&modCom,int&modGro,vector<int>ComNum,vector<int>GroNum,int lengCo,int lengGro); this is part of my program...and..as u can see, i used & between a data type and a changeable variable..(i was taught lyke that in my c++ class at school).. but i found out that people are using * instead of & for changeable variables... so..i chaged every & to * and compiled it, but i got lotta errors; when i used & and compiled, i didnt get any error.. what should i use or do? __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |