As Shabbir says, here is your basic problem: you're using B as a counter, but you overwrite B in the fourth instruction. Bye, bye, B as a counter.
I don't mean to be unduly tough on you, so let me make a few relevant points. The first is that you haven't assigned this task any sort of...
Would you like fries with that? Supersized?
Please read the "Before you make a query" thread, particularly with regard to #10. What would your institution think if they read this post?...
Wahsunny: This is not a free homework factory. Do your work. Post here for help with the problems you enounter. Show examples. Post error...
Also, please put code you write into code tags to preserve its indentation and formatting. I heartily recommend reading the "Before you make a...
I would suggest that producing someone's work for them is not in their best interests, when it comes to learning. It is, in fact, discouraged in...
The IP goes to zero, but the uP won't run; it's bus is tri-stated.
The language doesn't define how those two are related, merely that each is contiguous and that element n+1 is one element higher in memory than...
Scratch this post, bad information. LATER EDIT Consider these statements: int i = 0; cout << i++; cout << i++; cout << i++ << i++; This...
Would it be too much trouble to actually post the code for html ()?
Sounds like a graph theory problem, which is a tad more than "Assigning values to data in C/C++", which is a trivial thing. Your post sounds more...
You should start a separate thread for a different question. Getting input from an external device will depend entirely upon your system...
It's getting the part of the filename that is beyond the '/', or the entire name if no '/' is present. Side note: don't waste your time putting...
Your main file cannot instantiate the template. It doesn't know how. It isn't going to seach all the files on your system to find out how. Put...
Nice to see the errors at this point. Did you read my response? It explains why you are getting them. I took the trouble to find them, myself,...
Templates can be a problem if not handled correctly. The build process works roughly as follows: the preprocessor modifies the source in...
Help us help you; post your errors, next time. cin >> nums; nums is an array; you're asking for a single number. You can't put it in an...
You can prevent smilies (which will be common in C/C++code) by clicking "Go Advanced" and checking the "Disable smilies in text" box....
And we're to guess at what point it fails? You won't help us help you by giving a clue? I can name two things that will make it fail, but...
Separate names with a comma.