我现在应该学习C ++还是Java? [英] Should I learn C++ or Java now?

查看:65
本文介绍了我现在应该学习C ++还是Java?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读了许多关于首先学习C ++或Java的主题。

似乎每个人都说了不同的东西。

我想知道我是否应该学习C ++或Java。

首先关于我自己。

我知道PHP,BASIC,当然还有HTML。

我会的9月15岁。

我对GUI应用程序编程感兴趣。

我也对编程游戏感兴趣。

我知道我应该学习C ++来编写游戏,但是会学习吗?
Java会让这个过程变得更容易吗?或者我最好只是潜水吧?+ b $ b到C ++?

是否有关于Java或C ++的推荐书籍(取决于哪些

语言我应该先学习一下只知道PHP的初学者和

BASIC?


对不起,如果这篇文章有些冒犯别人的话。

青少年迫切需要建议,

Elijah

I have read many of the topics on learning C++ or Java first.
It seems like everyone says something different.
I would like to know if I should learn C++ or Java.
First a little about myself.
I know PHP, BASIC, and of course HTML.
I''ll be 15 years old in September.
I am interested in programming GUI applications.
I am also interested in programming games.
I know that I should learn C++ to program games, but would learning
Java make the process any easier? Or am I better of just diving right
into C++?
Are there any recommended books on Java or C++ (depending on which
language I should learn first) for the beginner who only know PHP and
BASIC?

Sorry if this post some how offends somebody.

A teenager in desperate need of advice,
Elijah

推荐答案

Elijah写道:
Elijah wrote:
我已经阅读了许多关于首先学习C ++或Java的主题。
似乎每个人都说了不同的东西。
我想知道我是否应该学习C ++或Java 。
首先介绍一下我自己。
我知道PHP,BASIC,当然还有HTML。
我将在9月份15岁。
我对编程感兴趣GUI应用程序。
我也对编程游戏感兴趣。
我知道我应该学习C ++来编写游戏
但是学习Java会让这个过程变得更容易?或者我是否更喜欢直接进入C ++?
是否有关于Java或C ++的推荐书籍(取决于我应该首先学习哪种语言)
初学者谁知道PHP和BASIC?

对不起,如果这篇文章有些冒犯别人的话。

一个急需建议的青少年,
I have read many of the topics on learning C++ or Java first.
It seems like everyone says something different.
I would like to know if I should learn C++ or Java.
First a little about myself.
I know PHP, BASIC, and of course HTML.
I''ll be 15 years old in September.
I am interested in programming GUI applications.
I am also interested in programming games.
I know that I should learn C++ to program games
but would learning Java make the process any easier?
Or am I better of just diving right into C++?
Are there any recommended books on Java or C++
(depending on which language I should learn first)
for the beginner who only know PHP and BASIC?

Sorry if this post some how offends somebody.

A teenager in desperate need of advice,




首先学习Java可能会更有趣。


今天的编程游戏是关于高性能图形。

采取尽可能多的数学你可以得到的课程*注意*!



It would probably be more fun to learn Java first.

Programming games today is about high performance graphics.
Take as many math courses as you can get and *pay attention*!


" Elijah" < EL *********** @ yahoo.com>在消息中写道

news:63 ************************** @ posting.google.c om ...
"Elijah" <el***********@yahoo.com> wrote in message
news:63**************************@posting.google.c om...
我已经阅读了许多关于首先学习C ++或Java的主题。
似乎每个人都说了不同的东西。
我想知道我是否应该学习C ++或Java 。
首先介绍一下我自己。
我知道PHP,BASIC,当然还有HTML。
我将在9月份15岁。
我对编程感兴趣GUI应用程序。
我也对编程游戏很感兴趣。
我知道我应该学习C ++来编写游戏,但是学习它会让Java变得更容易吗?或者我最好是直接潜入C ++?
对于只懂PHP的初学者,是否有关于Java或C ++的推荐书籍(取决于我应该首先学习的语言)
BASIC?

对不起,如果这篇文章有些冒犯别人的话。

一个急需建议的青少年,
Elijah
I have read many of the topics on learning C++ or Java first.
It seems like everyone says something different.
I would like to know if I should learn C++ or Java.
First a little about myself.
I know PHP, BASIC, and of course HTML.
I''ll be 15 years old in September.
I am interested in programming GUI applications.
I am also interested in programming games.
I know that I should learn C++ to program games, but would learning
Java make the process any easier? Or am I better of just diving right
into C++?
Are there any recommended books on Java or C++ (depending on which
language I should learn first) for the beginner who only know PHP and
BASIC?

Sorry if this post some how offends somebody.

A teenager in desperate need of advice,
Elijah




我不建议学习Java作为学习C ++的权宜之计。学习

Java如果你想用Java编程。如果你的最终目标是学习C ++

立即开始。今天几乎每种

语言都有GUI编程工具,所以我不认为这是语言选择标准。


你也可以考虑蟒蛇。它有很多可供选择。


-

Cy
http://home.rochester.rr.com/cyhome/


>学习C ++最好是在你彻底学习c


如果你真的想学习C ++我不会先考虑C绕道而行。我首先彻底学习C(就像我一样),当你开始编程C ++时,你将不得不忘掉一个

。问题是即使几乎所有的C构造仍然在C ++中工作,它们在C ++上下文中通常都不合适,因为C ++提供的通常要好得多

替代品。
> learning C++ is best done aftee u learn c thoroughly

If you really want to learn C++ I would not take the C detour first. I
you learn C first thoroughly (like I did), you will have to unlearn a
lot when you are start programming C++. The problem is that even though
almost all C constructs still work in C++, they are often not
appropriate in a C++ context because C++ offers usually much better
alternatives.
因为你可以区分语言特定的语法信息(在C中)和面向对象的C ++概念
一旦你在C语言中学习语言语法,当你开始学习
C ++时,你可以在C ++中使用OOPS概念,


C ++并没有强迫你使用OOP概念。因此,我看到仍有许多具有C背景的程序员,实际上是用C ++编写C语言。

学习新编程语言的语法通常是最简单的
部分。学习背后的新概念要困难得多。从Pascal到C的转换

对我来说非常容易,我只需要熟悉另一种语法

。然而,从C到C ++的转换要困难得多,因为我必须学习全新的概念和构建

代码的新方法。

Java因为它是一个独立的平台,如果你不确定高级语言的基本概念,它将会过于沉重。
Because u wud be able to make a differece between language specific
syntactical info(in C) and object oriented concepts of C++
Once u learn language syntax in C thorughly , when u start learning C++ u wud be able to apprciate the OOPS concepts in C++,
C++ doesn''t force you to use OOP concepts. Consequently I see still many
programmers with a C background essentially programming C with C++. The
learning the syntax of a new programming language is usually the easiest
part. Learning new concepts behind it is much harder. The transistion
from Pascal to C was very easy for me, I only had to get familiar with
another syntax. However the transition from C to C++ was much harder
because I had to learn whole new concepts and new ways to structure
code.
Java since its made a platform independent it will be too heavy on u if u are not sure of basic concepts of a high level language ,




Java可以是学习编程是一种完全可以接受的语言。

但是如果我的目标是学习C ++,我也不会绕道而行。


我不喜欢我认为你用来学习编程的语言就是重要的。我开始在C64上用BASIC编程,几乎不是理想的开始。然而,它学会了我的基本概念,如变量,循环,

子程序......等等,你会发现几乎任何其他
语言的概念。我相信在学习编程时,快速和积极的反馈是优势

。在C64上我可以输入一行代码,按

输入并查看结果。使用Python,我可以做同样的事情,并且使用

Python,您可以学习许多重要的概念,包括OOP。一旦

你掌握了基本概念,学习新的编程

语言变得容易多了。


-

Peter van Merkerk

peter.van.merkerk(at)dse.nl



Java can be a perfectly acceptable language to learn programming.
However if the goal is to learn C++ I wouldn''t take that detour either.

I don''t think that the language you use to learn programming is all that
important. I started programming with BASIC on a C64, hardly an ideal
start. Yet it learned me basic concepts like variables, loops,
sub-routines...etc, concepts you will find in just about any other
language. I do believe that quick and positive feedback is advantage
when learning to program. On the C64 I could enter a line of code, press
enter and see the results. With Python I can do the same thing, and with
Python you can learn many of the important concepts including OOP. Once
you have mastered the basic concepts, learning a new programming
language becomes a lot easier.

--
Peter van Merkerk
peter.van.merkerk(at)dse.nl


这篇关于我现在应该学习C ++还是Java?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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