IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Pages: (2) 1 [2]   ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 Is C better than vb

 
nightwalker83  
Posted: Sunday, Sep 18 2011, 00:52
Quote Post


Don't mind me
Group Icon
Group: Members
Joined: Oct 10, 2004

au.gif

XXXXX



QUOTE (K^2 @ Sunday, Sep 18 2011, 00:58)
The only use of C# is that it's a cross of a high and low level languages. Diluting it further would defeat the very purpose. The problem is that it's realistically not needed. Assembly, C, and C++ fill out the low and mid-level niches perfectly. No reason to mess with that. What could be of some use are better high-level alternatives. Languages like Python are too rigid, and languages like Prolog are too obscure for most tasks. But I really don't think that sort of thing will come from Microsoft originally.

Although, just using C# would mean you only have that concentrate on that rather than try and juggle two or three different languages at the same time. However, for learning purposes C# and other Microsoft languages don't allow as much as the open source stuff such as Java (yes, I am learning Java too). I just don't like having to learn multiple languages it becomes too confuses for me.
Users WebsitePMMSN
  Top
 

 
K^2  
Posted: Sunday, Sep 18 2011, 01:20
Quote Post


Vidi Vici Veni
Group Icon
Group: Zaibatsu
Joined: Apr 14, 2004

us.gif

Member Award




That's the reason C# actually turned out to be great for some independent gaming projects. For small teams, with just one or two programmers that have to juggle all the code, having multiple modules across several different languages just isn't an option. For a large project, this just isn't an issue. You'll have different programmers specializing in different languages.

Java is a good language to learn, certainly. It's also great if you want to work on mobile applications. Or if you are Notch, apparently. But for PC/console gaming it's not the way to go.

In any case, the more languages you learn, the easier it will be to pick up new ones. At some point, it's not even a matter of whether or not you know the language. Give me a manual and a few days, and I'll be an expert in whatever the project calls for.
PMMSN
  Top
 

 
Swoorup  
Posted: Wednesday, Sep 21 2011, 05:07
Quote Post


innovator
Group Icon
Group: Members
Joined: Oct 28, 2008

au.gif

XXXXX



I have already started learning C in the free, but the progress is going slow, I am covering up all the things covered in Cprogramming.com site. I practice making programs in C that I used to be taught in VB in old school days.

From what I hear these days from most my friends that IT recession is going low, so there is high demand of IT professionals. I agree with what they said but I want know will it be again ups and downs in the IT field in the near future? How is IT career stable
PMMSNYahoo
  Top
 

 
K^2  
Posted: Wednesday, Sep 21 2011, 09:20
Quote Post


Vidi Vici Veni
Group Icon
Group: Zaibatsu
Joined: Apr 14, 2004

us.gif

Member Award




I really don't know about IT in general, but game development is pretty stable, like most entertainment industries. The focus shifts more from high risk to low risk projects, which means you might end up working on less interesting games, but you should be able to find a job even when economy is on the decline. The need for entertainment is greater, if anything, when things are bad economically. At least, that's what I'm counting on.
PMMSN
  Top
 

 
Swoorup  
Posted: Friday, Sep 23 2011, 12:53
Quote Post


innovator
Group Icon
Group: Members
Joined: Oct 28, 2008

au.gif

XXXXX



I think even if the industry is down, I think the salary is the same with little ups and downs.
PMMSNYahoo
  Top
 

 
nightwalker83  
Posted: Thursday, Oct 6 2011, 08:25
Quote Post


Don't mind me
Group Icon
Group: Members
Joined: Oct 10, 2004

au.gif

XXXXX



QUOTE (Swoorup @ Friday, Sep 23 2011, 23:23)
I think even if the industry is down, I think the salary is the same with little ups and downs.

The differences in both languages aren't that significant anyway! There are companies that have developed software that will convert between the two languages.
Users WebsitePMMSN
  Top
 

 
K^2  
Posted: Thursday, Oct 6 2011, 09:10
Quote Post


Vidi Vici Veni
Group Icon
Group: Zaibatsu
Joined: Apr 14, 2004

us.gif

Member Award




Depends on what you're writing. In general, you can compile from any language to any other. But it always comes at cost of performance hits. If you writing a game engine, that matters.
PMMSN
  Top
 

 
Swoorup  
Posted: Thursday, Oct 6 2011, 12:53
Quote Post


innovator
Group Icon
Group: Members
Joined: Oct 28, 2008

au.gif

XXXXX



Seems that these days language does not matter and more programmers are sell-able?
PMMSNYahoo
  Top
 

 
K^2  
Posted: Thursday, Oct 6 2011, 13:11
Quote Post


Vidi Vici Veni
Group Icon
Group: Zaibatsu
Joined: Apr 14, 2004

us.gif

Member Award




The main thing is that any language has to become instructions to CPU at some point. To really understand a language, you need to understand what these instructions are going to be. And once you have that, any other language quickly falls into place. Once you picked up 2-3 languages and you know them well, then you basically know them all. At least the mainstream ones. Esoteric languages can be, well, esoteric.
PMMSN
  Top
 

 
RajuGrewal  
Posted: Monday, Nov 28 2011, 14:08
Quote Post


Raju Grewal
Group Icon
Group: Members
Joined: Nov 11, 2011

XXXXX



QUOTE (Swoorup @ Saturday, Sep 17 2011, 04:55)
If I want to be a better programmer (especially on the gaming area) with a better job should I completely ditch VB and learn C++ or C#? I hear today's games are relying upon C# and Javascript (unity,XNA and other bla bla bla). So what are you thoughts? I have recently started learning C++ and it is a whole lot of different than VB and I had to learn right from the beginning.

#include <stdio.h>

int main(void)
{
printf("RIP, Dennis Ritchie.\n");
return 0;
}


This program in in c not in c++ smile.gif

You can write this in c++ like this..

#include<iostream.h>
int main(void)
{
cout<<"RIP, Dennis Ritchie."<<endl;
return 0;
}

or like this also

#include<iostream.h>
void main()
{
cout<<"RIP, Dennis Ritchie."<<endl;
}


smile.gif
Users WebsitePMMSNYahoo
  Top
 

 
K^2  
Posted: Tuesday, Nov 29 2011, 05:00
Quote Post


Vidi Vici Veni
Group Icon
Group: Zaibatsu
Joined: Apr 14, 2004

us.gif

Member Award




QUOTE (RajuGrewal @ Monday, Nov 28 2011, 10:08)
This program in in c not in c++

That program will compile in C or C++, because it uses C libraries. There is no C or C++ specific code anywhere in it.

QUOTE
You can write this in c++ like this..

Not in any compliant compiler. cout is part of the std namespace, so you either have to call it via namespace

CODE
std::cout<<"Whatever\n";


Or by selecting the namespace first.

CODE
using namespace std;
cout<<"Whatever\n";

The civilized way of programming it is by calling it via namespace, but a lot of lazy programmers simply rely on "using" in global scope, and unfortunately, a lot of programming books do the same, resulting in a bunch of people not even understanding what namespaces are and how you use them. No need to go far for example. What you wrote will throw an error "cout was not declared in this scope" in any civilized compiler.

So of the two of you, Swoorup is the one who had the code that would actually compile in ISO C++, and there you go, trying to teach him that it's not C++.
PMMSN
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Pages: (2) 1 [2] 

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG