请帮助我将C ++转换为C# [英] Please help me convert C++ to C#

查看:84
本文介绍了请帮助我将C ++转换为C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须将以下代码从C ++转换为C#.但是我以前从未学习过C ++语言.如果可以的话,请帮我,非常感谢.

I have to convert below code from C++ to C#. But I never learn C++ language before. Please help me if you can, thank a lot of.

推荐答案

如果您对C#一无所知,那么为什么要从C ++转换为C# .

-Saurabh
If you don''t know anything about C# then why do you want to convert from C++ to C#.

-Saurabh


:omg:
你想做什么?
我同意楼上的意见.
:omg:
What do you want to do?
I agree with the upstairs.


如果您没有回答问题,请不要按"answer".使用下面的表格编辑您的帖子.考虑到您的澄清帖子,请允许我向您解释您要问我们的内容:

您好,我是学生.我的老师要求我将一些C ++代码转换为C#.大概他认为这对我来说是一个很好的学习练习.但是,我缺乏做到这一点的技能,也缺乏学习如何完成工作的应用程序,因此,我决定不请教我的老师,而是与一群随机的陌生人为我做作业,所以我可以通过,即使我不配.我进一步假设我的老师是愚蠢的,不知道如何使用谷歌,并且不认为如果他对自己知道我应该转换的代码片段进行谷歌搜索,他会找到这篇文章,因此知道我何时上交一些代码,它来自哪里.

您知道为什么,即使我们在这里帮助人们,我们对此也会有问题吗?您是否认为您想去找老师并承认您所做的事情,然后再找到他(谷歌已将其缓存,即使您将其删除了),然后看看您是否能从中获得帮助?他关于如何实际做自己的工作?如果您要做到所有这些,请尽力而为,坚持做特定的事情,我知道我将是第一个为您提供帮助的人.但是,当人们甚至不愿意尝试并在此处张贴他们的全部作业时,我们的答案肯定是,如果继续做自己在做的事情,您将会失败.
Please don''t push ''answer'' if you''re not answering the question. Use the form below to edit your post. Allow me to explain to you what it is you have asked us, taking into account your clarifying posts:

Hello, I am a student. My teacher has asked me to convert some C++ code in to C#. Presumably he thinks this would be a good learning exercise for me. However, I lack the skill to do this, and the application to learn how it is done, so rather than speak to my teacher, I''ve decided to ask a group of random strangers to do my assignment for me, so I can pass, even tho I don''t deserve to. I further assume my teacher is stupid and does not know how to use google, and did not consider that if he googles a snippet of the code he knows I am supposed to be converting, he will find this post and therefore know when I turn in some code, where it came from.

Can you see why, even tho we''re here to help people, we might have a problem with that ? Do you think you might like to go to your teacher and admit what you''ve done, before he finds this post ( google has it cached, even if you deleted it ), and see if you can''t get some help from him on how to actually do your own work ? If you were to do all of that, try your best, and get stuck on something specific, I know I''d be the first to try to help you. But when people can''t be bothered to even try, and post their entire assignment here, our answer must be, you''re going to fail if you keep doing what you''re doing.


这篇关于请帮助我将C ++转换为C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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