Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty

    Encrypter- I need help

    Ok. I'm posting this mainly because of just an utter lack of topics in the C++ forum and zeco is about to go crazy from boredom xD, and also because after much trial and error I still can't quite get my XOR encrypter to work.

    What it's supposed to do:
    1. Take a Message
    2. Take a key
    3. Encrypt the message with the key
    4. Print out the Encrypted message.

    Problem:
    My problem is that you can't copy and paste the message back in the gui. the console window just doesnt allow you to paste. D: I need a way people can paste the code back in the gui. I need for the program to read the message from a .txt file so I can easily edit (copy and paste) messages


    I was planing to release it as a little present so we could send encrypted messages to each other :P. Guess I'll just have to release it half finished.
    Code:
    #include <iostream>
    using namespace std;
    
    int main()
    {
        char key;
        char str[9000];
        cout << "Enter the message you want to encrypt: "<<endl;
        cin >> str;
        cout << "Enter your encryption key(any character): ";
        cin >> key;
         for(int i = 0;str[i]; i++)
         {
                 str[i] = str[i] ^ key;
         }
        cout << "\nHere is your encrypted message: \n" << str << endl << "\n use key of: " << key << " to decode.\n";
        system("pause");
        return 0;
    }
    Here's the source code for the Encrypter and the Encrypt.exe:
    Last edited by why06; 09-04-2009 at 11:24 PM.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  2. #2
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Quote Originally Posted by why06 View Post
    Ok. I'm posting this mainly because of just an utter lack of topics in the C++ forum and zeco is about to go crazy from boredom xD, and also because after much trial and error I still can't quite get my XOR encrypter to work.

    What it's supposed to do:
    1. Take a Message
    2. Take a key
    3. Encrypt the message with the key
    4. Print out the Encrypted message.

    Problem:
    My problem is that you can't copy and paste the message back in the gui. the console window just doesnt allow you to paste. D: I need a way people can paste the code back in the gui. I need for the program to read the message from a .txt file so I can easily edit (copy and paste) messages


    I was planing to release it as a little present so we could send encrypted messages to each other :P. Guess I'll just have to release it half finished.
    Code:
    #include <iostream>
    using namespace std;
    
    int main()
    {
        char key;
        char str[9000];
        cout << "Enter the message you want to encrypt: "<<endl;
        cin >> str;
        cout << "Enter your encryption key(any character): ";
        cin >> key;
         for(int i = 0;str[i]; i++)
         {
                 str[i] = str[i] ^ key;
         }
        cout << "\nHere is your encrypted message: \n" << str << endl << "\n use key of: " << key << " to decode.\n";
        system("pause");
        return 0;
    }
    Here's the source code for the Encrypter and the Encrypt.exe:
    MUWAHHAHA Brilliant, I remember vaguely of a class in iostream or something to do that. Give me half an hour to play with this.

    edit: Ok they are in ifstream, and of stream. I'm probably going to edit as i go along.
    edit: Ok first change i made to your program is i changed the char array to string cause that's easier for me.
    Last edited by zeco; 09-04-2009 at 11:58 PM.

  3. #3
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Quote Originally Posted by zeco View Post
    MUWAHHAHA Brilliant, I remember vaguely of a class in iostream or something to do that. Give me half an hour to play with this.

    edit: Ok they are in ifstream, and of stream. I'm probably going to edit as i go along.
    You can have all the time you want :P Just tell me when you figure it out.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  4. #4
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Quote Originally Posted by why06 View Post
    You can have all the time you want :P Just tell me when you figure it out.
    Okies, =D
    (>_>, trop court.)

  5. #5
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Oh by the way, in your encryption loop. How exactly does the bitwise xor operator work? I know of it. I just don't know exactly about it. But yeah i need you to right a decryption loops i guess?

    I think everything pretty much works so far, well i guess i will provide a change log of sorts.

    *The program now outputs the encryption to a text file in the same folder as the EXE.
    *It also has a extremely basic front menu
    *The program can also now read an encryption from a text file, and decrypt it.
    -WAIT WHAT THE HELL. I just asked you for a decrytion loop but i guess you dont need it? You really need to explain to me how the bitwise xor works then.... It just sunk in that i didn't think it would work while i was typing this

    Hmm the only thing i need to work on now, is getting it to put the decryption ness in the text file.
    Should i also make it so that, one can put what is needed to be encrypted in a text file? I shall try. Later.
    Last edited by zeco; 09-05-2009 at 01:08 AM.

  6. #6
    dk173's Avatar
    Join Date
    Jul 2008
    Gender
    male
    Location
    In your dreams
    Posts
    4,767
    Reputation
    19
    Thanks
    461
    My Mood
    Mellow
    Quote Originally Posted by zeco View Post
    Oh by the way, in your encryption loop. How exactly does the bitwise xor operator work? I know of it. I just don't know exactly about it. But yeah i need you to right a decryption loops i guess?

    I think everything pretty much works so far, well i guess i will provide a change log of sorts.

    *The program now outputs the encryption to a text file in the same folder as the EXE.
    *It also has a extremely basic front menu
    *The program can also now read an encryption from a text file, and decrypt it.
    -WAIT WHAT THE HELL. I just asked you for a decrytion loop but i guess you dont need it? You really need to explain to me how the bitwise xor works then.... It just sunk in that i didn't think it would work while i was typing this

    Hmm the only thing i need to work on now, is getting it to put the decryption ness in the text file.


    next time just edit you post no double posting thx

    and i dont know a lick of c++ i cant help

  7. #7
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Quote Originally Posted by dk173 View Post
    next time just edit you post no double posting thx

    and i dont know a lick of c++ i cant help
    Thanks.

    And @why06
    Here is the source code. I have to go away for the weekend in the morning >_<.
    Sorry i couldn't help more.

    [php]#include <iostream>
    #include <fstream>
    #include <string>
    using namespace std;

    void encrypt();
    void decrypt();
    void start();

    int main()
    {
    start();

    system("pause");
    return 0;
    }

    void start(){
    short choice = 0;
    cout << "Would you like to encrypt, or Decrypt a file?\n" << endl;
    cout << "0.) Exit\n";
    cout << "1.) Encrypt\n";
    cout << "2.) Decrypt\n\n";

    (cin >> choice).get();


    switch(choice){
    case 0:
    break;

    case 1:
    system("cls");
    encrypt();
    system("cls");
    start();
    break;

    case 2:
    system("cls");
    decrypt();
    system("cls");
    start();
    break;

    default:
    system("cls");
    start();
    break;
    }
    }

    void encrypt(){
    ofstream ofile;
    ofile.open("encrypted.txt");

    char key;
    string iput;

    cout << "Enter the message you want to encrypt: "<<endl;

    getline(cin, iput);
    cout << "Enter your encryption key(any character): ";
    cin >> key;

    for(int i = 0;iput[i]; i++)
    {
    iput[i] = iput[i] ^ key;
    }

    cout << "Encrypted message should be in encrypted.txt in the same folder as this program\n";
    ofile << "\nHere is your encrypted message: \n" << iput << endl << "\n use key of: " << key << " to decode.\n";

    ofile.close();
    system("pause");
    }

    void decrypt(){
    ifstream ifile ("decrypt.txt", ios::app);
    char key;
    string iput;


    cout << "Place the text you want to decrypt in the file 'decrypt.txt'"<<endl;

    if (ifile.is_open())
    {
    while (!ifile.eof())
    {
    getline(ifile, iput);
    }
    ifile.close();
    }

    cout << "What key is the input encrypted in?" << endl;

    cin >> key;

    for(int i = 0;iput[i]; i++)
    {
    iput[i] = iput[i] ^ key;
    }

    cout << iput << endl;

    //ifile << "\nHere is your encrypted message: \n" << iput << endl << "\n use key of: " << key << " to decode.\n";
    //for above to work, class needs to be ofstream, or f stream


    system("pause");
    }
    [/php]
    I had gotten further... But then i started to break things in my hyperness... Then i decided it was time to stop, and reverted back to this checkpoint. Good luck =D
    Last edited by zeco; 09-05-2009 at 01:46 AM.

  8. #8
    lalakijilp's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Posts
    310
    Reputation
    9
    Thanks
    53
    My Mood
    Blah
    i don't know what all the codes mean yet but maybe is it an idea to make it possible to load text files and then the program makes another text file with the encrypted code in it.

    for such a program you need to use somethin other as prompt i think

  9. #9
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Thanks so much zeco xD! Your freakin awesome.

    Quote Originally Posted by zeco View Post
    Oh by the way, in your encryption loop. How exactly does the bitwise xor operator work? I know of it. I just don't know exactly about it. But yeah i need you to right a decryption loops i guess?

    I think everything pretty much works so far, well i guess i will provide a change log of sorts.

    *The program now outputs the encryption to a text file in the same folder as the EXE.
    *It also has a extremely basic front menu
    *The program can also now read an encryption from a text file, and decrypt it.
    -WAIT WHAT THE HELL. I just asked you for a decrytion loop but i guess you dont need it? You really need to explain to me how the bitwise xor works then.... It just sunk in that i didn't think it would work while i was typing this

    Hmm the only thing i need to work on now, is getting it to put the decryption ness in the text file.
    That's the interesting thing :P a xor bit it encryption will return to it's same configuration if you simply xor the message you encrypted by the same value you used to encrypt it. Check it:

    1001 1010
    ^0101 1101
    1100 0111

    Now All you would do is XOR (that's the exclusive or "^" this symbol) the values again.

    1100 0111
    ^0101 1101
    1001 1010

    Tada! equals the same bit value we started with. ;P

    BTW: thanks a lot. I should be able to figure out the rest now I think.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  10. #10
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Quote Originally Posted by why06 View Post
    Thanks so much zeco xD! Your freakin awesome.



    That's the interesting thing :P a xor bit it encryption will return to it's same configuration if you simply xor the message you encrypted by the same value you used to encrypt it. Check it:

    1001 1010
    ^0101 1101
    1100 0111

    Now All you would do is XOR (that's the exclusive or "^" this symbol) the values again.

    1100 0111
    ^0101 1101
    1001 1010

    Tada! equals the same bit value we started with. ;P

    BTW: thanks a lot. I should be able to figure out the rest now I think.
    No problem, I was really happy to help. TBH i've done like no small programming projects like this. Really to become proficient at a language you need tons of practice. It's a good thing i can retain as much theory as i did though >_<. I seem to remember random places or classes that i just glanced upon previously. Eitherway, good luck, and have fun.

    And thanks for the tip on XOR, really i read up on it quite a while ago but i didn't get it. But now it makes perfect sense. Good luck on making it read a text file for encryption. That would probably be easier for larger messages.

    Oh another idea, is letting the user specify the name of the file. That would be interesting cause i have a feeling that fstream works for anything that is formatted like a text file, even if the file extension is different, So let's say a C++ source file =D. It would be pretty cool to be able to encrypt and decrypt things like that.
    Last edited by zeco; 09-05-2009 at 07:18 AM.

  11. #11
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Well here I edited your source code. I combined your Encrypt and Decrypt function into one function. The problem now is it won't print the encrypted/decrypted .txt file in the command window. I'm not sure if it's not reading it or if it's simply not adding it to the string iput :L

    Code:
    #include <iostream>
    #include <fstream>
    #include <string>
    using namespace std;
    
    void encrypt();
    void decrypt();
    void start();
    
    int main()
    {
        start();
        
        system("pause");
        return 0;
    }
    
    void start(){
        char choice;
        cout << "Would you like to encrypt, or Decrypt a file?\n" << endl;
        cout << "q.) Quit\n";
        cout << "e.) Encrypt/Decrypt\n";
        
        cin >> choice;
    
    
        switch(choice){
        case 'q':
            break;
    
        case 'e':
            system("cls");
            decrypt();
            system("cls");
            start();
            break;
    
        default:
            system("cls");
            start();
            break;
        }
    }
    
    
    
    void decrypt(){
        ifstream ifile ("encrypt.txt", ios::app);
        char key;
        string iput;
    
    
        cout << "Place the text you want to decrypt or encrypt in the file 'encrypt.txt'"<<endl;
    
        if (ifile.is_open())             // I tested this part and nothing executes within this if statement. idk why?
        {                                // Is it that encrypt.txt isn't open? Why not jst read the file without checking if its open or not?
            while (!ifile.eof())
            {
                getline(ifile, iput);
            }
            ifile.close();
        }
    
                cout << "What key is the input encrypted in?" << endl;
    
                cin >> key;    
    
                for(int i = 0;iput[i]; i++)
                {
                 iput[i] = iput[i] ^ key;
                }
    
                cout << iput << endl;
            
        //ifile << "\nHere is your encrypted message: \n" << iput << endl << "\n use key of: " << key << " to decode.\n";
        //for above to work, class needs to be ofstream, or f stream
    
    
        system("pause");
    }
    Lol. ur code is prettier then mine xD
    BA probably knows how to make this work out. Hopefully he gets on soon.
    Last edited by why06; 09-05-2009 at 10:39 AM.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  12. #12
    Zhhot's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Vancouver
    Posts
    314
    Reputation
    10
    Thanks
    52
    My Mood
    Inspired
    Quote Originally Posted by why06 View Post
    Lol. ur code is prettier then mine xD
    BA probably knows how to make this work out. Hopefully he gets on soon.
    who is BA?
    Last edited by Zhhot; 09-05-2009 at 07:46 PM.

  13. #13
    B1ackAnge1's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    455
    Reputation
    74
    Thanks
    344
    My Mood
    Cynical
    Hope you realize that when you XOR a readable ASCII character you will very likely end up with a non-printable character so when you paste it in notepad or any other window it'll not show or look like a weird character. Also using ios:app is for appending which doesn't seem like what you'd want since it seeks to the end of the stream.

    Anyway, if you want to put text in the clipboard include windows.h and do something like this:

    Code:
    void CopyToClipboard(char* text)
    {
    	HGLOBAL      clipbuffer;    
    	char*         temp_ptr ;
    
    	clipbuffer = GlobalAlloc(GMEM_MOVEABLE | GMEM_SHARE, (strlen(text)+1) * sizeof(char));
    	temp_ptr = (char*)GlobalLock(clipbuffer);
    	strcpy(temp_ptr, text);
    	GlobalUnlock(clipbuffer);
    
    	OpenClipboard(0);         // 0 means no window
    	EmptyClipboard();
        Se***ipboardData(CF_TEXT, clipbuffer);
    	CloseClipboard();
    }
    Edit: Not sure why it put asterisks in there. it's S e t C l ipboard
    Also right now you're X-Oring with a 1-Byte Key.

    I'll write up something that'll take a whole string

    Edit: Here's a rough draft that'll take an input& output file with a key
    or a string with a key (and copies it to the clipboard)
    Code:
    // Encrypt.cpp : Defines the entry point for the console application.
    //
    
    #include "stdafx.h"
    #include <iostream>
    #include <fstream>
    #include <windows.h>
    using namespace std;
    
    void XOR(BYTE* buffer,long length, char* key)
    {
    	int keyLength = strlen(key);
    	int keyIndex = 0;
    	for(int i = 0 ; i< length; i++)
    	{
    		buffer[i] ^= (BYTE)key[keyIndex++];
    		if(keyIndex >= keyLength)
    			keyIndex = 0;
    	}
    }
    
    void CopyToClipboard(char* text)
    {
    	HGLOBAL      clipbuffer;    
    	char*         temp_ptr ;
    
    	clipbuffer = GlobalAlloc(GMEM_MOVEABLE | GMEM_SHARE, (strlen(text)+1) * sizeof(char));
    	temp_ptr = (char*)GlobalLock(clipbuffer);
    	strcpy(temp_ptr, text);
    	GlobalUnlock(clipbuffer);
    
    	OpenClipboard(0);         // 0 means no window
    	EmptyClipboard();
        Se***ipboardData(CF_TEXT, clipbuffer);
    	CloseClipboard();
    }
    
    /// Making the main a void since we don't care about what it returns
    void main(int argc, char* argv[])
    {
    	int bufferSize = 0;
    	////define some variables we'll be using
    	char* filename = NULL;
    	char* outputFile = NULL;
    	char* text = NULL;
    	char* key = NULL;
    
    	//Parse arguments - could be done better
    	for(int i = 0; i < argc; i++)
    	{
    	 if(_stricmp(argv[i],"/fin")==0 || _stricmp(argv[i],"-fin") == 0)
    		 filename = argv[++i];
    	 else if(_stricmp(argv[i],"/fout")==0 || _stricmp(argv[i],"-fout") == 0)
    		 outputFile = argv[++i];
    	 else if(_stricmp(argv[i],"/t")==0 || _stricmp(argv[i],"-t") == 0)
    		 text= argv[++i];
    	 else if(_stricmp(argv[i],"/k")==0 || _stricmp(argv[i],"-k")==0)
    		 key = argv[++i];
    	}
    
    	//If we're not being called correctly, print out what we expect
    	if((argc != 5 && argc != 7) ||  !key || (!filename && !key) || (filename && !outputFile) || (outputFile && !filename))
    	{
    		cout << "Encrypt Sample for Why06 by B1ackAnge1" << endl;
    		cout << "--------------------------------------" << endl;
    		cout << "Usage:" << endl;
    		cout << "Encrypt a file using a given key:" << endl;
    		cout << "Encrypt.exe /fin file.txt /fout file.out /k key" << endl << endl;
    		cout << "Encrypt a string using a given key and place on clipboard" << endl;
    		cout << "Encrypt.exe /t sometext /k key" << endl;
    		cin.get();
    		return;
    	}
    
    	if(filename) // same as: if(filename != null)
    	{
    		bufferSize = strlen(key) * 8192; //Don't ask ;)
    		BYTE* buffer = new BYTE[bufferSize];
    		FILE *fp = fopen(filename,"r+b");
    		FILE *fpout = fopen(outputFile,"w+b");
    
    		while(fp && feof(fp) == 0)
    		{
    			BYTE* buffer = new BYTE[bufferSize];
    			int numBytes = fread(buffer,sizeof(byte),bufferSize,fp);
    			XOR(buffer,numBytes,key);
    			//long curPos = ftell(fp);
    			fwrite(buffer,sizeof(byte),numBytes,fpout);
    			fflush(fpout);
    
    			delete[] buffer;
    		}
    		if(fp) 
    			fclose(fp);
    		if(fpout)
    			fclose(fpout);
    	}
    	else if(text)
    	{
    		XOR((byte*)text,strlen(text),key);
    		CopyToClipboard(text);
    	}
    }
    No guarantees whether or not the above works 100% in all scenarios.. only rudimentary error checking implemented. If you want to make it check if the filekey is correct you could save out a header that needs to always be 'x' after decrypting and give it a custom file extension etc etc
    Last edited by B1ackAnge1; 09-05-2009 at 08:06 PM. Reason: More Code

  14. The Following 2 Users Say Thank You to B1ackAnge1 For This Useful Post:

    why06 (09-05-2009),zeco (09-07-2009)

  15. #14
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Wow. lol! I just finished geting my rudimentary Encrypter to work after about 4 hours of work xD. And then you come along a type up a source that blows it out of the water. Thanks BA... (guess you know who I'm talking about now Zhhot :P)

    I didn't see your post until after I uploaded the whole finished thing and its still really buggy. I need to make it account for the end of the line and write it on a new line. Hopefully I can learn a lot from your code and come up with a second Encrypter that is more robust. right now though I'm gonna take a break from coding... whew!

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  16. The Following User Says Thank You to why06 For This Useful Post:

    B1ackAnge1 (09-05-2009)

  17. #15
    B1ackAnge1's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    455
    Reputation
    74
    Thanks
    344
    My Mood
    Cynical
    Lol, my code is 'blah' at best.. been ages since i've used filestream or File IO.. Sure makes the basic .NET operations seem much more user friendly (which is what I use daily). Sure is fun to screw around with it again though!

Page 1 of 2 12 LastLast

Similar Threads

  1. [Help Request] Need Help
    By shane11 in forum CrossFire Help
    Replies: 49
    Last Post: 05-03-2011, 04:29 AM
  2. [Help Request] Need help finding a Vindictus injector
    By VpChris in forum Vindictus Help
    Replies: 2
    Last Post: 05-01-2011, 10:51 PM
  3. [Help Request] need help with mod
    By .:MUS1CFR34K:. in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 05-01-2011, 12:40 PM
  4. [Help Request] I need help~~!!!!
    By c834606877 in forum Alliance of Valiant Arms (AVA) Help
    Replies: 1
    Last Post: 05-01-2011, 01:12 AM
  5. [Help Request] need help with modding
    By BayBee Alyn in forum Combat Arms Help
    Replies: 0
    Last Post: 04-27-2011, 09:06 PM

Tags for this Thread