• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

c language

 
Ranch Hand
Posts: 154
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Start here: c programming tutorial
 
Ankur Jain Kothari
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i keep getting a warning no new line at the end of file....what does it mean?
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok....memory erased
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
C language is very difficult. I am very weak in C language. objective type questions are difficult.


.......................
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think C Programming Language is very easy.
 
Campbell Ritchie
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

nansi js wrote:I think C Programming Language is very easy.

Nobody else does
 
Greenhorn
Posts: 4
Objective C C++ Windows
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Objective C C++ Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 )
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can you put the code online
 
author
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic