No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Can u help me guys. I have problem of calling function from class and overloading. When I'm trying to print short int type number, the program brakes down. No errors are shown which tell me whats wrong. [CODE]#include <cstdlib> #include <iostream> using namespace std; int i=0, j=0, zero_fill, l=0; class …
#include <cstdlib> #include <iostream> using namespace std; int i=0, j=0, zero_fill, l=0; class dec_to_bin { public: char bin[33], rev[33]; char *to_bin(unsigned int dec, int size); char *to_bin(unsigned short int dec, int size); }; char *dec_to_bin :: to_bin(unsigned int dec, int size) { while(dec > 0) { bin = dec%2+48; dec …
The End.
Nasas