Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 18:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



About C languages / next language for me

Discussion on About C languages / next language for me within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2011
Posts: 159
Received Thanks: 57
Red face About C languages / next language for me

Hey,

I've been "working" with vb.net now for quite long. Or long enough for me to notice that it isnt my language.

So I'd like to ask you about C languages. I dont know much or almost anything of them so this could be quite stubid question too They all look quite similar (C, C++, C#, anything more?) so are they? If they are similar what are differents? If I think names they C could be the first language, C++ in more advanced and C# something between them. But maybe some lines of text about their (similarity and differences) could be really good.

The above is the main question but I'd like to ask another too. So far vb.net is the only language I know (enough to make different kind of "basic" programs but still there would be much to learn). What do you suggest to learn next? The main point is that I can do something with it: now and in the future. I have also thought Java because it is so much used but it looks terrbile But what do you think? I've also had a little kind of problems with vb.net's way to "work outside of the program" and a little longer codes was hard to write. (lack of exercise - my laziness )
BeginnerDO is offline  
Old 03/31/2012, 22:54   #2


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,904
Received Thanks: 25,394
C, C++ and C# are actually totally different languages although C and C++ have some things in common.

C is the oldest language and has a procedural programming concept. It does neither support OOP, nor generic programming. It is native, which means it is directly executed by the processor, you can embed inline ASM and you can directly manipulate the memory which makes C a very powerful language but also very unsafe and uncomfortable, because you have to do many things manually (for example freeing allocated memory) and you have to be aware of many things which could cause problems if they go wrong. The amount of applications which really need C and for which you couldn't use C++ instead is very low and shrinking.

C++ combines several programming concepts like OOP, procedural programming and generic programming. It provides all the features which C provides, so you have to grapple with the same problems. However, the OOP and generic paradigms make the life much easier and make several libraries (for example boost) possible, which can take over some of the dirty work for you. Additionally, it adds some features like runtime type information to the very lowlevel information a C assembly provides.
In many cases (especially commercial ones), which need a very good performance (like games) or direct memory access this is the language of choice.

C# is a .NET language, which means it is compiled into byte code and then executed by a virtuel machine and not by the processor which can cause some performance issues. However, in most cases you wouldn't even notice this. Besides that, the byte code is full of very highlevel information about the structure so that decompilers have an easy job; you have to protect your work with obfuscaters in most cases (unlike your project is allowed to be seen by others). You have no direct access to the memory (well, you CAN do it with a special keyword I dont remember, but you should NOT) and you cannot directly execute ASM code which makes it a bit less useful for gamehacking, but it's still enough to do basic and advanced stuff. Unlike C and C++ it includes an own GUI framework (you have to use 3rd-party libraries in C and C++) and the overall .NET framework makes the life much easier by providing classes for many different things you would have to do manually in C or C++.
In most cases this language provides everything you need to write professional applications (the performance loss is very low compared to the Java VM), although it's hard to protect your work from piracy.

The suffixes ++ and # have nothing to do with the difficulty of those languages. Actually, learning a programming language has almost always the same difficulty, but learning C and C++ can me more depressing or "annoying" because you have to fight with many annoying problems like memory leaks or access violations.
MrSm!th is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Does learning another language effect the other languages you know?
09/01/2011 - CO2 Programming - 3 Replies
A good question, yet a relatively difficult question to answer. Some would say no, while others and me would say yes. After learning a good basic knowledge of C#, my HTML and CSS skills have gone through the roof! Something that once took me a week to do, now takes me one day. Before when I could never understand one line of Java, now I can grasp the concept of every void, every method and so on. So I want to know, what's your opinion? Learning another language improves your skillset for all...
NFS World Language Patcher *4 NEW LANGUAGES*
11/19/2010 - General Gaming Discussion - 0 Replies
hi everyone, i was browsing the nfs world data folders and found out that there was 4 more languages availiable besides English and Deutch. So I decided to make this simple batch tool that will replace the languages once you get ingame. http://i52.tinypic.com/33a8o68.png Instructions: ------------- 1- Open Game Launcher and when the launch button appears open this patch. 2- Choose the Language and press enter 3- When Done launch the game...
Languages
03/06/2010 - Last Chaos - 2 Replies
I see lot of different languages witch makes it hard for understand if u speak English and ur weird language maybe posting with both is good idea so that we could all understand
What languages?
03/19/2009 - CO2 Programming - 1 Replies
Well after a while of leeching i want to learn some coding but i was wondering if anyone could tell me which languages is necessary for me to learn to make something like CID. I know this will not happen overnight so could someone push me in the right direction. For example, post a tutorial or two. Thank you
Autominer for other languages
09/02/2005 - Conquer Online 2 - 2 Replies
It seems autominer bot doesnt works on other versions of conquer (suach as conquista, the spanish CO2)... can someone release soure codes so we can adapt the bots? thanx in advance...



All times are GMT +2. The time now is 18:14.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.