![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#471 |
|
Hobbyist Programmer
|
403) Java
[php] import javax.swing.*; public class num { public static void main(String[] args) { for (int x=1;x<11;x++) { JOptionPane.showMessageDialog(null,x); } JOptionPane.showMessageDialog(null,"You Win!"); } } [/php] the java highlighting = yuck
__________________
Hoes telling me to calm down but I'm like fuck that shit!
|
|
|
|
|
|
#472 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Beta, you've been here a year. Still not read the FAQ/rules and learned about code tags? You can actually withdraw your head and see sunshine, though it's not a fact generally bandied about on programming forums.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#473 |
|
Hobbyist Programmer
|
its in code tags...just not java code tags. lay off
__________________
Hoes telling me to calm down but I'm like fuck that shit!
|
|
|
|
|
|
#474 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Yes, it's in code tags, now that you edited it. Very good. Don't fuck with me, boy. Is your memory that short?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#475 |
|
Hobbyist Programmer
|
They let you cuss in the retirement home!?
__________________
Hoes telling me to calm down but I'm like fuck that shit!
|
|
|
|
|
|
#476 |
|
PFO Founder
![]() ![]() |
now now boys, no need to fight over Code Tags. Just as long as everyone remembers them.
![]()
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#477 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
404) Haskell
main = mapM putStr [show x ++ "\n" | x <- [1..10]] |
|
|
|
|
|
#478 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
405) Haskell
main = mapM (putStrLn . show) [1..10] ![]() |
|
|
|
|
|
#479 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
406) Haskell
main = mapM print [1..10] |
|
|
|
|
|
#480 |
|
Hobbyist Programmer
Join Date: Apr 2006
Posts: 155
Rep Power: 3
![]() |
407) C++
I don't remember if this have been in the thread earlier, but here it is. #include <iostream>
int main()
{
int i = 1;
do
{
std::cout << i << " ";
i++;
} while(i <= 10);
return 0;
}
__________________
-- v0id
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|