Posts

just pewp for yew!

 im not very good at programming with security in mind in c/c++ so i am thinking of trying to code my own security checking functions so that every string is checked, so that every pointer is verified. it would slow down my code, but i could also include a command line option to turn this feature off after the code is closer to stable. im still thinking of doing my OE in C#, Python, Perl, a downloadable html page with just javscript in it, i mean, i have LOTS of ideas. too me its kind just fun to think about it all and try to learn everything haha.
 // Dream-OE.cpp : Defines the entry point for the console application. // #include <stdio.h> #include <stdlib.h> int askQuestion(char * string_) {     printf("%s: ", string_);     getc(stdin);     printf("\r\n");     return 0; } // this will eventually be a funciton that // all strings will be passed thru to check // for buffer overflows and any other errors. int mStringPass(char *s_, int i_length /*not sure how to accept a value here */ ) {     int i_l = 0;// should be char     while(i_l++ != i_length)     {         if(s_[i_l] = 0)         {             return(i_l);         }     }     return -1; } int main(int argc, char *argv[]) {     int keyPress;   ...
 // Dream-OE.cpp : Defines the entry point for the console application. // #include <stdio.h> #include <stdlib.h> #include <iostream.h> int askQuestion(char * string_) {     printf("%s: ", string_);     getc(stdin);     printf("\r\n");     return 0; } int main(int argc, char *argv[]) {     int keyPress;       printf("Dream-OE 0.0.1.2pre-alpha Starting up!\r\n");     printf("press enter to continue\r\n");     getc(stdin);     printf("press 1 and press enter for a brief introduction.\r\n");     printf("press 2 and press enter to run a script.\r\n");     printf("press x and press enter to exit.\r\n");     askQuestion("poop");                           ...

thoughts

 first things first, im making my OE either lgpl or even more open like totally freeware. second, i've been thinking up an api where the programs can work with 'plugs' where they can both export and import functions, and on the fly - know what these functions accomplish. then it could provide a function for every function it request. this would evolve natural viruses, and it would be survival of the fittest code.   also, all programs inside the OE will be scripts. they will be assembled to a faster model on the fly.

thoughts

 i might do my operating enviornment not srictly in C but also in C++ because i like object oriented coding.
current release