Xterria, read this

This is a discussion on Xterria, read this within the Game Programming forums, part of the General Programming Boards category; After my site is up, I want to be one of your affiliates at www.xterria.cjb.net. To view a sample of ...

  1. #1
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    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.

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    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?

  3. #3
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    Please don't crosspost. If you need to reach Xteria so badly, send a private message.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  4. #4
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    Yes

    Of course i copied and pasted

  5. #5
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    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.
    Last edited by Xterria; 11-09-2001 at 07:27 PM.

  6. #6
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    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.

  7. #7
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,584
    No use for polymorphism, linked lists? Yes there is. Polymorphism and linked lists are very important to C++.

  8. #8
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    thats nice. But I just said I never had any use for them.

  9. #9
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    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...
    hasafraggin shizigishin oppashigger...

  10. #10
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    yeah your right. I'll get to it! Hya!

  11. #11
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    okay, that was stupid.

  12. #12
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    hehe, i read 'hya' and i thought it was 'hiya'... but it's the martial arts hya... niice... niice...
    hasafraggin shizigishin oppashigger...

  13. #13
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,584
    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.

  14. #14
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    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?
    hasafraggin shizigishin oppashigger...

  15. #15
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,584
    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.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 03-04-2005, 01:46 PM
  2. I am lost on how to read from file and output to file?
    By vicvic2477 in forum C++ Programming
    Replies: 4
    Last Post: 02-27-2005, 10:52 AM
  3. Read Array pro!!Plz help!!
    By Supra in forum C Programming
    Replies: 2
    Last Post: 03-04-2002, 02:49 PM
  4. Help! Can't read decimal number
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 09-07-2001, 02:09 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21