Built Something Cool on Compilr? We want to show it off!!!

9 replies [Last post]
piwh1000's picture
Offline
Last seen: 6 hours 54 min ago
Joined: 02/15/2008
Posts:

Hey everyone,

The Compilr team is going to be putting together a video tutorial of Compilr. Instead of a cookie cutter example of code, we want to show off something cool one of our users has built.

So, please let us know if you have built something cool you would like to nominate or if there is a public project in the Explore tab you want to nominate.

Developer - Compilr.com

magius96's picture
Offline
Last seen: 14 weeks 1 day ago
Joined: 04/13/2009
Posts:
Hmm

If you don't get enough responses, or just need a project to fill the void, I've got three tutorial projects that you can use. If you could suggest what kind of apps your looking to demo, then I may be able to write one for you if I have the time. Of course all my projects will be in C#.

----------------------------------------------------------------------------------------------------
"Coding your life, Compiling your dreams, and crashing your future."
Compilr - C# and VB.NET Advisor

piwh1000's picture
Offline
Last seen: 6 hours 54 min ago
Joined: 02/15/2008
Posts:
Hey magius96, We're just

Hey magius96,

We're just looking for any general cool projects, maybe a simple tic-tac-toe game or accounting software. Anything really. I'll wait a little while to see if anyone else has any suggestions and if not I'll look into your tutorials.

Developer - Compilr.com

Offline
Last seen: 39 weeks 6 days ago
Joined: 09/24/2009
Posts:
Tutorial Video Please

I started some code that is public.

But I don't see any Compile Button ?!?

How do we test our code if we can't emulate, run a parser, or compile?

ps. i'm a mechanical guy so bare with me on this software stuff, thanks.

piwh1000's picture
Offline
Last seen: 6 hours 54 min ago
Joined: 02/15/2008
Posts:
What languages are you trying

What languages are you trying to compile?

Developer - Compilr.com

Offline
Last seen: 39 weeks 6 days ago
Joined: 09/24/2009
Posts:
Quick Start Video Please

I mostly use C or PHP
so I'm trying to compile C that should be acceptable to a C++ compiler.

Also is it possible to select the target we are designing for? such as ARM, AVR, x86?

thanks

piwh1000's picture
Offline
Last seen: 6 hours 54 min ago
Joined: 02/15/2008
Posts:
Hi - At the moment our online

Hi - At the moment our online compiler doesn't support C/C++. You can write code, but you're not able to compile it.

We are working hard on that functionality.

Developer - Compilr.com

Offline
Last seen: 40 weeks 5 hours ago
Joined: 08/12/2011
Posts:
C# output

how i can see output after built of C# program.

piwh1000's picture
Offline
Last seen: 6 hours 54 min ago
Joined: 02/15/2008
Posts:
Once you have built your

Once you have built your program, you will need to compile it and run it locally on your machine.

Developer - Compilr.com

Offline
Last seen: 22 weeks 4 days ago
Joined: 12/11/2011
Posts:
Nim game

am suppoed to:
Write a program that allows two people to play Nim. The
program should start by creating four piles of sticks, each
with a number of sticks that varies from 4 to 8. Display
the piles on the screen. The program should then prompt
the first player to remove a number of sticks from a pile.
Once that player has provided valid input, the program
should then adjust the piles and display the new
configuration. This process should continue until one
player has won the game, at which point the computer should
display a congratulatory message to the winner. At the end
of the game, the computer should start a new game if the
users wish to do so. Once the players state that they are
done, the computer should print the games won by each
player.

And this is what i got so far anyone wanna help me finsih it it would be so helpful :)

class Nimgame
{
public static void main (String[]args)
{
playerName();
pilestack();
ChoosePile();
printPileStick();

}
public static void playerName()
{
System.out.print ("P1 Enter your name: ");
char P1 = In.readChar();
System.out.print ("P2 Enter your name: ");
char P2 = In.readChar();
}
public static int pilestack ()
{

System.out.println ( " " );
int a = 1;
for ( a = 1; a<=4; a++)
{
System.out.println (" ");
int pile = (int)(Math.random()* 4 + 4);
System.out.println("pile " + a + " have " + pile + " sticks");
}
return a;
}

public static void ChoosePile()
{
System.out.println(" ");
System.out.println("P1 CHOOSE YOUR PILE");
System.out.println(" ");
int ChoosepileP1 = In.readInt();
System.out.println(" ");
System.out.println ("P1 CHOOSE YOU NUMBER OF STICKS(MAX OF 3)");
System.out.println(" ");
int ChooseStickP1 = In.readInt();
System.out.println(" ");
System.out.println("P2 CHOOSE YOUR PILE");
System.out.println(" ");
int ChoosepileP2 = In.readInt();
System.out.println(" ");
System.out.println ("P2 CHOOSE YOU NUMBER OF STICKS (MAX OF 3)");
System.out.println(" ");
int ChooseStickP2 = In.readInt();
System.out.println(" ");
}

}