C Programming - Convert an integer to binary
- by leo
Hi guys - i was hopefully after some tips opposed to solutions as this is homework and i want to solve it myself
I am firstly very new to C. In fact i have never done any before, though i have previous java experience from modules at university.
I am trying to write a programme that converts a single integer in to binary. I am only allowed to use bitwise operations and no library functions
Can anyone possibly suggest some ideas about how i would go about doing this. Obviously i dont want code or anything, just some ideas as to what avenues to explore as currenty i am a little confused and have no plan of attack. Well, make that a lot confused :D
thanks very much