Biabarr Posted April 2, 2010 Share Posted April 2, 2010 :D I am new here, and I don't know what else to say Link to comment Share on other sites More sharing options...
Phoenix Posted April 2, 2010 Share Posted April 2, 2010 :D I am new here, and I don't know what else to say You could say "hello" again ANyway, welcome to the forest. Don't screw with the newly revived Russian Empire, the Spetsnaz branch and don't wander to far from the forest, and you'll do just fine :D Link to comment Share on other sites More sharing options...
Ansem Posted April 2, 2010 Share Posted April 2, 2010 Hello and welcome to the site. Enjoy your stay here Link to comment Share on other sites More sharing options...
El Rey León Posted April 2, 2010 Share Posted April 2, 2010 Welcome to SF. Enjoy your stay. And don ask why I sound like a concierge. Link to comment Share on other sites More sharing options...
The Envoy of the Beginning Posted April 2, 2010 Share Posted April 2, 2010 Welcome to Serenes Forest! (I, too, don't know what else to say >_>) Link to comment Share on other sites More sharing options...
CT075 Posted April 2, 2010 Share Posted April 2, 2010 Welcome, etc. FFtF > All. Link to comment Share on other sites More sharing options...
ReformBlade Posted April 2, 2010 Share Posted April 2, 2010 Oh, er... Welcome? Bathroom is in the back, if you need it. Link to comment Share on other sites More sharing options...
Tino Posted April 3, 2010 Share Posted April 3, 2010 I just can't resist. #include "stdio.h" #define e 3 #define g (e/e) #define h ((g+e)/2) #define f (e-g-h) #define j (e*e-g) #define k (j-h) #define l(x) tab2[x]/h #define m(n,a) ((n&(a))==(a)) long tab1[]={ 989L,5L,26L,0L,88319L,123L,0L,9367L }; int tab2[]={ 4,6,10,14,22,26,34,38,46,58,62,74,82,86 }; main(m1,s) char *s; { int a,b,c,d,o[k],n=(int)s; if(m1==1){ char b[2*j+f-g]; main(l(h+e)+h+e,B); printf(B); } else switch(m1-=h){ case f: a=(b=(c=(d=g)<<g)<<g)<<g; return(m(n,a|c)|m(n,B)|m(n,a|d)|m(n,c|d)); case h: for(a=f;a<j;++a)if(tab1[a]&&!(tab1[a]%((long)l(n))))return(a); case g: if(n<h)return(g); if(n<j){n-=g;c='D';o[f]=h;o[g]=f;} else{c='\r'-'\b';n-=j-g;o[f]=o[g]=g;} if((b=n)>=e)for(b=g<<g;b<n;++b)o[b]=o[b-h]+o[b-g]+c; return(o[b-g]%n+k-h); default: if(m1-=e) main(m1-g+e+h,s+g); else *(s+g)=f; for(*s=a=f;a<e;) *s=(*s<<e)|main(h+a++,(char *)m1); } } Or the simpler version (albeit in a different language): <?='hello, world'?> Hi. Link to comment Share on other sites More sharing options...
Dracohon Posted April 3, 2010 Share Posted April 3, 2010 Yay! Welcome! :D B) :P :) Link to comment Share on other sites More sharing options...
whase Posted April 3, 2010 Share Posted April 3, 2010 welcome HezulLover #include "stdio.h" #define e 3 #define g (e/e) #define h ((g+e)/2) #define f (e-g-h) #define j (e*e-g) #define k (j-h) #define l(x) tab2[x]/h #define m(n,a) ((n&(a))==(a)) long tab1[]={ 989L,5L,26L,0L,88319L,123L,0L,9367L }; int tab2[]={ 4,6,10,14,22,26,34,38,46,58,62,74,82,86 }; main(m1,s) char *s; { int a,b,c,d,o[k],n=(int)s; if(m1==1){ char b[2*j+f-g]; main(l(h+e)+h+e,B); printf(B); } else switch(m1-=h){ case f: a=(b=(c=(d=g)<<g)<<g)<<g; return(m(n,a|c)|m(n,B)|m(n,a|d)|m(n,c|d)); case h: for(a=f;a<j;++a)if(tab1[a]&&!(tab1[a]%((long)l(n))))return(a); case g: if(n<h)return(g); if(n<j){n-=g;c='D';o[f]=h;o[g]=f;} else{c='\r'-'\b';n-=j-g;o[f]=o[g]=g;} if((b=n)>=e)for(b=g<<g;b<n;++b)o[b]=o[b-h]+o[b-g]+c; return(o[b-g]%n+k-h); default: if(m1-=e) main(m1-g+e+h,s+g); else *(s+g)=f; for(*s=a=f;a<e;) *s=(*s<<e)|main(h+a++,(char *)m1); } } what programming language is that? looks like Java, since Java is the only programming basics I know~ Link to comment Share on other sites More sharing options...
Tino Posted April 3, 2010 Share Posted April 3, 2010 It's C, though B) Also, I didn't write that myself. I just happened to stumble across it some time ago and thought it was pretty awesome that all it did was print 'hello, world' Link to comment Share on other sites More sharing options...
Biabarr Posted April 3, 2010 Author Share Posted April 3, 2010 Yay someone got the computer programming reference!! In java it would be public class HelloWorld { public static void main (String[] args) { System.out.println ("Hello world!!!"); } } This is the first time I saw java be easier than C..... Link to comment Share on other sites More sharing options...
Tino Posted April 3, 2010 Share Posted April 3, 2010 Actually, all that's required for C is this: #include <stdio.h> int main() { printf("hello, world\n"); } The program I showed you was a terribly obfuscated form of this : p Link to comment Share on other sites More sharing options...
whase Posted April 3, 2010 Share Posted April 3, 2010 I can do that too it's in Java :P public class HelloWorld { int i = 9; public static void main (String[] args) { if(1==i) { System.out.println("nothing"); } else { print(); } } public void print() { for(int e = 1; e < 2; e++); { System.out.println ("Hello world!!!"); } } } also, I'm sorry for spamming in your introduction topic, I just couldn't let this pass :P Link to comment Share on other sites More sharing options...
Fayt Zelpher Posted April 3, 2010 Share Posted April 3, 2010 Actually, all that's required for C is this: #include <stdio.h> int main() { printf("hello, world\n"); } The program I showed you was a terribly obfuscated form of this : p Hmm. My university is making me learn Matlab as part of my Math major. It would take a response like this: A = 'Hello World' fprintf('%-13s \n', A) Link to comment Share on other sites More sharing options...
Fireman Posted April 3, 2010 Share Posted April 3, 2010 also, I'm sorry for spamming in your introduction topic, I just couldn't let this pass :P Not like intro topics ever really get that many posts anyway. Anyway, welcome to the forest. I should get a standard "greeting card," like Emerald or Hanz/Hero's thing. Link to comment Share on other sites More sharing options...
Tino Posted April 4, 2010 Share Posted April 4, 2010 Hmm. My university is making me learn Matlab as part of my Math major. It would take a response like this: A = 'Hello World' fprintf('%-13s \n', A) That looks pretty easy. However, PHP is the real master. print 'hello, world'; Or even better, just plain text hello, world Link to comment Share on other sites More sharing options...
Fayt Zelpher Posted April 4, 2010 Share Posted April 4, 2010 That looks pretty easy. However, PHP is the real master. print 'hello, world'; Or even better, just plain text hello, world Actually, I think you CAN do this: fprintf('Hello World') And still get the same thing. So yeah, as programming languages go, Matlab seems to be one of the easiest... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.