将数据从一种形式拉到另一种形式 [英] Pulling data from one form to another

查看:110
本文介绍了将数据从一种形式拉到另一种形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在C ++中,是否可以将静态数据从一个系统提取到另一个具有java输出的系统?



我尝试过:



新手大脑可以想到的一切

解决方案

如果你的意思是我的C ++程序可以访问吗?在不同系统上运行的Java应用程序的内存?然后答案是一个主要的不!

你应该感到高兴,因为安全后果将是可怕的...



如果那不是你要求的,你需要坐下来仔细考虑你想要做的事情,并更详细地问我们!


您必须在两台机器都理解的某个渠道中传输数据。一个简单的解决方案是使用一些网络连接,如套接字或只需使用某些互联网服务(如ftp服务器)在它们之间共享数据。



如果两台机器都可以访问公共网络驱动器,则可以在其上保存文件。 / BLOCKQUOTE>

In C++, it it possible to pull static data from one system to another that has java output?

What I have tried:

Everything my novice brain can think of

解决方案

If you mean "Can my C++ program access the memory of a Java application running on a different system?" then the answer is a major "NO!"
And you should be glad it is as the security ramifications would be horrendous ...

If that isn't what you are asking, you need to sit down and think a lot more carefully about exactly what you are trying to do, and ask us in a lot better detail!


You must transfer the data in some channel which both machines are understanding. A simple solution is to use some network connection like sockets or simply use some internet service like ftp server to share the data between them.

If both machines have access to a common network drive you can save a file on it.


这篇关于将数据从一种形式拉到另一种形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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