I have 9 decimal numbers in A3, i need to output them 3 at a time and I'm not sure how. EX) A3 holds '14 8 6 8 5 4 6 4 4' [INDENT]It should display[/INDENT] 14 8 6 8 5 4 6 4 4

Member Avatar
+0 forum 0

I'm writing a program to convert Decimal numbers to binary, hexadecimal, and BCD as a refresher before i start getting code assignments in school. I'm almost done, but i have a seg_fault (compiler says decToHex function) in 1 function and i am hoping for some feedback on the others. I'll break it up a little so it's not 1 giant block of code and attach the .CPP [B]Class Definition[/B] [CODE] class ConvertDecimal { public: ConvertDecimal(); //void print(); private: int MAX_SIZE; void Convert (); string decToBinary (int decimal); string decToHex (int decimal); string decToBCD (int decimal); char hex(int num); string BCD(char …

Member Avatar
Member Avatar
+0 forum 7

[I]To make it easier to read, only the relevant code is below, and due to circumstances beyond my control im stuck using Xcode for the next week or so (hate this debugger).[/I] I need help fixing a seg_fault in my current program. It occurs the last time "buildPaths" is called. I feel like im going outside of the "thePaths" vector, but the fixes I've tried did nothing. Please tell me either A) A solution, where the problem was, how to avoid it, how to go about fixing it B) Where the problem is, how to go about fixing it, how …

Member Avatar
Member Avatar
+0 forum 3

The End.