教程从Java的角度来看C指针和数组 [英] Tutorial on C pointers and arrays from a Java standpoint
问题描述
我目前在大学一年级学生,在CS专业。我只是用我的简介计算机程序设计类来完成。我喜欢它,觉得我学习的好一点。
I'm currently a freshman in college, majoring in CS. I'm just about done with my "Intro to Computer Programming" class. I like it and feel like I'm learning a good bit.
几天前,我读了乔尔的黄祸的Java学校中。 链表?我想,这些都不是甚至很难。我们已经做了一堆那些已经在课堂上我在的现在。这是正确的,因为在Java中,他们不是那么难。但不管怎么说,我试着给写一个是C一试。
A couple days ago, I read Joel's The Peril Of Java Schools. "A Linked List?" I thought, "those aren't even hard. We've done a bunch of those already in the class I'm in right now." Which is correct, because in Java, they're not that hard. But anyways, I tried to give writing one in C a try.
和它是这么难!
乔尔是正确的,我想......的Java涉及这么多的小itsy-bitsy的东西你,这是真的没有那么难。但我决心克服我校的Java-突地,并学习如何写这个党在C.链表
Joel was right, I think ... Java deals with so many little itsy-bitsy things for you that it's really not that hard. But I'm determined to overcome my school's Java-tude and learn how to write this dang linked list in C.
所以我想,而不是试图问很多很多的一点微小的问题,我问,有没有人知道一个良好的(安培;免费)学习C网上教程?具体来说,学习如何处理指针,以及所有那些符号(&安培;
, *
, **
, []
,我想他们是如何一起工作)觉得我已经pretty在Java中精通,所以我不需要对如何写一个教程你好,世界!程序。但后来我绝对没有准备好进入任何超先进的C或C ++什么,因为我所知道的就是Java。
So I guess, instead of trying to ask lots and lots of little tiny questions, I am asking, does anyone know of a good (& free) online tutorial for learning C? Specifically, learning how to deal with pointers, and all those symbols (&
, *
, **
, []
and how they work together) I'd like to think I'm already pretty proficient in Java, so I don't need the tutorials on how to write a "Hello, World!" program. But then I'm definitely not ready to get into any super-advanced C or C++ anything, because all I know is Java.
任何帮助AP preciated!
Any help appreciated!
推荐答案
有些教程:
- 移动从Java到C ++
- 从Java学习C
- ℃,Java程序员当然(课程笔记和幻灯片)
- Moving from Java to C++
- Learning C from Java
- C for Java Programmers course (course notes and slides)
有一些很好的指针答案可能帮助:
Some good pointer answers which might help:
- What对理解指针和什么样的障碍做才能克服它们?
- What是一个void指针,什么是一个空指针?
- 阵列,有什么意义呢?
- What做的人很难找到关于C指针?
- Switching从Java到C ++ - ?有什么简单的方法
- 就是Java通过引用传递?
- What are the barriers to understanding pointers and what can be done to overcome them?
- What is a void pointer and what is a null pointer?
- Arrays, what's the point?
- What do people find difficult about C pointers?
- Switching from Java to C++ - what's the easy way?
- Is Java pass by reference?
首先是关于指针和他们的陷阱一个该死的好读,如果你能得到过去的Pascal语法。
The first is a damn good read about pointers and their pitfalls, if you can get past the Pascal syntax.
这篇关于教程从Java的角度来看C指针和数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!