IBC forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Latest topics
» Purchasing Tag Heuer Watches on a Budget
C++....!!!!! Icon_minitimeMon Mar 20, 2017 9:17 pm by fitch65221023

» Tag Heuer Gets A Taste
C++....!!!!! Icon_minitimeMon Mar 20, 2017 9:11 pm by fitch65221023

» U.s. Remains World's Top Platinum Watch Market
C++....!!!!! Icon_minitimeWed Dec 28, 2016 8:54 pm by fitch65221023

» The U.S. platinum watch market saw some other notable trends
C++....!!!!! Icon_minitimeWed Dec 28, 2016 8:50 pm by fitch65221023

» Do You Love Luxury Panerai Watches?
C++....!!!!! Icon_minitimeWed Dec 28, 2016 8:46 pm by fitch65221023

» Aqua Master Watches for this Christmas Season
C++....!!!!! Icon_minitimeWed Dec 28, 2016 8:40 pm by fitch65221023

» A Guide To Womens Watches: Styles And Types
C++....!!!!! Icon_minitimeThu Nov 10, 2016 9:25 pm by fitch65221023

» Aqua Master Diamond Watches For Women
C++....!!!!! Icon_minitimeThu Nov 10, 2016 9:09 pm by fitch65221023

» A Luxury Watch To Celebrate Achievements
C++....!!!!! Icon_minitimeMon Sep 12, 2016 10:03 pm by fitch65221023

IBC chat

ShoutMix chat widget
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

C++....!!!!!

4 posters

Go down

C++....!!!!! Empty C++....!!!!!

Post  g34rboxxx Mon Oct 19, 2009 2:12 pm

Alo just share aja

Code:

#include <stdio.h>
#include <stdlib.h>

char *binString(int value);

void main()

{
char value[8];
int v;

printf("Masukkan sebuah Nilai,0 to 32000:");
gets(value);
v=atoi(value);

printf("Nilai desimalnya adalah %i\n",v);
printf("Nilai hexadesimalnya adalah %4X\n",v);
printf("Nilai Binarynya adalah %s\n",binString(v));
}

  char *binString(int value)
  {
    static char bin [17];
    int index;

    for(index=0;index<16;index++)
    {
    if(value & 0x8000)
    bin[index]='1';
    else
    bin[index]='0';
    value=value<<1;
    }
    bin[16]=0x00;
    return(bin);
    }

Silahkan di compile sendiri.....dengan lcc juga oke....or C.




gearboxxx
g34rboxxx
g34rboxxx
Admin

Posts : 250
Join date : 2009-10-19
Age : 48
Location : Tebak hayooo

Back to top Go down

C++....!!!!! Empty mw tny dunk ??

Post  Shidiq Thu Oct 22, 2009 10:53 am

oiii ... siapa aja ... plis jwb yak ... hhe ...

klo factorial ntu trmasuk k bruteforce gag yak ?? No No No

Shidiq

Posts : 1
Join date : 2009-10-17

Back to top Go down

C++....!!!!! Empty Re: C++....!!!!!

Post  g34rboxxx Tue Oct 27, 2009 3:27 pm

Yups bener....kata om google baca ....Moga membantu......
disini

gearboxxx lol! lol! lol!
g34rboxxx
g34rboxxx
Admin

Posts : 250
Join date : 2009-10-19
Age : 48
Location : Tebak hayooo

Back to top Go down

C++....!!!!! Empty Re: C++....!!!!!

Post  sinax89 Tue Oct 27, 2009 10:40 pm

Shidiq wrote:oiii ... siapa aja ... plis jwb yak ... hhe ...

klo factorial ntu trmasuk k bruteforce gag yak ?? No No No



lah emg yang kemarin w kasih salah diq ???


Laughing afro
sinax89
sinax89
Admin

Posts : 72
Join date : 2009-10-13
Age : 35
Location : Bekasi

https://ibc-forum.forumotion.com

Back to top Go down

C++....!!!!! Empty Re: C++....!!!!!

Post  vailo Tue Oct 27, 2009 11:43 pm

sinax89 wrote:
lah emg yang kemarin w kasih salah diq ???

yang dikasi tau gak salah, yang ngase tau nya kali yang salah geek afro lol!
vailo
vailo

Posts : 137
Join date : 2009-10-18

Back to top Go down

C++....!!!!! Empty Re: C++....!!!!!

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum