Page 2 of 2

Re: Skip Vb and goto C++

Posted: Thu Feb 05, 2009 12:53 pm
by M_D_K
Its the same in lua. You have to do

Code: Select all

x = x + 1 --God dammit

Re: Skip Vb and goto C++

Posted: Thu Feb 05, 2009 3:12 pm
by dandymcgee
programmerinprogress wrote: 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...
Really? Using += works in VB. As far as the line-by-line error checking I can't stand that stupid ass feature. Tell me what I did wrong during compile.. or at least don't tell me in a pop-up message box.

Re: Skip Vb and goto C++

Posted: Fri Feb 06, 2009 3:46 pm
by jtst1
Well my dad is ordering me a book on c++, here is the link if anyone has read it:
http://www.amazon.com/Beginning-Through ... pd_sim_b_3
In other new i made my first program in c++ =).
"Hello World!" lol got to love that. but of course thats nothing special, but always fun in a new language.

Re: Skip Vb and goto C++

Posted: Fri Feb 06, 2009 10:19 pm
by deryni21
yeah i am currently using the newest sam's c++ book which is sam's teach yourself c++ in one hour a day

I really really regret not asking round before buying this book it really is NOT VERY GOOD it does not explain why it tells you to do half the things it says nor does it explain half the code it gives you

Re: Skip Vb and goto C++

Posted: Sat Feb 07, 2009 12:29 pm
by Arce
I really really regret not asking round before buying this book it really is NOT VERY GOOD it does not explain why it tells you to do half the things it says nor does it explain half the code it gives you
Though you could be completely right (I have not read it) maybe you should give it more of a chance? The first few chapters of a programming book are not supposed to be fully understood--a simple "hello world" application makes use of features that you probably wouldn't understand until later in the book anyway. My advice would be to stick with it some, as it may be better than you originally thought...

Re: Skip Vb and goto C++

Posted: Sat Feb 07, 2009 12:52 pm
by deryni21
Arce wrote:
I really really regret not asking round before buying this book it really is NOT VERY GOOD it does not explain why it tells you to do half the things it says nor does it explain half the code it gives you
Though you could be completely right (I have not read it) maybe you should give it more of a chance? The first few chapters of a programming book are not supposed to be fully understood--a simple "hello world" application makes use of features that you probably wouldn't understand until later in the book anyway. My advice would be to stick with it some, as it may be better than you originally thought...
yeah i am going to finish the book it is obviously better then nothing but im actually on section 10 and it still is awful

Re: Skip Vb and goto C++

Posted: Mon Feb 09, 2009 11:32 pm
by jtst1
deryni21 wrote:
Arce wrote:
I really really regret not asking round before buying this book it really is NOT VERY GOOD it does not explain why it tells you to do half the things it says nor does it explain half the code it gives you
Though you could be completely right (I have not read it) maybe you should give it more of a chance? The first few chapters of a programming book are not supposed to be fully understood--a simple "hello world" application makes use of features that you probably wouldn't understand until later in the book anyway. My advice would be to stick with it some, as it may be better than you originally thought...
yeah i am going to finish the book it is obviously better then nothing but im actually on section 10 and it still is awful
I was actually thinking about buyingthe sams teach your self c++ in 21 days, but I read on the forums it's terrible so i didnt get it.

Re: Skip Vb and goto C++

Posted: Tue Feb 10, 2009 7:07 am
by ismetteren
jtst1 wrote: I was actually thinking about buyingthe sams teach your self c++ in 21 days, but I read on the forums it's terrible so i didnt get it.
I havent read it, but peopel on this forum says it is pretty good.

Re: Skip Vb and goto C++

Posted: Tue Feb 10, 2009 7:32 am
by KuramaYoko10
jtst1 wrote:yeah i am going to finish the book it is obviously better then nothing but im actually on section 10 and it still is awful

I have the "Sams teach yourself C in 21 days - Sixth Edition" and it is great in my opnion... it explains everything in a very simple way, but still show the stuff in depth. In those 21 chapters it goes through a LOT of stuff about C, and in the end it gives bonus weeks, teaching the basics of C++, C#, and Java!

I recommend this book ;)

Re: Skip Vb and goto C++

Posted: Tue Feb 10, 2009 8:26 am
by Arce
I was actually thinking about buyingthe sams teach your self c++ in 21 days, but I read on the forums it's terrible so i didnt get it.
Actually, that's my number one reccomendation for C++. It's a great, somtimes OVERLY thourough book. I learned from it successfully when I was 12.

It's great for an absolute beginner, or even an expiernced programmer wanting a reference book.

Re: Skip Vb and goto C++

Posted: Wed Feb 11, 2009 10:41 am
by Chaos Clown
Arce wrote:
I was actually thinking about buyingthe sams teach your self c++ in 21 days, but I read on the forums it's terrible so i didnt get it.
Actually, that's my number one reccomendation for C++. It's a great, somtimes OVERLY thourough book. I learned from it successfully when I was 12.

It's great for an absolute beginner, or even an expiernced programmer wanting a reference book.
Yeah, it is really thorough book, I've had it months and still haven't finished it (far too lazy).

I hate VB with a passion. My personal peeve is that:

Code: Select all

Dim Objects(9) As New Object
Declares a bunch of null references that you then have to initialise like this:

Code: Select all

For index As Integer = 0 to 9
     Objects(index) = New Object
Next index
Why the hell do you have to do that!? It makes no sense! If I want an array of objects, then you damn well better give me one! Also, the intellisense crap isn't so intelligent. If I have a member of a class, and I want to stick it in a method of another class, and I start typing the function around it, VB magically gets rid of the first object, so I end up with crap like this:

Code: Select all

Object.Function(.member)
Then it has the cheek to complain about the errors that it created itself!
DAMN YOU MICROSOFT!! :x

In short, abandon VB and avoid it like the plague. C++ is infinitely better.

Re: Skip Vb and goto C++

Posted: Wed Feb 11, 2009 2:59 pm
by jtst1
O really? Huh I thought everyone hated that book. Well since my dad hasn't ordered the other one, i'll give sams a try. Thank you for all the input it really helps a noob like me :bow: