Adblock breaks this site

Request programs.

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

  1. Enlyth

    Enlyth Guest

    Referrals:
    0
    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();
    
    }
    
     
  2. mnagi85

    mnagi85 Active Member
    Banned

    Joined:
    Jul 25, 2005
    Posts:
    193
    Referrals:
    0
    Sythe Gold:
    0
    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?
     
  3. Vic

    Vic Meow
    Highly Respected Retired Administrator

    Joined:
    Apr 21, 2005
    Posts:
    1,607
    Referrals:
    7
    Sythe Gold:
    49
    Discord Unique ID:
    181751669820882944
    Discord Username:
    Vic
    Two Factor Authentication User Easter 2020 Sythe's 15th Anniversary <3 n4n0 Lawrence Extreme Homosex
    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
     
  4. mnagi85

    mnagi85 Active Member
    Banned

    Joined:
    Jul 25, 2005
    Posts:
    193
    Referrals:
    0
    Sythe Gold:
    0
    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.
     
  5. sigex

    sigex Forum Addict
    Banned

    Joined:
    Jan 21, 2007
    Posts:
    375
    Referrals:
    1
    Sythe Gold:
    0
    Request programs.

    Make me a ...Auto Flax picker?...
     
  6. mnagi85

    mnagi85 Active Member
    Banned

    Joined:
    Jul 25, 2005
    Posts:
    193
    Referrals:
    0
    Sythe Gold:
    0
    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.
     
  7. mnagi85

    mnagi85 Active Member
    Banned

    Joined:
    Jul 25, 2005
    Posts:
    193
    Referrals:
    0
    Sythe Gold:
    0
    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 >


 
 
Adblock breaks this site