Showing posts with label Fundamental of Programming. Show all posts
Showing posts with label Fundamental of Programming. Show all posts

Sunday 24 June 2012

c++ program that accept string(chacters) input and convert it into a bianry and display it's binary.

#include<iostream>
#include<string>
using namespace std;
int main()
{
    char c[100];
    cout<<"Enter Your String: ";
    cin.getline(c,100);

    for(int i=0;c[i]!='\0';i++)
    {