what exactly do you want to do?
Type: Posts; User: helloworld922
what exactly do you want to do?
lol, oops. i forgot to update counter.
int counter = 0;
for(int i = 0;i<count1;i++)
{
while(mod)
{
stockName[counter] = portFolioStockName();
stockSym[counter] = portFolioStockSym(); ...
ooh, you're adding stuff to an array from user input... in that case, i'd recommend the ArrayList class. It's simple and should fullfill all that you need. If you really want to use just an array,...
just don't initialize i again:
for(;i<count1;i++)
{
...
}