No one an help me?
Type: Posts; User: mrsirpoopsalot
No one an help me?
Alright, i have no idea on how to start this. I am trying to write a program that reads in a deterministic finite automata followed by one or more strings. This program should run each of the input...
You could get visual studio IMHO its far better than code blocks. I have been using VS for awhile now.
you should at least try to write some code.
I am kinda at a crossroads here. I am currently taking Software Engineering and i am almost a junior. I am almost done with my design patterns class. My teacher allowed us to use any good oop...
1. not sure how to load the control word.
2. flip the bits 10 and 11 - isnt that what i am doing in the enum?
crap, well i guess i am still lost. I ordered the book. I will do some more digging...
I thought since its a mixture of C / assembly it whould be ok. Besides, dont c/c++ programmers need to know assembly to get their degrees?
Thank you for the book recommendation..
I was hoping someone could help me instead of telling me i should do it a different way.
I was planning on using a switch statement to handle the different enum values being passed in.
I am not...
I am trying to write a function named roundD that rounds its first argument to an integer value according to the mode specified by its second argument.
I will be writing the function in assembly...
iMalc,
My code should accept user input in the form of 8 hexadecimal digits.
My code will interpret those 8 digits as an IEEE 754 32-bit floating point
number and will print out...
can someone help me?
I am still stuck. I have found the sign bit, exponent bit, and mantissa. how can i tell if its normalized or denormalized? What about infinity? zero? or NAN
please i want to...
King mir is correct -
I am understanding this more. The IEEE single precision floating point standard representation requires a 32 bit word, which may be represented as numbered from 0 to 31, from...
I am still lost.
I am taking in a 8 digit hexadecimal number as an IEEE 754 bit floating point number
and i want to print information about that number( signbit, expbits, fractbits, normalized,
denormalized,...
I am trying to retrieve a name as a key in the tree recursively.
my tree is as follows. 0,1,3,7,8,17,2,5,12 atleast thats
how it was added. I am searching for index 5 "Trigoboff, Michael"
parent...
I am trying to display the contents of the tree i think inorder.
What i am trying to do is print "leaf" for the leafs.
For what i understand is that in order for it to be a leaf left child needs to...
Thats good
iMalc, thanks for helping me.. I got the insert working. I also got the recursive part of the add working.
item *swap = new item[maxsize*2];
for ( int index = 0; index < maxsize; index++...
What would you propose i do about that then?
I would use a switch instead of all your else ifs.
you could try this
int hashmap::hashStr(char const * const str)
{
size_t length = strlen( str );
Awesome, That worked. I am only adding 9 items so using this array shouldn't
be a problem. My parent index starts at zero. When it adds "Goble, Colin" at index 7 like it suppose to, to the left....
I am suppose to store the names as char *
i tried your suggestion and it didn't add correctly. That could be because of my insert function.
Hello, i am trying to add items to a tree. I am finding no information in my book or the web about BST and arrays.
Since all i can find is pointer based i am trying to convert
that to array based...
I was adding data to the hashtable and i have to check for collision.
Well, in my strcmp its causing a crash since there is no data
and its not initialized.(i think) So, here i proceed to try to...
I was told that "You have to store an instance of stock at each slot"
"Each slot needs to contain either a pointer to an instance of stock,
or an entire instance of stock sitting there in the...