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
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 »

Its the same in lua. You have to do

Code: Select all

x = x + 1 --God dammit
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 »

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.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
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 »

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.
When One learns to Love, One must bear the risk of Hatred.
User avatar
deryni21
Chaos Rift Regular
Chaos Rift Regular
Posts: 124
Joined: Wed Dec 24, 2008 9:55 pm

Re: Skip Vb and goto C++

Post 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
Image
User avatar
Arce
Jealous Self-Righteous Prick
Jealous Self-Righteous Prick
Posts: 2153
Joined: Mon Jul 10, 2006 9:29 pm

Re: Skip Vb and goto C++

Post 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...
<qpHalcy0n> decided to paint the office, now i'm high and my hands hurt
User avatar
deryni21
Chaos Rift Regular
Chaos Rift Regular
Posts: 124
Joined: Wed Dec 24, 2008 9:55 pm

Re: Skip Vb and goto C++

Post 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
Image
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 »

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.
When One learns to Love, One must bear the risk of Hatred.
User avatar
ismetteren
Chaos Rift Junior
Chaos Rift Junior
Posts: 276
Joined: Mon Jul 21, 2008 4:13 pm

Re: Skip Vb and goto C++

Post 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.
Image ImageImage Image
User avatar
KuramaYoko10
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 55
Joined: Fri Oct 31, 2008 8:02 pm

Re: Skip Vb and goto C++

Post 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 ;)
Type a message here!!
[b][color=#BF0000]MarauderIIC[/color][/b] wrote:"Never" is never true in programming.
User avatar
Arce
Jealous Self-Righteous Prick
Jealous Self-Righteous Prick
Posts: 2153
Joined: Mon Jul 10, 2006 9:29 pm

Re: Skip Vb and goto C++

Post 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.
<qpHalcy0n> decided to paint the office, now i'm high and my hands hurt
Chaos Clown
ES Beta Backer
ES Beta Backer
Posts: 61
Joined: Sun Sep 21, 2008 4:46 am
Location: U.K.

Re: Skip Vb and goto C++

Post 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.
¡Sí! ¡He dejado en libertad los prisioneros y ahora vengo por ti!
~El Pollo Diablo
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 »

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:
When One learns to Love, One must bear the risk of Hatred.
Post Reply