Skip Vb and goto C++

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

User avatar
jtst1
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 80
Joined: Tue Sep 30, 2008 4:32 pm
Location: Atlanta Georgia

Skip Vb and goto C++

Post by jtst1 »

I'm not going to give you a huge background story, i've been programming in Vb for about a year, and I was wondering if I should just skip it and move to c++, of course I havn't mastered vb, but I just wanted to know if I was wasting my time.
When One learns to Love, One must bear the risk of Hatred.
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Skip Vb and goto C++

Post by MarauderIIC »

No need to master a BASIC language first. As long as you're familiar with how programming works it's served its purpose and you can switch. The only real reason for swapping is that basic languages don't have the power of some other languages. However! If you're looking to get something out fast, they're the place to go. So you're not necessarily wasting your time, no, but you are a bit limited.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

Re: Skip Vb and goto C++

Post by Ginto8 »

MarauderIIC wrote:No need to master a BASIC language first. As long as you're familiar with how programming works it's served its purpose and you can switch. The only real reason for swapping is that basic languages don't have the power of some other languages. However! If you're looking to get something out fast, they're the place to go. So you're not necessarily wasting your time, no, but you are a bit limited.
The funny thing is... I went from mostly-forgotten HTML knowledge to doing some elementary Java (Maplestory private server :lol: ), then to C++... I never really learned any of the BASIC languages. :|
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
User avatar
jtst1
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 80
Joined: Tue Sep 30, 2008 4:32 pm
Location: Atlanta Georgia

Re: Skip Vb and goto C++

Post by jtst1 »

MarauderIIC wrote:No need to master a BASIC language first. As long as you're familiar with how programming works it's served its purpose and you can switch. The only real reason for swapping is that basic languages don't have the power of some other languages. However! If you're looking to get something out fast, they're the place to go. So you're not necessarily wasting your time, no, but you are a bit limited.
I'm more looking towards creating useful programs, and I know that will take a while before I can make something substantial. I think i'll go and pick up a c++ book, if anyone has any suggestions let me know. I read a post early on C or C++ and herd "Learn c++ in 21 days" and such aren't the best books, but if anyone knows any slow learning books let me know.
When One learns to Love, One must bear the risk of Hatred.
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: Skip Vb and goto C++

Post by LeonBlade »

C++ VB C# they are all use the same stuff really... in a way...
For example...

C#

Code: Select all

StreamReader sr = new StreamReader(source);
VB

Code: Select all

Dim sr as StreamReader = new StreamReader(source)
I don't know about C++ but you get the idea...
They are a lot alike.
There's no place like ~/
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Skip Vb and goto C++

Post by MarauderIIC »

There's a topic about books around here somewhere. Search for it. Or it might be a sticky. I don't know.
Programming Guides & Resources sticky has some books in it.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
jtst1
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 80
Joined: Tue Sep 30, 2008 4:32 pm
Location: Atlanta Georgia

Re: Skip Vb and goto C++

Post by jtst1 »

I just have one more question, what are some good c++ compilers.
When One learns to Love, One must bear the risk of Hatred.
User avatar
M_D_K
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1087
Joined: Tue Oct 28, 2008 10:33 am
Favorite Gaming Platforms: PC
Programming Language of Choice: C/++
Location: UK

Re: Skip Vb and goto C++

Post by M_D_K »

GCC(MinGW)

But you'll most likely want to get an IDE. Code::Blocks is good.
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
User avatar
Trask
ES Beta Backer
ES Beta Backer
Posts: 738
Joined: Wed Oct 29, 2008 8:17 pm
Current Project: Building a 2D Engine
Favorite Gaming Platforms: Sega Genesis and Xbox 360
Programming Language of Choice: C/C++
Location: Pittsburgh, PA
Contact:

Re: Skip Vb and goto C++

Post by Trask »

Using BASIC as an entry level language is great to master certain basic concepts of programming, there will still be a learning curve no matter what language you dive into next, but at least you'll hopefully know some of the core basics.

In my experience I went from true BASIC to C++ in HS. Didn't have much trouble keeping up with the change, but they really drilled down theory and concepts down. How do I know they stuck? I got an internship that used Java exclusively. Never touched the language, only knew about it. They brought us in, said we won't teach you syntax, only OO concepts and the rest you can use the API docs for. After a rough 2 days(huge workload, nervous, etc...) I was able to keep up with Intel programmers and pass the internship. How? By knowing the basics, as they never change. Plus, with my experience in C++ I knew enough about OO to cut the mustard. I felt rather proud of being able to pass that kind of test.
MarauderIIC wrote:You know those people that are like "CHECK IT OUT I just made Linux run on this piece of celery [or other random object]!!"? Yeah, that's Falco, but with ES.
Dear god, they actually ported ES to a piece of celery!
Martin Golding wrote: "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
User avatar
trufun202
Game Developer
Game Developer
Posts: 1105
Joined: Sun Sep 21, 2008 12:27 am
Location: Dallas, TX
Contact:

Re: Skip Vb and goto C++

Post by trufun202 »

LeonBlade wrote:VB

Code: Select all

Dim sr as StreamReader = new StreamReader(source)
Yuck. God I hate VB syntax.

I had to write one VB.NET app at my last job...I spent half my time deleting the semicolons I couldn't help by type after every line.
-Chris

YouTube | Twitter | Rad Raygun

“REAL ARTISTS SHIP” - Steve Jobs
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: Skip Vb and goto C++

Post by LeonBlade »

trufun202 wrote:
LeonBlade wrote:VB

Code: Select all

Dim sr as StreamReader = new StreamReader(source)
Yuck. God I hate VB syntax.

I had to write one VB.NET app at my last job...I spent half my time deleting the semicolons I couldn't help by type after every line.
Yeah I know what you mean...
It's pretty annoying, it's all line based, I hate scripting like that...
The end line character shouldn't be new line!
There's no place like ~/
User avatar
M_D_K
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1087
Joined: Tue Oct 28, 2008 10:33 am
Favorite Gaming Platforms: PC
Programming Language of Choice: C/++
Location: UK

Re: Skip Vb and goto C++

Post by M_D_K »

trufun202 wrote:
LeonBlade wrote:VB

Code: Select all

Dim sr as StreamReader = new StreamReader(source)
Yuck. God I hate VB syntax.

I had to write one VB.NET app at my last job...I spent half my time deleting the semicolons I couldn't help by type after every line.
I had the same problem.

Good thing Lua doesn't care about the use of semi-colons :)
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Skip Vb and goto C++

Post by dandymcgee »

trufun202 wrote: Yuck. God I hate VB syntax.

I had to write one VB.NET app at my last job...I spent half my time deleting the semicolons I couldn't help by type after every line.
After coming home from school sometimes I'll be typing ' in front of text to comment it instead of //. The fact that in VB I have to comment every line individually instead of using /* */ annoys me soo much.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: Skip Vb and goto C++

Post by LeonBlade »

dandymcgee wrote:
trufun202 wrote: Yuck. God I hate VB syntax.

I had to write one VB.NET app at my last job...I spent half my time deleting the semicolons I couldn't help by type after every line.
After coming home from school sometimes I'll be typing ' in front of text to comment it instead of //. The fact that in VB I have to comment every line individually instead of using /* */ annoys me soo much.
The IDE has a button that comments out whatever you highlight... so I guess that is better then going through every line, but seriously... wtf where they thinking?
There's no place like ~/
User avatar
programmerinprogress
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 632
Joined: Wed Oct 29, 2008 7:31 am
Current Project: some crazy stuff, i'll tell soon :-)
Favorite Gaming Platforms: PC
Programming Language of Choice: C++!
Location: The UK
Contact:

Re: Skip Vb and goto C++

Post by programmerinprogress »

I had the same semicolon issue aswell!

And also, on VBA (which we use at college) the error checking tells you if you made an error, each time you move down a line, so if you make a single, tiny mistake (or deliberate writing of only half a statement, perhaps to check a previous statement which is out of focus ) you get this damn messagebox that states the bloody obvious, and it really annoys me :evil:

I think C++ generally makes you think more like a competant programmer, I love C++'s keywords and general syntax, it's so logical

also, in the version of VBA that i use at college, there isn't and increment operator, and that just annoys the hell out of me...

Click here to see the hidden message (It might contain spoilers)
VBA: x = x + 1;
ME: FUCK OFF!! it's x++ or x+=1 you daft language!
---------------------------------------------------------------------------------------
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D

I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
Post Reply