Changes

Jump to: navigation, search

Workshop 2

161 bytes added, 20:17, 21 September 2012
no edit summary
'''Submitted by:''' Shayan Vaghei & Mohamed Baig Team#4<br><br>
'''Q:'''Unsigned long longs are the same size as doubles. Currently, unsigned long longs are swapping just fine after being cast as doubles, but I was wondering if we were supposed to differentiate between the two. If so, how can you do it when the only argument is size?<br>'''A:''' I was trying to do this with a case for each data type, but we're supposed to cast the void* pointers as char*, and then swap the values byte-by-byte.
'''Submitted by:''' Kevin Kofler, Team 9<br><br>

Navigation menu