Francisco
In fact, I've just checked the gcc implementation and it's just that. Using the heap functions over a container (normally vector or deque)
Inam
I need help
Inam
Linked list in C And Array List in Java Both are same.?
Anonymous
Arraylist is dynamic array
Anonymous
And linkedlist?
Linkedlist is linked list
Inam
Inam
Can someone please elaborate the difference between the two .
Anonymous
Yes
So linkedlist is a collection of nodes. Each node has a variable storing value of node and other a pointer storing address to next node
Inam
But there's no concept of pointers in Java. Is this true?
Anonymous
But there's no concept of pointers in Java. Is this true?
Yeah u can't explicitly use pointers. Internally it has. But u can always implement linkedlist using objects
Inam
Insertion or deletion in Java is very easy as compared to C. On a scale of 1-10, how much do you agree?
Inam
Like in Java, We can just type list.add(); List.remove(); While in C we need a long 4-5 lines if code for Insertion or deletion at specific position
Anonymous
That's cuz ur using collection framework
Inam
Thanks bud
Anonymous
Hi.. I am a newbie in programming. Please is it possible to have a mentor or a guide in this forum to help me grow? I will very much appreciated it. Thanks.
Anonymous
Thanks... Please I permit me to pm you.
Ilya
Hi.. I am a newbie in programming. Please is it possible to have a mentor or a guide in this forum to help me grow? I will very much appreciated it. Thanks.
If you're new to programming, first, don't learn c or c++. Learn some other language. C is too hard to let for beginners
Anonymous
I will accept you as my pupil.
Do you always write words of wisdom?
Anonymous
I already started learning the basics. So should I stop? Or what do u think?
Nah, C++ is fine, it will help you develop a strong base in programming.
Ilya
I already started learning the basics. So should I stop? Or what do u think?
Because, learning C means you must know also computers, their architecture, and many other basic things.
Anonymous
What do you know now? In IT and in programming?
For now i can edit web codes... Bootstrap. And I can work with WordPress. But all this not on a professional base. For c and Java I just started learning the basics.
Anonymous
This is nothing, sorry.
No it's fine. I am here to learn I dont mind.
Mohit Rai
Someone please send C++ best book pdf
Ilya
No it's fine. I am here to learn I dont mind.
I mean based on this it'll be hard for you to learn C.
Anonymous
This don't give you even an idea how computers work
Do not discourage him, plenty of programmers start with a scripting language and know the way to manipulate commands to get the result they desire.
Ilya
Anonymous
Do you have any education in CS?
I am in a university now. Offering computer engineering. But truth be told we are not that advanced.
Talula
That is normal for any college.
Ilya
I am in a university now. Offering computer engineering. But truth be told we are not that advanced.
Then if you are determined to learn C/c++, try finding some general book on computers and operating systems, something like introduction to computers. I don't know any such book in English unfortunately.
Ilya
For C, the is a book "C by Dietel" Is it a good and recommendable book? Have you come across it?
Well yes these are very good books They (the father and son) have a book on c++, too. The books are distinct from others in that they give also introduction to IT and CS. So for you personally this will be an excellent choice. Harvey Deitel is a university professor so these books are written with understanding of problems of very beginning students
Ilya
For C, the is a book "C by Dietel" Is it a good and recommendable book? Have you come across it?
And you obviously must choose what to learn, pure C or C++. C is much more limited language and a bit outdated. But it is more stupid in concepts and easier to learn. C++ is much more complicated and diverse but lengthy and much more harder in basic concepts.
Ilya
Noted
I suggest you learn c++, kind of it is more similar to Java you also learn and more modern. C++ kind of includes pure C, too, so you will learn both
Ilya
🤣
What is so funny I don't know
Anonymous
Sexist.
And classist.
Anonymous
Yes. Disgusting.
Ilya
Sexist.
Did we talk about sex?
Anonymous
Anonymous
#ot
Ilya
Ok... I guess I have to settle for one.
One more pice of advice - learn gradually, step by step. Don't try to do complex things while you can't do basics. Because many people "died" on there way to high skill in C and c++ only because of this.
Anonymous
Thanks a lot to everyone. I am very grateful. It's really hard sometimes to find your way alone. But with experienced people like you I am sure to grow better in the field. I will key to what you all have said. And please I might keep coming from time to time with my challanges.
Talula
I would also recommend doing things project based so you learn things by force... you learn how to do something.
Anonymous
Thanks again. Let me carry on with today's task. Nice day to you all. Its 7 am here.
Talula
Take care.
Anonymous
Tokin
C++ will be pretty overwhelming for newbies
Tokin
Stick with C.. and maybe with some hope you'd never have to move to C++