Skip to content

Commit

Permalink
update dec2all.hpp
Browse files Browse the repository at this point in the history
wrong cout, couted base always as 2, now should cout fine
  • Loading branch information
WassiliaPL committed Jan 31, 2016
1 parent 0be2b66 commit b7b101e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dec2all.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void dec2all (char *x, char *y) //dziesietny na inny
}
while (temp > 0);
j = i;
cout << d << " in the system with base 2 is: ";
cout << d << " in the system with base " << k << " is: ";
for (i=j-1; i>=0; i--)
{
if (output[i] == 10) cout << "A";
Expand Down

0 comments on commit b7b101e

Please sign in to comment.