Skip to content

Converts ascii to a C++ char array of decimals. Why? No good reason at all.

License

Notifications You must be signed in to change notification settings

gnaservicesinc/Monkey-Convert

Repository files navigation

Their is really no good reason for this project, yet, here it is.

Can you really use the output in a C++ program?  Yep.

 Here is an example you can use, just copy below the line, put into a file called main.cc and replace the part that says "//Place Output from Monkey-Convert here, then compile." with the output from Monkey-Convert:

----------------------------------------------------------------------------------------------------

/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
 * main.cc
 * Copyright (C) Andrew 2011 <[email protected]>
 * 
Monkey-Use is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Monkey-Use is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include <iostream>
using namespace std;

int main()
{
//Place Output from Monkey-Convert here, then compile.


for (int i=0; i < sizeof(monkey) / sizeof(monkey[0]); i++){
			cout << monkey[i];
	}
return 0;
}

About

Converts ascii to a C++ char array of decimals. Why? No good reason at all.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages