制作一组代码复制并粘贴给别人编辑 [英] making a set of code copy and pasteable to someone elses editor

查看:186
本文介绍了制作一组代码复制并粘贴给别人编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

确定以下代码,是我的程序的代码,基本上,我使用bluej,所以我可以将一些代码复制并粘贴到论坛中,其他人可以将其复制到他们的编辑器中,所以基本上我想要有人来告诉我如何使这组代码能够自己运行,我已经标记了代码的主要区域,如主要和图形面板等对不起代码的负载,但这对我来说很重要,我得到这一切一起工作。谢谢你们


ok the following code , is the code for my program, basicly, i use bluej, so i can just copy and paste some code into the forums and someone else can copy it in to their editor, so basicly i want someone to show me how to make this set of code to be able to run itself, i have marked the main areas of the code like the main and graphics panel etc sorry about the load of code, but this is important to me that i get this all working together. thanks guys



展开 | 选择 | Wrap | 行号

推荐答案

所以,哪里你从这里获得了这些代码吗?

我没有把它放到我的任何一个编辑器中但是当你把main方法放在那个主类中并尝试编译并运行它时会发生什么?
So, where did you get this code from?
I haven''t put it into any of my editors but what happens when you put that main method inside that main class and try to compile and run it?


我在bluej(一个初学者程序)中编写了这段代码

i wrote this code in bluej ( a beginer program)

< span class =codeLinkonclick =Blur(this,this.parentNode.parentNode,getChildren(t his),true);>展开 | 选择 | Wrap | 行号


基本上,我需要帮助这个程序,但是太全面了解问题,想要的人为了帮助我,实际上必须将这些代码放入他们自己的编辑器中并自己编译以查看它实际上是否有错。


谢谢。
basically, i need help with this program, but too fully understand the problem, the people who want to help me, actually will have to put this code into their own editor and compile it themselves to see whats actually wrong with it.

thanks.


这篇关于制作一组代码复制并粘贴给别人编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆