could some one please help me by telling me what is wrong with this program. all i want to do is to display all the asci characters 1-255 using classes because im just learning how to use them
Code:#include <iostream.h> class hoha { public: char current_asci_value=0; int index_number =0; int displayascivalues(current_asci_value, index_number) { while(current_asci_value < 255) { index_number++; cout<<current_asci_value; } } }; int main() { hoha h; h.displayascivalues(); return 0; }