Thread: Am I doing something stupid?

  1. #1
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717

    Question Am I doing something stupid?

    Well, I wanna try make a simple game and I kinda know how to use the HGE engine.
    Now, I wanted to ask if I'm doing something stupid starting with an engine, 'cause I'm kinda new at C++?
    Sorry if I'm posting on wrong forum.
    Currently research OpenGL

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    If you are kind of new, then I would suggest you start incrementally do exercises and studies and ultimately write your own small engine before using a pre-defined one.
    It's just to get some experiences first and to get used to how engines work.
    In any case, it will not hurt.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    Well, I basicly just want to be able to print graphics onto the screen :P
    Currently research OpenGL

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Graphics is an advanced subject, you know...
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    Ok... Be able to show things like sprites to the user :P
    Currently research OpenGL

  6. #6
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Well, as I meant, graphics is advanced. It is hard to do in all languages. Therefore, it is good that you have a solid ground first.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #7
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    Well, I've gone through the "Learning to Program in C++" tutorials on the Cprogramming site, is that a solid ground or do I need to read more?
    Currently research OpenGL

  8. #8
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Oh no, far from it, I am afraid.
    They cover only small parts of the language.
    You should get yourself a good book. There are plenty out there, even free ones. You can look at the recommended books thread to give you some ideas.
    You will realize how much you are missing and how much C++ can really do.
    After you are done with the basics, then you can start looking a little into graphics, provided you know about graphics programming (which is an entire different subject!)
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  9. #9
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    ...
    It just doesn't end! >.<
    Well, I was able to play with graphics when I only knew about Arrays, Variables... Yeah that :P
    But I knew how to use HGE :P
    Well, if there's more reading then... I did read a book called something like Game Programming a while ago... :P
    I'll just stop whining and start finding a book :P
    Currently research OpenGL

  10. #10
    Registered User
    Join Date
    Nov 2005
    Posts
    673
    Akkernight. HGE is about as it easy as it comes for doing graphics. There are tutorials that come with the HGE download that show how to do quite a few things. Just play around with that code, and try changes it around a little to see what everything does.

    I may be wrong in saying this, but a lot of programming is trial and error. You can't learn everything from a book.

  11. #11
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Trial and error is not fun when you don't know what you are doing.
    A solid grounds helps.

    Books do not teach everything, but they do teach the basics.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  12. #12
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    I've done a ping pong game in HGE while only knowing about variables and arrays :P
    Anyways, Imma do both, the reading 'cause it's wise and I can feel clever, the coding 'cause it keeps the mood up and can makes me proud 'cause I've actually done something ^^
    Currently research OpenGL

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. stupid, stupid question
    By xelitex in forum C++ Programming
    Replies: 5
    Last Post: 12-22-2004, 08:22 PM
  2. Stupid stupid people.
    By adrianxw in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 03-11-2004, 12:07 PM
  3. Incredibly Stupid People
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 09-09-2003, 04:12 PM
  4. Stupid Math Question....really stupid
    By ToLazytoSignIn in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 01-16-2003, 07:36 PM
  5. Your Best thread and your most stupid thread ??
    By jawwadalam in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 01-03-2003, 07:41 PM