Progam没有运行 [英] Progam not running

查看:56
本文介绍了Progam没有运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我正在使用C ++ Builder V5.0来运行我的C程序。我不是

C的专家。通常,我按照以下步骤运行C程序:''编译'''''使

项目'',''建立项目''然后''运行''。很多次,由于涉及大量的数据处理,我有一个堆栈

溢出错误,对于

这个,我去选项 - 链接器并增加MaxStackSize ,

来解决这个问题。


突然间,我开始遇到我的一个问题
程序,我知道我过去已经成功运行了这个程序。

问题是:当我在''编译单元'之后点击''Make Project''时

操作,我得到以下错误对话框:


C ++ Builder开发环境遇到问题,需要关闭
。我们对造成的不便很抱歉。请告诉

Microsoft有关此问题的信息。 (发送)(不要发送)等


其他C程序,其中一些在同一目录中,正在运行

好​​吧。这个特定的程序涉及大量数据。在这个

程序中,如果我减少数组维度,它可以正常工作。我已经从我的硬盘中释放了一些内存,怀疑这个问题

可能是因为内存不足,但这并没有达到目的。

欢迎任何建议。

谢谢

Hi All,

I am using C++Builder V5.0 to run my C programs. I am not an expert in
C. Normally, I run the C program with these steps: ''Compile'', ''Make
Project'', ''Build Project'' and then ''Run''. Many a times, I have a stack
overflow error due to huge amount of data processing involved, and for
this, I go to Options--Linker and increase the MaxStackSize, which
sorts out the problem.

All of a sudden, I have started to get trouble with one of my
programs, and I know I have run this program successfully in the past.
The problem is : When I click on ''Make Project'' after ''Compile Unit''
operation, I get the following error dialog box:

C++ Builder Development Environment has encountered a problem and
needs to close. We are sorry for the inconvenience. Please tell
Microsoft about this problem. (Send)(Don''t Send) etc.

The other C programs, some of which in the same directory, are running
alright. This particular program has huge data involved. Within this
program, if I decrease the array dimensions, it works fine. I have
freed some memory also from my hard disk suspecting that this problem
may be due to insufficient memory, but that doesn''t serve the purpose.
Any suggestions are most welcome.
Thanks

推荐答案

vj写道:
vj wrote:

大家好,


我正在使用C ++ Builder V5.0来运行我的C程序。
Hi All,

I am using C++Builder V5.0 to run my C programs.



* comp *。* lang *。* c ++ *的哪一部分你还不明白?换句话说,

你是OT。


另外,crosspost是邪恶的,所以我已经将它删除了。

what part of *comp*.*lang*.*c++* you haven''t understood? In other words,
you are OT.

Additionally, crosspost is evil, so i''ve removed it.


我不是

C的专家。通常,我按照以下步骤运行C程序:''Compile'',''Make

项目'',''建设项目''然后''运行''。很多次,由于涉及大量的数据处理,我有一个堆栈

溢出错误,对于

这个,我去选项 - 链接器并增加MaxStackSize ,这是

来解决这个问题。
I am not an expert in
C. Normally, I run the C program with these steps: ''Compile'', ''Make
Project'', ''Build Project'' and then ''Run''. Many a times, I have a stack
overflow error due to huge amount of data processing involved, and for
this, I go to Options--Linker and increase the MaxStackSize, which
sorts out the problem.



哦,这意味着你的程序编写得不好,而不是你做了大量的数据处理。如果你必须分配大数据结构,就不要使用静态内存。

Oh well, this means that your program is bad written, not that you do
huge amount of data processing. Don''t use static memory if you have to
allocate big data structures.


>

突然之间,我已经开始使用我的一个
程序遇到麻烦了,我知道我以前已经成功运行了这个程序。

问题是:当我在''编译单元'''
操作后单击''Make Project''时,我得到以下错误对话框:


C ++ Builder开发环境遇到了问题,需要关闭
。我们对造成的不便很抱歉。请告诉

Microsoft有关此问题的信息。 (发送)(不要发送)等等。
>
All of a sudden, I have started to get trouble with one of my
programs, and I know I have run this program successfully in the past.
The problem is : When I click on ''Make Project'' after ''Compile Unit''
operation, I get the following error dialog box:

C++ Builder Development Environment has encountered a problem and
needs to close. We are sorry for the inconvenience. Please tell
Microsoft about this problem. (Send)(Don''t Send) etc.



我建议你不要发送。除此之外,如果编译器崩溃,

更改编译器。

I suggest you not to send. Apart from this, if the compiler crashes,
change compiler.


其他C程序,其中一些在同一目录中,是跑步

好​​吧。这个特定的程序涉及大量数据。在这个

程序中,如果我减少数组维度,它可以正常工作。我已经从我的硬盘中释放了一些内存,怀疑这个问题

可能是由于内存不足,但这并不能达到目的。
The other C programs, some of which in the same directory, are running
alright. This particular program has huge data involved. Within this
program, if I decrease the array dimensions, it works fine. I have
freed some memory also from my hard disk suspecting that this problem
may be due to insufficient memory, but that doesn''t serve the purpose.



但事实并非如此。是有限的堆栈大小。使用动态分配。


问候,


Zeppe

it''s not the case. Is the limited stack size. Use dynamic allocation.

Regards,

Zeppe


vj写道:
vj wrote:

大家好,


我正在使用C ++ Builder V5.0来运行我的C程序。我不是

C的专家。通常,我按照以下步骤运行C程序:''编译'''''使

项目'',''建立项目''然后''运行''。很多次,由于涉及大量的数据处理,我有一个堆栈

溢出错误,对于

这个,我去选项 - 链接器并增加MaxStackSize ,

来解决这个问题。


突然间,我开始遇到我的一个问题
程序,我知道我过去已经成功运行了这个程序。

问题是:当我在''编译单元'之后点击''Make Project''时

操作,我得到以下错误对话框:


C ++ Builder开发环境遇到问题,需要关闭

Hi All,

I am using C++Builder V5.0 to run my C programs. I am not an expert in
C. Normally, I run the C program with these steps: ''Compile'', ''Make
Project'', ''Build Project'' and then ''Run''. Many a times, I have a stack
overflow error due to huge amount of data processing involved, and for
this, I go to Options--Linker and increase the MaxStackSize, which
sorts out the problem.

All of a sudden, I have started to get trouble with one of my
programs, and I know I have run this program successfully in the past.
The problem is : When I click on ''Make Project'' after ''Compile Unit''
operation, I get the following error dialog box:

C++ Builder Development Environment has encountered a problem and
needs to close.



这意味着集成开发环境(IDE)已经崩溃了
。你的程序与此无关。正如消息所说:

C ++ Builder开发环境遇到了问题

而不是你的程序。

This means that the Integrated Development Environment (IDE) has
crashed. Your program has nothing to do with this. As the message says:
"C++ Builder Development Environment has encountered a problem "
not your program.


对于给您带来的不便,我们深表歉意。请告诉

Microsoft有关此问题的信息。 (发送)(不要发送)等
We are sorry for the inconvenience. Please tell
Microsoft about this problem. (Send)(Don''t Send) etc.



发送给微软,但可能你的项目文件已损坏。

只是从头开始重建您的项目,它可能会工作。

Send it to Microsoft, but probably your project file has been corrupted.
Just rebuild your project from scratch and it will probably work.


其他C程序,其中一些在同一目录中,正在运行
$ b $好吧。这个特定的程序涉及大量数据。在这个

程序中,如果我减少数组维度,它可以正常工作。我已经从我的硬盘中释放了一些内存,怀疑这个问题

可能是因为内存不足,但这并没有达到目的。

欢迎提出任何建议。

谢谢
The other C programs, some of which in the same directory, are running
alright. This particular program has huge data involved. Within this
program, if I decrease the array dimensions, it works fine. I have
freed some memory also from my hard disk suspecting that this problem
may be due to insufficient memory, but that doesn''t serve the purpose.
Any suggestions are most welcome.
Thanks



这与您的计划无关。这不是你的程序

崩溃但VC ++

This has nothing to do with your program. It is NOT your program
that crashed but VC++


4月17日上午11:37,jacob navia< j ... @ jacob.remcomp.frwrote:

[snip]
On Apr 17, 11:37 am, jacob navia <j...@jacob.remcomp.frwrote:
[snip]

这与你的程序无关。这不是你的程序

崩溃但VC ++
This has nothing to do with your program. It is NOT your program
that crashed but VC++



我对此表示怀疑。他说他正在运行C ++ Builder。这是Borland。


到OP:

如果你能够生成一个演示问题的简单例子,

在这里发布,我们可以诊断它。

I doubt it. He said he is running C++ Builder. That''s Borland.

To the O.P.:
If you can produce a simple example that demonstrates the problem,
post it here and we can diagnose it.


这篇关于Progam没有运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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