帮我看看这段代码有什么问题 [英] Help me to find out what is wrong with this code

查看:61
本文介绍了帮我看看这段代码有什么问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

这是我在这篇文章中的第二个查询。首先感谢Banfa,帮助我解决了我的第一个问题。


这是我写的代码。

Hello everybody,
This is my second query in this post. Firstly thankx to Banfa, for helping me solve my first query.

Here is the code which I have written.

展开 | 选择 | 换行 | 行号

推荐答案

对不起,该程序中存在一些语法错误。

Hey sorry, there is some syntax error in that program.

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


大家好,

Aah!我想我很困惑你们。或者代码似乎令人困惑。


没关系。让我说清楚。这是一个读取文本文件的简单程序。首先在main中我调用一个名为loadFile的方法。以流为参数。

Hi guys,
Aah! I think I have confused you guys. Or is that the code seems confusing.

Never mind. Let me clear. This is a simple program to read a text file. Firstly in main I call a method called "loadFile" which takes a stream as an argument.

展开 | 选择 | Wrap | 行号


我身上没有任何明显的错误,生病了尝试下载你的附件,让你的代码更近一点。


你得到的例外是什么?您是否尝试过使用debuging实用程序来尝试查找抛出异常的位置并确切了解代码实际执行的操作?
Nothing obviously wrong has popped out at me yet, ill try downloading your attachments to look at your code a little closer.

What is the exception you are getting thou? And have you tried using a debuging utility to try and find out where the exception is being thrown and to see exactly what your code is actually doing?


这篇关于帮我看看这段代码有什么问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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