2 Replies - 281 Views - Last Post: 30 January 2013 - 07:26 AM Rate Topic: -----

#1 illuss  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 63
  • Joined: 14-April 11

Decimal to Binary converting function?

Posted 29 January 2013 - 10:56 PM

Hello,
I'm fairly new with C language and I was just wondering if C has a function that converts decimal to binary with user define the # of bits??

Thanks!
Is This A Good Question/Topic? 0
  • +

Replies To: Decimal to Binary converting function?

#2 kai_itz me  Icon User is offline

  • D.I.C Head

Reputation: 28
  • View blog
  • Posts: 159
  • Joined: 03-August 12

Re: Decimal to Binary converting function?

Posted 29 January 2013 - 11:07 PM

My link

CHECK OUT THIS ONE
Was This Post Helpful? 0
  • +
  • -

#3 jimblumberg  Icon User is offline

  • member icon


Reputation: 4002
  • View blog
  • Posts: 12,346
  • Joined: 25-December 09

Re: Decimal to Binary converting function?

Posted 30 January 2013 - 07:26 AM

Quote

I'm fairly new with C language and I was just wondering if C has a function that converts decimal to binary with user define the # of bits??

No C doesn't have a built in function to convert decimal to binary. But you can surely write one yourself.

Jim
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1