Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 25 May 2015, 03:54
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Online compiler
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Official Crustacean

Joined: 04 May 2005
Posts: 15121
Location: Paradox Realm

PostPosted: Wed 14 Apr 2010, 11:50    Post_subject:  Online compiler  

Online compiler for C, C++, tcl, python etc
tried the enclosed c - think I provided a link to something similar Smile


example code

/* Example C program */

int main()

{ int i;
for (i = 0; i < 50000; i++)
printf ("%d",i);
printf (" Puppy is Great\n");
return 0;

Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 

Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Thu 15 Apr 2010, 16:13    Post_subject:  

Cool. That could be pretty useful in certain circumstances. Especially for people who want to help other people with their code, or test algorithms, and don't have immediate access to a proper development environment (maybe they are on the road or visiting a friend or using a cell-phone).
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 

Joined: 30 Sep 2005
Posts: 1104
Location: Vienna Austria

PostPosted: Fri 16 Apr 2010, 08:44    Post_subject:  

It won't replace a normal local compiler/debugger.

I tried it yesterday but only superficially with C++

I does not seem to be able to handle a situation where the program needs to suspend while it receives user input. e.g.

#include <iostream>
#include <string>

using namespace std;

int main()

string name="";
cout << "What is your name" << endl;

cout << "Welcome " << name << endl;
cout << "You're an impostor" << endl;

return 0;


The program will not pause at the getline statement so that the user can input his name. The output at the server is broken simply because because it has never received it.

Life is too short to spend it in front of a computer
Back to top
View user's profile Send_private_message Visit_website AIM 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0434s ][ Queries: 12 (0.0033s) ][ GZIP on ]