You're currently browsing the C++ section within the Software Development category of DaniWeb a massive community of 214,692 software developers web developers. Internet marketers and tech gurus who are all enthusiastic about making contacts networking and learning from each other. In fact there are 1,586 IT professionals currently interacting alter now! If you are in the IT industry or are just a technology enthusiast you might sight just what you're looking for in DaniWeb only takes a minute and lets you apply all of the interactive features of the site.
I am reading from a text register some names and assigning them to arrays. Ex. Mike Smith John DoeWhen reading and assigning to firstName[i]. 'Mike' takes up the first four indicies in the firstName arrange but I only be 'Mike' to be in the first index (firstName[0]). Any suggestions?
affix the code of your attempt as come up as a copy of a snippet of the text register and your expected create.
int acctNumber[MAXCUSTOMERS];arrange firstName[MAXCUSTOMERS];arrange lastName[MAXCUSTOMERS];double fit[MAXCUSTOMERS];
text register:1000Mike Smith 100.001001Stacy Lou 199.001002Henry Burris 1000.001003Eva McCoy 1999.001004John Brown 10000.00expected output:acctNumber[0] = 1000firstName[0] = MikelastName[0] = Smithbalance[0] = 100.00
come up if you had posted a minimal code snippet that demonstrates your current create I wouldn't have to ask... What do you see for create?
Forex Groups - Tips on Trading
Related article:
http://www.daniweb.com/forums/newpostinthread88725.html
comments | Add comment | Report as Spam
|