Jump to content

Lord Sinister

Member
  • Posts

    2,242
  • Joined

  • Last visited

Everything posted by Lord Sinister

  1. I ban the person above me for being a moderator.
  2. I'm sure there's plenty for me, but one that comes to mind right now is Metro 2033. That game surprised me repeatedly in a good way. I'm quite interested in the sequel.
  3. I like how he patronises the hologram going in to such detail over basic tasks.
  4. I ban the person above me for exposing a terrible liar.
  5. My room is currently 29.9 degrees Celsius. It is currently sunny outside with clear blue skies.
  6. Come on, we've got to have a few programmers on this forum surely? Anyway, basically I'm a little confused on just what I'm supposed to place in header files. I've not done a lot with C++ (no classes, only done a little on them in Java), although I gather that class definitions can go in Header files. I was initially creating a series of functions in a menus.h file. Stuff like: displayMainMenu() { // Code } displaySubMenu01() { // Code } displaySubMenu02() { // Code } However an issue arose when I tried to call a header function from inside the header file, eg: displayMainMenu() { displaySubMenu01(); } displaySubMenu01() { // Code } I get an error along the lines of "'displaySubMenu01()' was not declared in this scope", where 'displaySubMenu01()' is one of my menu functions, and this error comes up several times for each menu function I call in the first menu function. After doing some googling, it 'appears' that I should only use a header file for declarations, ie: void displayMainMenu(); void displaySubMenu01(); void displaySubMenu02(); I've also read that I should then use a separate .cpp file as a library file, say menus.cpp, and put the function content in that file. If this is the case, how do I get my main.cpp file to interact with this other menus.cpp file. Despite some searching all I've been able to read is contradictory information and confusing forum posts. Hopefully someone moderately good with C++ can help. EDIT: Small update, just created a menus.cpp file (containing the functions themselves) and a menus.h file (containing the function declarations, assuming that's even the right word for this, I've seen the word 'prototype' used to describe this as well). I've moved stuff around, and included menus.h in both menus.cpp and main.cpp. The program appears to function, but is this the correct way of doing things?
  7. I enjoyed it all.
  8. I ban the person above me because the person above the person above the person above the person above me cannot ban the person above me.
  9. Well spotted. I would merge the two threads but there's not very much discussion in this one say to save confusion I'll close it. For anyone interested, as the above post says: http://www.accursedfarms.com/forums/viewtopic.php?f=19&t=1530
  10. Ah the original Half-Life's soundtrack....it's so difficult to pick a single favourite track for I like many of the tracks. They all invoke different feelings of nostalgia in me. In a good way.
  11. The strange amount of interest people seem to have in this show is most perplexing.
  12. I ban the person above me for banning the person they did not intend to ban.
  13. I played Shadow of Chernobyl a bit but couldn't really get in to it. I also own Call of Pripyat on Steam but I've not actually got around to playing it...
  14. I saw this very recently as well. I really enjoyed it, it gave me a lot of nostalgia.
  15. I ban the person above me for being located in the observable Universe.
  16. Who needs a space-time anomaly when you can have an empire?
  17. You could always remove the person in question from your Facebook friends, koach2.
  18. NULL REFERENCE EXCEPTION.
  19. Avoid all contact with water.
  20. I shall continue to advocate the Microsoft Intelimouse to anyone who will listen. It's great, it's comfortable, and it works (and appears for the most part to be quite indestructible). http://www.amazon.co.uk/Microsoft-Intellimouse-Optical-PS2-USB/dp/B000ECXVOG/ref=sr_1_1?ie=UTF8&qid=1306628468&sr=8-1
  21. I'd never heard of these before. I have just watched all nine episodes. They were quite odd.
  22. The last few updates for Minecraft seem to have made it a little bit more unstable. The issues will hopefully be ironed out over the next few days. On a related note, multiplayer Nether is pretty cool.
  23. Have you tried updating Java?
  24. Hidden dangers...do corporate growth and Health & Safety count?
  25. There are quite a few hacks out there that will bypass the sv_cheats scans... You just have to find a good one that isn't full of viruses. (they are multiplayer hacks) I don't recommend this suggestion at all, it'll most probably result in a VAC ban.
×
×
  • Create New...

This website uses cookies, as do most websites since the 90s. By using this site, you consent to cookies. We have to say this or we get in trouble. Learn more.