从Java/C#到C ++的最佳方法是什么? [英] What is the best way to go from Java/C# to C++?

查看:93
本文介绍了从Java/C#到C ++的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的大学里,我的大部分课程都使用Java.我最近还在暑期实习中学习了C#(和Visual Studio环境).现在,我要参加计算机图形学入门课程,该课程的研究生希望我们使用C ++通过GLUT访问OpenGL绑定.

At my university most of my classes have been in Java. I have also recently learned C# (and the Visual Studio environment) at a summer internship. Now I'm taking an Intro to Computer Graphics class and the grad student teaching the class prefers us to use C++ to access the OpenGL bindings via GLUT.

在实现从Java/C#到C ++的良好过渡方面,是否有人有任何好的资源?显然,指针将是一个大问题,但是我还要注意其他任何事情吗?任何教程,指南等都将非常有帮助!

Does anyone have any good resources on how to make a good transition from Java/C# to C++? Obviously pointers are going to be a big issue, but any other things I should be looking out for? Any tutorials, guides, etc. would be very helpful!

谢谢!

推荐答案

是的,我也遇到了相同的错误.该大学倾向于依靠Java,然后允许您选择在项目期间要使用的语言.

Yeah, I got bit by the same bug. The university tended to lean on Java, and then allowed you to choose the language you wanted to work with during projects.

最好的方法就是跳进去.从小处着手,迈出一些小步骤,到那里时,谷歌的事情会让您感到困惑.还可以找到发布了源代码的项目.了解他们如何构建程序.基本上,只是修改概念.网络上有很多信息.

The best way is to just jump in. Start small, take baby steps, and just Google things that confuse you when you get there. Also find projects that have released their source code. See how they structure their programs. Basically, just tinker with concepts. There is plenty of information around the web.

让它有趣,并获取 C ++游戏开发书,所以它不会变得麻木麻木.

Make it fun and grab a C++ game development book so it doesn't become mind numbing too quickly.

这是我在学习时发现有用的地方

Here's some places that I found useful while learning

http://www.cprogramming.com/

http://www.wikipedia.com

http://www.cplusplus.com/

这篇关于从Java/C#到C ++的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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