I want to convert a string, using the string class - to Binary. What is the fast way to do this character by character. Loop? Or is there some function out there that will convert for me? 1's and 0's binary.
A string being:
#include <string>
using namespace std;
int main(){
myString = "Hello World";
}
See Question&Answers more detail:os