wood burning stoves 2.0*
The moose likes C / C++ and the fly likes c language Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » C / C++
Bookmark "c language" Watch "c language" New topic
Author

c language

Ankur Jain Kothari
Ranch Hand

Joined: Feb 08, 2010
Posts: 154
I have an entrance test based on c language which involves some objectives and then some practical....can anyone suggest me a good resource for learning it?


Do What You Wanna Be....Taking Things The Way They Come
scjp 1.6 91 percent, scmad 90 percent(rounded off to nearest integer)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41125
    
  45
Start here: c programming tutorial


Ping & DNS - my free Android networking tools app
Ankur Jain Kothari
Ranch Hand

Joined: Feb 08, 2010
Posts: 154
i keep getting a warning no new line at the end of file....what does it mean?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9947
    
161

Ankur Jain Kothari wrote:i keep getting a warning no new line at the end of file....what does it mean?


Where and when do you get that warning?

[My Blog] [JavaRanch Journal]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38033
    
  22
Some compilers prefer to have a blank line at the end of the file. It is only a warning, not an error, so you may forget it if you wish.
Ankur Jain Kothari
Ranch Hand

Joined: Feb 08, 2010
Posts: 154
ok....memory erased
Ggi Punjab
Greenhorn

Joined: Apr 01, 2011
Posts: 3
C language is very difficult. I am very weak in C language. objective type questions are difficult.


.......................
nansi js
Greenhorn

Joined: Apr 17, 2011
Posts: 1
I think C Programming Language is very easy.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38033
    
  22
Welcome to the Ranch
nansi js wrote:I think C Programming Language is very easy.
Nobody else does
Joseph Eagan
Greenhorn

Joined: Apr 19, 2011
Posts: 4

I have had C, C++ intermediate and advanced classes, I think it's that C++ is soooo tedious and not easy at all to learn for the beginner although I think it is a good place to start.

I am new here so hello everyone!!! I am starting classes in May for Java, and I am taking a look into it. This site comes highly recommended. I hope Java is a bit easier to grasp than C and C++.


You will die,
I will die a Marine.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38033
    
  22
Joseph Eagan wrote: . . . I am new here so hello everyone!!!
Welcome to the Ranch
This site comes highly recommended. . .
That is because we are good
Joseph Eagan
Greenhorn

Joined: Apr 19, 2011
Posts: 4

Campbell Ritchie wrote:
Joseph Eagan wrote: . . . I am new here so hello everyone!!!
Welcome to the Ranch
This site comes highly recommended. . .
That is because we are good


Thanks ! and that's exactly why I joined )
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Joseph Eagan wrote:I am new here so hello everyone!!! I am starting classes in May for Java, and I am taking a look into it. This site comes highly recommended. I hope Java is a bit easier to grasp than C and C++.

Welcome!

One of the original reasons to create Java was that the language designers wanted to create a language that was easier to use and learn than C++. Java has grown over the years and has gotten some advanced features that are not so easy for beginners to learn (generics, for example), but it is still a lot easier than C++. There are many tricky things in C++ and you have to manage memory and pointers manually - Java doesn't have pointers and automatically cleans up objects that aren't used anymore in your program. Just those two things already make it a lot easier than C++.

Enjoy learning Java and feel free to ask questions on the forums here!


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
lambadi ganesh
Greenhorn

Joined: May 07, 2011
Posts: 12
go with let c and exploring c. these two books help to recover each and every topic . after compliton of these book you feel confidenc man .




go through it
ronald tagoe
Greenhorn

Joined: Jul 07, 2011
Posts: 14
Joseph Eagan wrote:I have had C, C++ intermediate and advanced classes, I think it's that C++ is soooo tedious and not easy at all to learn for the beginner although I think it is a good place to start.

I am new here so hello everyone!!! I am starting classes in May for Java, and I am taking a look into it. This site comes highly recommended. I hope Java is a bit easier to grasp than C and C++.


java is really fun and i think you would enjoy learning it. Itz eazier than c and c++ in terms of its syntax , the functions etc. but your logic in any programming language is virtually the same.
ronald tagoe
Greenhorn

Joined: Jul 07, 2011
Posts: 14
can you put the code online
Brian Overland
author
Ranch Hand

Joined: Sep 09, 2011
Posts: 36
I would say to Joseph, hey, maybe C++ isn't so tedious if you start with one of MY books... namely the most recent, C++ Without ?Fear, 2nd Edition. (Yes, I know, a shameless plug.)

One problem though is that even I haven't written about C in years. Other than the object-oriented and other extensions, C and C++ are so close in 99% of the ways, but that 1% difference might trip you up if you start by learning C++. There are some things C lets you do that C++ doesn't, and vice-versa. (All the class and template stuff, of course, is new in C++ and not supported in C.) Overloading is unique to C++ as opposed to C.

The K&R book, The C Programming Language, still does the job of teaching C succinctly and intelligently, but it moves very, very fast, and it assumes you understand all the concepts of programming -- including what an address is and what it is for.

I would recommend one of my old books, C In Plain English... unfortunately, it hasn't been in print for awhile, I think. But if you can find a copy on eBay.

Best of luck,

Brian Overland
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: c language
 
Similar Threads
using JNI without knowing c/c++
Its not Java, its you (an opinion)
Does XML complement Java?
Java/J2EE vs .NET
convert