No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
For a newbie Zamansiz, you certainly have my vote of confidence. - Using 'tricks' and 'trickly subrt'ns is exactly what got Microsoft into so many buggy problems at the beginning. - You are spot-on by laying this out in the beginning and allowing the debugger see it right away. - …
First, Determine exactly what this code does or is intended to do. Re-write that application in a language that you do know- Berkeley BASIC comes to mind -since you say you don't want to use K&H. Second, Assemble your new code. - THEN With a good Hex editor such as …
[code=c] // ----------------------------------------------- mySquare( y1) // rcv'ing dbl = 4 { double x1=1 ;// valid, but impossible to reach. printf("\n SQRD incoming Y1: %d",y1); // shows 4 printf("\n SQRD return y1*y1: %d",y1*y1); //shows 16 x1 = (y1*y1); // ??? printf("\n SQRD return X1: %d",x1); //shows 0 ! return x1; // …
I just now compiled and ran the "here's the final piece of code, should anyone be interested " code (above) with the values A:1248 B: 2 Results = "2089877600-8-130" and again, A:2 B: 1248 Results = "4479020590" ( btw, an INT, not a string) so... Am I missing something, or …
A little tough going thru all that non-structured stuff with NotePad, However, I do see a couple of interesting items: (1) By switching options 1 & 0 then (of course) option 1 works fine. -Meaning: It's not in the pickup subrt'n ( I thought you said it might be there) …
Also a few decades ago, I too wrote this program, but was on a team to write a new Language - so I added a few 'extras' to get me thru. It was Tower of Hanoi, and Carter was our Leader. Adax is Right to use pseudo code first as …
The End.