• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

c language

 
Ankur Jain Kothari
Ranch Hand
Posts: 154
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start here: c programming tutorial
 
Ankur Jain Kothari
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i keep getting a warning no new line at the end of file....what does it mean?
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Campbell Ritchie
Sheriff
Posts: 48370
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok....memory erased
 
Ggi Punjab
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
C language is very difficult. I am very weak in C language. objective type questions are difficult.


.......................
 
nansi js
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think C Programming Language is very easy.
 
Campbell Ritchie
Sheriff
Posts: 48370
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
nansi js wrote:I think C Programming Language is very easy.
Nobody else does
 
Joseph Eagan
Greenhorn
Posts: 4
C++ Objective C Windows
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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++.
 
Campbell Ritchie
Sheriff
Posts: 48370
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
C++ Objective C Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15205
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
lambadi ganesh
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you put the code online
 
Brian Overland
author
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic