hi...
ive got a problem i have to write a code to implement a PC but im not really sure where to get started ,its one of my questions on my practice exam and i cant seem to figure it out.. can...
Type: Posts; User: adzza69
hi...
ive got a problem i have to write a code to implement a PC but im not really sure where to get started ,its one of my questions on my practice exam and i cant seem to figure it out.. can...
does anyone know a good website or some source where i can get some examples of programs for a ALU( arithmatic logic units)
- for example a program to impliment the PC of a MIPS micro-processor
...
yes its a text file containing the 32 bit numbers... i understand that i have to use while loops and for loops but im not sure on how to get it started...
the file contains 32 bit numbers each on...
1.) i need to read a file containing 32 bit numbers and store them into an array of integers( an array of 32 bit numbers)
**how would i read the file to get it into arrays, and not just one lots...
hey ppl... ive got this struct as a starting point to write a program for a binary search tree program... im not really sure what all the lines mean, particularly the pointers can someone please...
i need to write a program which opens a file in a function, not in main, and open it from dos command...
ive writen the program to open it in main but im not aloud to do that i have to make a...
thanks heaps eveyone..... :)
hey guys thanks for all your help... ive tryed all the codes and pj yeltons seems to be the one which is almost working but still coming up with the wrong results
5! should =120 showing 125...
for(n = factorial ; n>0 ;n--)
{
for(count = factorial - i; count >0; count--)
{
answer = answer + factorial;
}
i++ ;
sorry about that Fordy im new to this
itsme86 :
i can see how your program works but im not aloud to use any multiplication in the function or pointers as i have to chage it into MIPS assembely...
i need to write a function to find factorials of numbers the catch is i can only use + or - for and while loops..
eg 5! = 5 x 4 x 3 x 2 x 1 = 120
i cannot use any * in it;
this is what i...