Refactor
:my
=>
'code'
Codes
Refactorings
Popular
Best
Submit
Spam
Account
Logout
Login
JavaScript doesn't seem to be activated, expect things to be ugly and sloppy!
Learn How to Create Your Own Programming Language
createyourproglang.com
Recent
How to get accepted in Fileice (200% Working) 22/2012
Premium Account
FILE HOSTS PREMIUM ACCOUNT
ALL FILE HOST PREMIUM ACCOUNTS
Zynga Slingo Trainer v5.12
iTunes Gift Card Generator V3.1 2012
Diablo 3 GOLD Coins FREE
Working PS3 Jailbreak 3.65 And 3.66
ExtaBit Premium Accounts and Cookies
Steam Wallet Hack - Money Adder & Hack v3
Popular
XBOX POINTS GENERATOR - MICROSOFT POINTS GENERATOR v1.2012
11 may 2012 premium uploading accounts 100% working
Free Microsoft Points
Free Microsoft Points - Microsoft Points Generator - Xbox Live Codes 2012
Car Town Free Blue Points Hack
Free CarTown Blue Points Generator and CarTown Templates
Better way to get content via jQuery $.get()
Free Microsoft Points
Simple Days Purger
Sharecash Downloader Bypass Surveys New 05/2012
Pastable version of
FLAMES!!!!!!!!!!!!!!!!!
<pre class='prettyprint' language='c'>#include <stdio.h> #include <ctype.h> #include <string.h> int commonnum (char s1[20],char s2[20]); int main() { int sp=0,i,m=6,x,j=0,q; char s[]={'f','l','a','m','e','s'},fate,change_fate,name1[20],name2[20]; printf("\n%s",s); start: printf("\nenter a names"); scanf("%s",name1); printf("\nenter second name"); scanf("%s",name2); //printf("enter the commons number"); //scanf("%d",&x); x=commonnum(name1,name2); if (x==0) { printf("\naaaa no cheating!!!!"); goto start; } printf("\n%d",x); y: for(i=0;i {if(s[i]!='!') { if(j==x-1) { s[i]='!'; j=-1; sp++; } j++; } //printf("\n %s",s); if(i==m-1) goto y; if(sp==5) { for(q=0;s[q]!='\0';q++) if(s[q]!='!') {printf("\n%c",fate=toupper(s[q])); switch(fate) {case 'F':printf("\nFRIEND! not bad can try later;");break; case 'L':printf("\nLOVER!!! u r the luckiest being on earth");break; case 'A':printf("AFFECTION! end up u r life making difference b/w love and affection");break; case 'M':printf("\nMARRIAGE!!! a famous saying \"wife is a knife that cuts u r life\"");break; case 'S':printf("SISTER!!!! i pity you ;)");break; case 'E':printf("ENEMIES lets wage a war!!!!!!!!!"); }} break;} } getchar(); printf ("Wanna change u r love ?\n"); change_fate=getchar(); if(change_fate=='y') goto start; return 0;} int commonnum(char name1[],char name2[]) {int i,j,count=0; char temps[20]; if(strlen(name2)>strlen(name1)) { strcpy(temps,name1); strcpy(name1,name2); strcpy(name2,temps); } for(i=0;name2[i]!='\0';i++) for(j=0;name1[j]!='\0';j++) if(name2[i]==name1[j]) count++; return strlen(name1)+strlen(name2)-2*count; }</pre> <a href="http://www.refactormycode.com/codes/993-flames" style="color:#fff" title="As seen on RefactorMyCode.com"><img alt="Small_logo" src="http://www.refactormycode.com/images/small_logo.gif" style="border:0" /></a>