-
Xterria, read this
After my site is up, I want to be one of your affiliates at www.xterria.cjb.net. To view a sample of my fine web site work, go to www.sacredwolvesden.cjb.net. Also, just to let you know...on your site, the windows programming tutorials: There is an error on the 3rd tutorial for making a window, 11 errors. I tried compiling it. Did you learn all of the c++ syntax before doing windows programming? Hmm, well please answer my questions. Thanks.
-
saying "Did you learn all of the c++ syntax before doing windows programming? " is a little insulting dont you think?
I checked his code, and there is one typo, which leads me to think, did you even look over it, or was that 11 errors from a copy and paste?
-
Please don't crosspost. If you need to reach Xteria so badly, send a private message.
-
Yes
Of course i copied and pasted
-
Leeman, on line 40 or so in WinMain(), when you fill out the window class' style, it says CS_ and on the next line it says HREDRAW. Put the lower line and combine it with the top. That should take care of all of your problems. And please don't tell me I don't know my Syntax, please.
Anyway, I'd love to put your site on my affiliates. I like your layout, and, I absolutly LOVE tribes! I play tribes as I type this. :D
-
Oh, were you asking me if I knew my syntax, like a real question? heehe...sorry for getting mad. I didn't know all syntax when I started, actually, I didn't even know what a linked list was or polymorphism or anything. Even now I find no use for that stuff, so I really didn't get into them. Anyway...
I'm done. The code in my lesson is now perfect. I am now working on lesson 5: WindowProc Messages.
-
No use for polymorphism, linked lists? Yes there is. Polymorphism and linked lists are very important to C++.
-
thats nice. But I just said I never had any use for them.
-
you will... there will be circumstances in which using more advanced techniques help you more than refraining to use them would hurt you... i don't know what kind of programming you intend to do, but as a rule of thumb, if you seek to do it professionally you should be fluent in every aspect of the language...
-
yeah your right. I'll get to it! Hya!:p
-
-
hehe, i read 'hya' and i thought it was 'hiya'... but it's the martial arts hya... niice... niice...
-
No it wasn't stupid. We've all posted stuff here and then thought to ourselves.....doh!!!
Besides I wasn't being mean, just some constructive criticism. Classes, polymorphism, linked lists and all that can be a pain in the neck at first. But, once you get the hang of it you will have to force yourself not to use them.
All projects have millions of ways to implement them. Some should use classes and OOP and some should not. You will eventually figure out which should and should not. It's not always a matter of either or, but sometimes both and. Every thing has it's function and purpose in the language. That's why it is so powerful.
-
good say, a strong construction of hobby constitutes strong, and meaningful parts... a chain is only as strong as it's weakest link, or in this case, least necessary...
and, tho we've talked about this on end... goto anyone? :)
-
The only purpose I can see for a goto (that was a long thread - very good, though) is from my experience in assembly. Essentially a jmp instruction is an unconditional jump to another section of code. That is pretty much what a goto is, even though they can be conditional. But, in high-level languages that I have experience in (my disclaimer), I cannot see a need for a goto.