Request programs.

Discussion in 'Programming General' started by mnagi85, Feb 3, 2007.

Request programs.
  1. Unread #21 - Feb 10, 2007 at 7:53 AM
  2. Enlyth
    Referrals:
    0

    Enlyth Guest

    Request programs.

    Seyton, I have no time to make it into a GUI, but here is code that generates an "out.txt" file.

    Code:
    #include <iostream>
    #include <string>
    #include <fstream>
    
    using namespace std;
    
    int main()
    {
    	string filename;
    
    	cout << "Enter file name: ";
    	getline(cin, filename);
    
    	ifstream ifile( filename.c_str() );
    	ofstream ofile( "out.txt" );
    
    	if ( ifile.is_open() == 0 || ofile.is_open() == 0 )
    	{
    		cout << "Cannot open file.";
    		return 0;
    	}
    
    	string line;
    	while ( getline( ifile, line ) )
    	{
    		if ( !line.size() || line.find_first_not_of(' ') == string::npos )
    			ofile << '`' << endl;
    		else
    			ofile << line << endl;
    	}
    
    	ofile.close();
    	ifile.close();
    
    }
    
     
  3. Unread #22 - Feb 11, 2007 at 3:53 PM
  4. mnagi85
    Joined:
    Jul 25, 2005
    Posts:
    193
    Referrals:
    0
    Sythe Gold:
    0

    mnagi85 Active Member
    Banned

    Request programs.

    Enlyth you stupid noob, you are reported. This is my thread, not yours. Thread hi-jacking and spam. Stupid leecher. Sorry seyton. Anyone else?
     
  5. Unread #23 - Feb 13, 2007 at 7:31 AM
  6. Vic
    Joined:
    Apr 21, 2005
    Posts:
    1,606
    Referrals:
    7
    Sythe Gold:
    48
    Discord Unique ID:
    181751669820882944
    Discord Username:
    Vic
    Two Factor Authentication User Easter 2020 Sythe's 15th Anniversary <3 n4n0 Lawrence Extreme Homosex

    Vic Meow
    Highly Respected Retired Administrator

    Request programs.

    mnagi this is a community, we help each other, please stop flaming everyone that doesnt satisfy you, i will not infract bu be carfuly, he was just helping. maybe by looking at his code you can see where you went wrong as well.
    Vic
     
  7. Unread #24 - Feb 13, 2007 at 5:45 PM
  8. mnagi85
    Joined:
    Jul 25, 2005
    Posts:
    193
    Referrals:
    0
    Sythe Gold:
    0

    mnagi85 Active Member
    Banned

    Request programs.

    I didn't go wrong anywhere... I didn't even write a script yet what are you talking about? Besides he is a leecher noob because he is ignorant.
     
  9. Unread #25 - Feb 17, 2007 at 6:48 AM
  10. sigex
    Joined:
    Jan 21, 2007
    Posts:
    375
    Referrals:
    1
    Sythe Gold:
    0

    sigex Forum Addict
    Banned

    Request programs.

    Make me a ...Auto Flax picker?...
     
  11. Unread #26 - Feb 19, 2007 at 6:11 PM
  12. mnagi85
    Joined:
    Jul 25, 2005
    Posts:
    193
    Referrals:
    0
    Sythe Gold:
    0

    mnagi85 Active Member
    Banned

    Request programs.

    Sorry. I do not play runescape, and I do not do anything related to it either. Look for some scripts for SCAR. C is a data processing language, i doubt you can make a stupid script for runescape for it to automatically click for you. That would be foolish and a waste of time.
     
  13. Unread #27 - Feb 22, 2007 at 9:28 AM
  14. mnagi85
    Joined:
    Jul 25, 2005
    Posts:
    193
    Referrals:
    0
    Sythe Gold:
    0

    mnagi85 Active Member
    Banned

    Request programs.

    "pfft", you are an ass. you think you used that word enough times? reported for hi-jacking and backseat modding. btw, just because you are a dumbass and you can't even program at all, it doesn't mean you can make ufn of me because im using C. i didn't ask for your opinion. you sound like some 14 year old who can't get a girl to even talk to him. so dont even tell me how much i should know about my programming language. i merely created the calculators because the people asked for them, ok? so stop being such a dick and go masterbate to your sister's pictures.
     
< Metoslash V2.5 | getplayers function problem >

Users viewing this thread
1 guest


 
 
Adblock breaks this site