The C language

The C language

Post by tatampoy on Tue Jan 20, 2009 8:56 am
([msg=16647]see The C language[/msg])

Could anyone give me the uses of the various C languages like C, C++, C#, etc? And what would be the best language to choose for starters?
tatampoy
New User
New User
 
Posts: 9
Joined: Sat Oct 04, 2008 8:39 am
Blog: View Blog (0)


Re: The C language

Post by xcurious on Wed Jan 28, 2009 4:20 pm
([msg=17011]see Re: The C language[/msg])

learn c
vb, if u really fail
- Apologies to all who I have flamed in the past. Thanks mods for unbanning me.


ckw100 wrote:so i have been pacticeing my batch file hacking for networks
xcurious
Experienced User
Experienced User
 
Posts: 79
Joined: Sun Sep 21, 2008 3:49 pm
Blog: View Blog (0)


Re: The C language

Post by UNL2009 on Tue Feb 24, 2009 10:28 am
([msg=18543]see Re: The C language[/msg])

I learned C....Probly the easiest language to learn in my opinion....I wouldn't try learning C++ yet, because C is pretty much the basis of all the languages. C++ is nearly identical to C, but different....
UNL2009
New User
New User
 
Posts: 22
Joined: Sun Sep 07, 2008 2:32 pm
Blog: View Blog (0)


Re: The C language

Post by STUDIOny on Tue Feb 24, 2009 11:28 am
([msg=18545]see Re: The C language[/msg])

Meh, I am struggling to choose myself, over C and C++.
I just see so many topics that say C++ is just C, but better, which makes me tend to think I should go C++.
So what if its a little harder, Is there any point learning C over C++, other than its easier?
STUDIOny
Experienced User
Experienced User
 
Posts: 73
Joined: Thu Feb 05, 2009 7:40 pm
Location: Newtownards, Northern Ireland
Blog: View Blog (0)


Re: The C language

Post by aNewHobby4me on Tue Feb 24, 2009 11:34 am
([msg=18546]see Re: The C language[/msg])

Learning c will never be a waste of time, IMHO. Java and c++ both have c in their ancestry, so even after you move on you will still be using what you've learned from c.
"To understand recursion you must first understand recursion."
aNewHobby4me
Poster
Poster
 
Posts: 185
Joined: Thu Jan 08, 2009 5:44 pm
Blog: View Blog (0)


Re: The C language

Post by STUDIOny on Tue Feb 24, 2009 11:42 am
([msg=18548]see Re: The C language[/msg])

Yes but what I'm saying is, why learn C, if I can just learn C++, seeing as it basically is C, with more shit...
And C++ can take me to JAVA aswell then ;)
No point learning C just so I can go to C++ is there?
STUDIOny
Experienced User
Experienced User
 
Posts: 73
Joined: Thu Feb 05, 2009 7:40 pm
Location: Newtownards, Northern Ireland
Blog: View Blog (0)


Re: The C language

Post by aNewHobby4me on Tue Feb 24, 2009 11:53 am
([msg=18549]see Re: The C language[/msg])

STUDIOny wrote:Yes but what I'm saying is, why learn C, if I can just learn C++...


I see your point. Go with c++. Here is a university level class for you.

http://see.stanford.edu/see/courseinfo. ... 8262e09e4e

Enjoy :)
"To understand recursion you must first understand recursion."
aNewHobby4me
Poster
Poster
 
Posts: 185
Joined: Thu Jan 08, 2009 5:44 pm
Blog: View Blog (0)


Re: The C language

Post by STUDIOny on Tue Feb 24, 2009 12:41 pm
([msg=18553]see Re: The C language[/msg])

Downloading now, cheers for the link.
Is this not for people who have knowledge with C++ already tho?
STUDIOny
Experienced User
Experienced User
 
Posts: 73
Joined: Thu Feb 05, 2009 7:40 pm
Location: Newtownards, Northern Ireland
Blog: View Blog (0)


Re: The C language

Post by cen on Tue Feb 24, 2009 4:19 pm
([msg=18560]see Re: The C language[/msg])

I've never used C#, but have used C and C++ quite a bit and have been taught both in college. I believe that C# is simply C++, but more accurate as an Object Oriented Language (but I could EASILY be wrong about C#).

There is a LOT more code out there done in C. If you learn C++, you WILL NOT understand many of the commands used in C (this is particularly important if you're researching 'security documents'). It wouldn't take long to learn these differences, but C is a MUCH better place to learn in my opinion - It will teach you details about coding that many languages 'hide' these days. Once you understand how to use C, just start learning about Object Oriented Programming, and search for topics like 'the differences between C and C++'. Particularly the difference between the output - and how to access the class information - Although any reasonable C++ book WILL explain these differences for you.

However, this is if you want to learn how to develop software, if you're more interested in learning web design then I would suggest forgetting about C for now and just focus on PHP and MySQL... ;)

It's ridiculous how closely related PHP is to C/C++ and what you can do with PHP is amazing, it's probably the STRONGEST scripting language I've ever used, WAY more useful then other scripting languages like javascript and VBScript (although javascript will ALWAYS be useful I think). And even comparable to full fledged languages like C/C++.

I haven't even used C/C++ since college, when developing software I actually use Delphi (which I learned after college, but I certainly wouldn't recommend Delphi as a starter language - If you really want to understand Delphi for application design, then I would suggest fully understanding C++, then migrate to Delphi. There are some major differences between the two (especially the layout of the code, how the classes work, releasing memory, etc...) but having knowledge of C++ will allow you to migrate to Delphi much easier. You can also just as easily move from PHP to Dephi as well instead of using C++ as a stepping block. Delphi is more comparable to Visual Basic I think, but WITHOUT all the nonsense and ridiculous issues that arise with VB, and MUCH more powerful.

But please, remember - MOST of the code examples you'll find even today (related to security anyways...) - Are likely done in C/C++ - mostly because most of them are used in Unix/Linux and compiled @ the command line using SSH/Telnet or run as a script through PHP/CGI/Perl etc...

If I were new to programming, I would certainly begin by learning PHP/Mysql then Delphi. This will immediately allow you to develop applications as well as web software. Once I had a good understanding of these languages, I would learn C for 'code accessibility reasons', then finally migrating to .NET (simply because it obviously isn't going away and EVERYONE seems to be using it these days - governments/large companies, etc...). It's so widely used because you can convert software from one language to another quite easily with it. I don't like it because it works a lot like java... :(

I hate anything that requires you to download a library package to the client. It's an annoyance, and will prevent many people from even TRYING your application... ;)

Which is why I still haven't picked up a book on .NET myself... :(

Delphi is a VERY popular language, even today - And you can get paid quite a bit for knowing it because there are so few of us who actually use it today. It's a language used quite often in the industry due to it's ease of use and because there is TONS of freely distributed example code/packages available for it to do some REALLY cool and advanced applications. It is also a major cash cow without even developing software because you can easily develop your own packages that will integrate with the IDE which other programmers will gladly pay you for if it's done well.
User avatar
cen
Experienced User
Experienced User
 
Posts: 77
Joined: Mon Jun 30, 2008 1:06 pm
Blog: View Blog (0)


Re: The C language

Post by STUDIOny on Tue Feb 24, 2009 6:54 pm
([msg=18586]see Re: The C language[/msg])

Brilliant post cen, very helpful I must admit.
After reading what you posted on C, I'm actually considering going with C.
I have been learning C++ for the past few days, so I am not very far, and from your post (Which you seem to know what your talking about) I am considering going C first.

Hugely because you said, You will not understand a lot of C code if you start with C++, Which I thought you would. I thought it was similar, but after checking out some code, I do see the difference. If I start with C, it will be easier, I will have good Knowledge, then when I do decide to learn C++ it will be much easier.

I'm not sure about learning PHP first tho, I think for myself, I should learn C and C++ first, then PHP will be pretty much easy, seeing as its quite similar.

Anyhow, I've had a few drinks and I am probably babbling on about the biggest pile of shite, peace.
STUDIOny
Experienced User
Experienced User
 
Posts: 73
Joined: Thu Feb 05, 2009 7:40 pm
Location: Newtownards, Northern Ireland
Blog: View Blog (0)


Next

Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests

cron