By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,387 Members | 1,709 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,387 IT Pros & Developers. It's quick & easy.

Am I doing this right? (about getting output)

P: 14
I'm doing a function and I need output. This is all the information here. I'm pretty happy with the program. I just need to get output now ;)

Expand|Select|Wrap|Line Numbers
  1.     while (dnode.size() > j) {
  2.         for (int i=0;i<63;i++)
  3.             last[i] = dnode[i];
  4.         dnode.erase(dnode.begin(),dnode.begin()+63);
  5.         dnode.shrink_to_fit();
  6.         out << static_cast<char>(last.to_ulong());
  7.         j++;
  8.     }
May 6 '16 #1
Share this Question
Share on Google+
2 Replies

P: 2
Try recoding the arrays with the index "j" and check again ..
May 9 '16 #2

P: 14
That wasn't right, either. I ended up using something else.
May 9 '16 #3

Post your reply

Sign in to post your reply or Sign up for a free account.