|
On November 09 2012 18:04 blade55555 wrote:Hm ok I am going to be honest. While I still want to do C++ I might bite the bullet and just do C#. I'm not struggling in C++ (yet), but from googling and all that the one thing many people say is that you will regret it in 3-4 years. OK that is what got me thinking. When I read multiple people saying I will regret it in YEARS I decided I am going to be smart and do what everyone recommends to do. That is learning C#. I figured if C++ did end up being wrong as a beginner I would regret it in a few months maybe, but didn't think a few years and then I would regret it. So from here on everything will be in C#. Now for anyone who does C# programming, I will be honest one of my main things I want to do at some point is make an RTS just because I have loved RTS's since my first age of empires games and always wanted to make one. Obviously this is a long, long, long term goal. I know this, I am saying this so people don't tell me not to overshoot, I know I know . I don't know much about C# as I have mainly focused on C++. So from here on blogs I make will be with C# progress. Any advice on this one would be great . This will be your first C# program: Class Program{ static void Main(string[] args) { Console.WriteLine("Hello world"); //Prints out Hello world to the user Console.Read(); //waits for interaction from the user so the console doesn't vanish the instant the message is typed out. }
}
|
Well unless I am mistaken Hello World is for most that I have seen :D.
|
The language you use isn't really all that important. Your goal is to make an RTS, and with that being known any language will work. I'd want to make an RTS with C++ and Lua, but that's just my own preference. To all the people crying over specific languages, they are really just pressing their own preference at you. Since you have a clear goal of an RTS the language is only a means to an end. If your goal is to... Say learn how to create professional software then choices like languages or tools learned are actually very important.
|
On November 10 2012 04:38 CecilSunkure wrote: The language you use isn't really all that important. Your goal is to make an RTS, and with that being known any language will work. I'd want to make an RTS with C++ and Lua, but that's just my own preference. To all the people crying over specific languages, they are really just pressing their own preference at you. Since you have a clear goal of an RTS the language is only a means to an end. If your goal is to... Say learn how to create professional software then choices like languages or tools learned are actually very important.
Well from what I gather you seem to be a pretty good programmer from that one blog you posted.
Do you think I would regret learning C++ first? I mean I keep hearing that if I learn C++ first (which I already made decent headway and so far understanding it), but a majority of people seem to say I will regret it in xx time.
I would rather learn C++ first, but then most people say it's a really bad idea and you'll regret it! So now i'm in a tough spot to start over and learn C# or continue on with C++ and take the risk of regretting it xD.
to be honest after really thinking about it I think I might just keep learning C++ and take the chance I might regret it. I have already put quiet a bit of time into it and so far understanding it, it's always been the language I have wanted to learn the most so I might just stick with it. If I regret it in a few years then whatever, but I think I may continue on as I have been ^^.
|
On November 10 2012 06:03 blade55555 wrote:Show nested quote +On November 10 2012 04:38 CecilSunkure wrote: The language you use isn't really all that important. Your goal is to make an RTS, and with that being known any language will work. I'd want to make an RTS with C++ and Lua, but that's just my own preference. To all the people crying over specific languages, they are really just pressing their own preference at you. Since you have a clear goal of an RTS the language is only a means to an end. If your goal is to... Say learn how to create professional software then choices like languages or tools learned are actually very important. Well from what I gather you seem to be a pretty good programmer from that one blog you posted. Do you think I would regret learning C++ first? I mean I keep hearing that if I learn C++ first (which I already made decent headway and so far understanding it), but a majority of people seem to say I will regret it in xx time. I would rather learn C++ first, but then most people say it's a really bad idea and you'll regret it! So now i'm in a tough spot to start over and learn C# or continue on with C++ and take the risk of regretting it xD. Use whatever language you want. I have no idea why people would say you would regret using C++. C and C++ are powerful languages that people can use to make highly optimized code. The only reason anyone should regret using these tools is if they wasted years of their life learning nothing about writing high quality code, and that's not the language's fault, it's the programmer's fault.
With that said unless you use libraries heavily in C++ you'll have to learn a lot of things in order to make an RTS. So plan to use other people's APIs and tools to finish your project.
|
Oh of course, as I said before an RTS is a long long way off for me. That is my end goal which I anticipate it to be years before I can make what I would like. That is just my long term goal.
Short term is to learn C++, make some simple games, make games without using tutorials (in terms of creating my own type of game, obviously if I need to google to figure out a problem I will do that).
|
Well if you want to make a simple game in C++ in a way that focuses a lot on learning, then I'd recommend the way I did it: here.
Edit: It's in C, but honestly anything you learn would be directly transferable to C++.
|
A tip: Do not look for the best way to solve a problem. Think of a fun way to solve a problem.
|
You aren't at the level where the language you're learning really matters at all. Many of the intricacies will be lost on you while you still explore things like simple data structures and language syntax. At this point, if you are enjoying what you're doing and feel as though you are satisfied with the rate of your progression, just keep at it. Once you hit that wall and ask yourself ,'Why am I learning C++ again?' or learning something new about the language and asking yourself 'Why do I care about this?' you might need to take a step back and re-evaluate the language. Different things are easier / harder for certain languages, but those details come later. Enjoy learning simple control flow, sorting algorithms and implementing data structures in C++ first.
|
|
|
|