Jump to content
xisto Community

switch

Members
  • Content Count

    179
  • Joined

  • Last visited

About switch

  • Rank
    Premium Member
  • Birthday 07/17/1989

Contact Methods

  • Website URL
    http://www.switch.trap17.com

Profile Information

  • Location
    NSW, Australia
  • Interests
    music,<br />3d graphics programming.
  1. thanks alot guys. sorry it took me a while to get back to ya. i'll see if it works, as an inbetween, i've been using PHP designer, which has an interface that can do the basics. actually it's great software. if you're interested, check it out: http://www.mpsoftware.dk/. thanks again guys, all the best.
  2. switch

    Opengl

    yeah, NeHe GL has heaps of great tutorials on that.... their website is nehe.gamedev.net. great website. awesome tutorials. completely free. also gametutorials.com have some awesome tutorials (i was using them when they were still free), but unfortunately now they cost money. still fantastic though.
  3. hi all I'm VERY new to PHP and I'm having a slight problem... I want to be able to run PHP scripts on my computer without installing a web browser. Let's say I have this code.... myScript.php <HTML> <HEAD> <TITLE>PHP Example</TITLE> </HEAD> <BODY>[color=#009900] <?php print "This is an awesome scripting example."; ?>[/color] </BODY></HTML> ok. if I open this with Firefox or IE or any other Browser, I will get a blank document titled "PHP Example". I know that this is because the browser simply ignores the script between the <? tags. So, what I want to do, is find a way to run/execute 'myScript.php' and open the result in a browser. I tried using the php-cgi.exe program included in the download from the PHP website, running the script with that, then copy-pasting the output into an HTML file and opening that in the Browser, but the problem is, for really long output, the console clips off the earliest part of the output. So yeah, If anyone has any ideas I would be greatly appreciative to hear them. Thanks alot!
  4. here's a really quick inefficient way to do it if you're absolutely desperate (and using windows): system("c:\myProgram.exe"); system just pops open a command prompt and runs the bits in the quotation marks. good luck!
  5. after my first useless post, i just read your post properly and edited accordingly. what is happening is you have a function that has two data types declared, for example: int char myFunction();that's my understanding of the compiler error (as int and char are two different kinds of data type). if you only want to return one kind of data type, then you would just take out the data type you don't want. if you want to use multiple data types, use this method: make the function return a pointer to void, i.e. do this: void *myFunction();that will return a pointer to ANY DATA type you like. you have to be careful with this however, that the calling function knows what data type the pointer holds or at least knows how big the data is. for instance, if myFunction returns an int, and you interpret it as returning a char, you're going to lose 3 bytes of data. be careful when using void pointers. if you want, after calling the function, you might want to convert the pointer to a typed pointer to avoid type confusion. i.e., if you know that an int is being returned, to avoid any future problems, try something like this: int* myPointer;myPointer = (*int)myFunction();(*int) just converts the void pointer returned by myFunction() into an int pointer. sorry if that confused more than helped also, i don't know anything about malloc, as i've never had to use it. sorry ok! good luck mate!
  6. well, i'm not sure if there is a specific Windows API call that handles adding straight to the Startup list, but there are definately commands that add to the registry, and there is definately a startup list in the registry. You can tell because I've got a whole chunk of stuff that loads on startup but isn't in the startup shortcuts folder :huh:just learn how to use the Win32 registry commands and find out the specific registry entry the startup list is under. There are plenty of tutorials around on the net.Good luck mate.
  7. alot of the time when i start having trouble with C++ i just seek out an alternate route of doing the same thing. When you are using pointers to reference arrays (we'll call ours myPointer), normally *myPointer just returns the first value in the array. On this note, you could try outputting myPointer[0], as that is equivalent to saying *(myPointer + 0).maybe change the declaration from vlist[] and plist[] to *vlist and *plist respectively and then changing their initialization to vlist = new float[100] and plist = new int[100]. That could help.apart from that, i must congratulate you on how neat your code looks. Good work. Nice and Easy to read. :rolleyes:ok good luck mate.
  8. I was with hotmail for a long time, but only cause i didn't know what else was around and everyone else had it. That was back in Hotmail's 2MB days though :rolleyes:One of my friends invited me to Gmail though, and it's absoultely brilliant. I mean, even just the fact that you can search for emails... "Where is my Battle.net forgotten password email?" hotmail: trawl through hundreds of emails, looking for one link. Gmail: "search: Battle.net" search took 0.17 seconds. Oh yeah!And the 2.something GB of space, and the reasonably good spam filtering are pluses.I wouldn't say hotmail are the worst (check out myownemail.com) but they are far from the best.
  9. I totally agree with Goofy. One of the best things about games is the fact that you can do stuff that you would normally never dream of doing, and if the graphics are too realistic, I think it just kills that atmosphere of fantasy. Also, the really brilliant stuff is often the way that the graphics are used: I mean, realistic or not, if the graphics aren't breathtaking, if they don't have the right feel to them, then they count for nothing anyway.Dungeon Siege is a brilliant example of this. The graphics aren't as real as they could be, but WOAH the scenery is amazing. True Art at its finest.Also the cinematics in final fantasy 8... the people don't look entirely real, but the cinematics are still absolutely amazing. And the computer generated look of the whole thing is part of what makes it special. Makes it look like animation as opposed to photography.
  10. yeah! :)there was this classic game around a while ago for PlayStation One called Vib Ribbon... it was brilliant! Used only 4 buttons, and was easy to get the hang of, but still somehow got challenging later into the game. And the coolest bit: you could play to songs from your own CD's. How good is that!They just don't make quality, original, games like that anymore! lol
  11. you might want to try checking an error reference on your system to find out a specific meaning of the error.also, this is a circular linked list. This means that the last item links back to the first. This could have something to do with your problem, especially if extra memory is being allocated along the way. try not linking the last item to the first and see what happens.you might also have some luck if you email the guy who wrote it. you could probably find his email somewhere on his site.good luck mate.
  12. now here's some people who know what they talking about! lots of respect for Joshua and Delivi and Realthor too catfish, upon the discovery on the Dead Sea scrolls they were cross checked with the Modern manuscripts and found to be 5% different. Now, 5% isn't that much as it is, and 80% of that 5% was spelling mistakes. So we are left with 1% of the Bible has had its meaning changed at all. This is usually in a reasonably insignificant way. As a result of this, you'll often find in Bibles footnotes (marked with a * or a superscript letter) that say "Some Manuscripts add" or "Has been rendered suchandsuch in some Masoretic texts" or something like that. If you want more detailed explanations of the accuracy of the Bible, there's plenty of books, and probably loads of websites about it (but i'd be more inclined to trust a book). Good stuff guys!
  13. Pah! Game making software! I haven't seen any that's decent in ages! Although I have to say that DarkBasic is pretty good.To all you people who are making games but just can't get the touch they want with their software:Learn a language! You'll get heaps better results on the final product. Sure it will be harder, but still.. if you're really keen on making a game, it's worth it.DarkBasic is a great 3D game programming language. Way easy to use as well!But if you want to get into real solid stuff, have a whirl at C++.Good to see some gamers doing it for themselves.Peace out
  14. yep, you use a wonderful thing called pointers. Pretty much 'pointers' point to a memory location. So if you set a pointer as '0' it will point to memory location 0. if you set it to '14' it will point to location 14. this way, you can simply scan through memory by incrementing the pointer. I assume you're using C++, so, to declare a pointer: int *myPointer;This makes a new pointer titled myPointer that can only point to ints. then, to change the address that a pointer pointers to: myPointer = myPointer + whatever;This adds whatever to the address number of myPointer. then, to access the data in the pointer: data = *myPointer;This extracts the information from the memory location that myPointer is pointing to. If you're still confused, sorry I didn't explain it better. Also, there's heaps of information around on the web. Just search for "C++ pointers" or something and you'll find loads of simpler tutorials. Cheers.
  15. Firstly, it always helps to search the MSDN documentation for stuff like this. You would need to use Windows-specific commands (probably) to access the clipboard and take screenshots. The way I'd do it is: 1) simulate a PrintScreen keypress (I'm pretty sure you could do this with the SendMessage() Function; send the WM_KEYDOWN Message with VK_SNAPSHOT as a parameter). If you wanted to find other Key Codes for any other steps, the MSDN library has an article titled 'Virtual-Key Codes' which has every code listed. 2) Use the Clipboard Win32 function/message set (MSDN article here: http://forums.xisto.com/no_longer_exists/) to retrieve the data. The MSDN library has info on it all. You can easily find the articles in step 1 by simply searching for furthur reference. Good Luck mate!
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.