test to binary & binary to text

This is a discussion on test to binary & binary to text within the C Programming forums, part of the General Programming Boards category; Dear Friends. I am not experienced in C I need a small C script to convert test file to binary. ...

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    23

    test to binary & binary to text

    Dear Friends.

    I am not experienced in C
    I need a small C script to convert test file to binary. and inverse.
    I would be pleased if you could show a way of doing that.

    bests

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,699
    >> I am not experienced in C

    How else do you gain experience but by practice?

    >> I need a small C script to convert test file to binary. and inverse.

    True. You will need some code to accomplish this.

    >> I would be pleased if you could show a way of doing that.

    Not nearly as much as we would be if you would do your own homework.
    Code:
    bool fun(bool value)
    {
        return std::pow(std::exp(1), std::complex<float>(0, 1) 
        * std::complex<float>(std::atan(1)*(1 << (value + 2))))
        .real() > 0;
    }

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    23
    Be careful!
    I said I would be pleased if someone can show me a way of doing that. I did not ask any one to do my homework. I did my programming homeworks 15 years ago.

    I am not a student, and may be I will never work again with C.

    I need that for a simple thing, I never touch it again.
    I do not your lecture about the ethic of studentship.

    thanks

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,598
    Quote Originally Posted by wolfindark
    I am not a student, and may be I will never work again with C.

    I need that for a simple thing, I never touch it again.
    I do not your lecture about the ethic of studentship.
    I suggest that you hire a C programmer to write this program for you since it would be a waste of your time to learn enough C to write this program on your own.

    Better yet, you can search for free hex editing software (or a plugin for your favourite editor) and thus avoid the need to hire a programmer.

    *thread closed*
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DirectX | Drawing text
    By gavra in forum Game Programming
    Replies: 4
    Last Post: 06-08-2009, 12:23 AM
  2. Converting Text to Binary (And Back)
    By Rune Hunter in forum C++ Programming
    Replies: 21
    Last Post: 08-24-2005, 10:17 PM
  3. Replies: 3
    Last Post: 05-25-2005, 01:50 PM
  4. coverting text t binary files
    By Wiz_Nil in forum C++ Programming
    Replies: 2
    Last Post: 03-21-2002, 08:32 AM
  5. text to binary in access?
    By breed in forum Windows Programming
    Replies: 0
    Last Post: 02-01-2002, 02:49 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21