Jump to content
xisto Community

switch

Members
  • Content Count

    179
  • Joined

  • Last visited

Everything posted by switch

  1. well, if you want to optimize your memory just before playing a game so the game runs faster, I used this brilliant piece of software back when i had Windows 98... it was called WinRam Booster Free Edition. It only works on Win 95/98/ME, but the concept was brilliant: It pushes all non-essential stuff stored in the RAM into the swap file, thereby freeing up the RAM for the next run applications. Do a Google search on "PC Memory Management" (that specific search returns alot of good results) or similar and you may find something interesting. Also it may help to have a look at comprehensive download sites.Also, that second session will use up more memory than one session would. You could save a few MB's by closing one. Also, try rebooting before playing games.Hope something here's helped.Good Luck!
  2. uh... as a general rule, link lists aren't circular, they just go in a chain until you get to the end. this is useful for stuff like dynamic memory management. Most of the time I don't think that a circular link list would be very effective, let alone worth the extra code it would require.Is there a specific type of link-list you are talking about? Please make the question a little more specific.
  3. Hmmm... yeah, I dunno... My Dad reckons the end is coming soon-ish, and I can definately see where he's coming from. Jesus says alot about what's going to happen in the Bible (don't know exact references, just Google it) but God definately isn't withdrawing his presence. He's always with us, says he won't desert his sheep (John 10) and everything.I think in one of the Biblical end of the world passage there is specific references to Earthquakes... That was a hard-hitting thing for me after the tsunamis occured at the end of 2004.But yeah, we had a record high temperature in Wollongong (South of Sydney, Australia). 44 degrees celcius isn't the most pleasant start to the new year all the best for 2006!
  4. aha... sweet 16.... lol yeah people outgrow it pretty fast i think, and the immature people eventually end up sticking to themselves.... that's what happened at my school, everyone was.... immature and lame (had to stop myself from saying *happy* ) when they were 13-15 or so... I reckon it's a stage every teenager goes through, just some (like you guys, from the looks of it) go through it earlier and get over it faster! Seems to be especially bad amongst the boys (Come on guys, no use hiding it, we're terrible sometimes ).Peace out everbody. Keep smilin
  5. Actually, there are lots of similarities between C, C++ and C#, but mainly in the form of syntax (The grammar rules of the language, so-to-speak). C++ is by far the most powerful language and for that reason is most effective for heavy duty programming. It is also probably the hardest to learn. C# is Microsoft's easy-to-use take on C++ and is supposed to be fairly powerful as well. It links in incredibly smoothly with ASP.NET and VB and all the rest of the .NET stuff as long as you're using Visual Studio. VB is heaps easier to learn, but the actual programs run a lot slower and they are pretty much completely restricted to Windows. VB is also far less powerful, and for this reason, you'd have trouble doing things like 3D graphics with VB. The best compiler for C++ in my opinion is Visual C++, you can download the free express edition of this and C# from the MSDN website. Check out this Xisto thread: Freebie Stuff>>Visual Studio Express. Cheers!
  6. I've seen people do a similar thing with the .NET extensions for C++. It's called ImageXYZ and it's used for overlaying text onto an image. The website is here: http://www.pointofhonor5k.com/. Unfortunately, the software isn't free anymore, but there you go. Explain your problem to them and see if they could help you maybe. Good luck.
  7. I just compiled it myself and you're problem's occuring on my computer too. Now this is interesting: If you take a look at the value of a when the program is running, it actually shows up as '10'. Try changing while (a != 'n'); to while (a == 'y');. The program terminates after the first loop. What is happening in the background is that a is being set to the ASCII value 10 by the scanf() function. I've just done a search through the MSDN documentation, and this article has some interesting information on your problem that you might find useful. Take a look at this quote from the MSDN article: Here we go! Turns out that Ascii code 10 (the value that a is being set to) represents the '\n' character. What is happening is that when you press ENTER after being asked for input, the scanf() function reads the integer, hits the \n and then decides not to read it (in accordance with the quote). The second time scanf() is called, it reads '\n' and stores it in a. Here's a Solution: #include <stdio.h>main(){ char a; char enter; //useless variable to store '\n' a='y'; int b; do { printf("\nEnter a number: "); scanf("%d",&b); printf("You entered %d\n\n",b); printf("try again? (y/n): "); scanf("%c", &enter); scanf("%c%c",&a,&enter); printf("\n"); } while (a == 'y');}that's just a slightly modified version of yours. PM me if you have any questions. Cheers bro!
  8. I couldn't say what it is exactly, but I don't like the looks of the pointers (only because I find them confusing sometimes). struct elenco *p,*paux, *paux2;It just seems to me like you could do it without the pointers. I have found that alot of the time my unexplained crashes have something to do with memory management issues. Generally, if I can't get one of my programs working, I try to do the same thing in a different way. That can often iron out bugs. Also, you could try cleaning all the intermediate files (if you are using Visual C++) and then re-compiling. That's helped me before. I can't really understand the Spanish (??) too well, but I think you may also find what's happening is that you have created an endless loop or something. This would normally make a program hang, rather than crash, but if every time the loop iterates new memory needs to be allocated or something, then the program would definately crash after a while. Also, my best advice (although it sounds obvious) is to run the program in a Debug mode and step through line by line or set a lot of breakpoints. You get the idea. Good luck mate, hope everything goes alright. peace out!
  9. Well, I don't have a PSP but I have a PSOne (lol so old) and I have Medievil (and the sequel) on that... Medievil's great!On PSP they have Medievil: Resurrection, so that might be half decent.Also I've heard that Ridge Racer is good.
  10. hey, that's gold! I think it's probably more likely to be an operating system error though, because all the "View Source" button does is call the shell command "Edit" on the HTML file.Wait no, I just tried that and it opened Notepad. hmmm... It's kind of hard to code a bug like that though, especially by mistake! Maybe the Internet Explorer team decided to add it in on purpose so they could tweak certain features or something.... I put such a 'backdoor' command into the last piece of software I wrote ;)Then again, the Microsoft Internet Explorer team aren't 16 year old kids who like to extend their access privelidges on their school computers *wink wink*
  11. I would probably go with a PHP forum... I'm not really sure but I don't think that you can easily make a forum with XML- it's not dynamic, is it? (i.e. You can't make changing websites with it) PHPbb is a good PHP based forum- it's free to use too. Make sure that if you use it though you get PHPbb 2, as it is heaps better than version 1. Also for the easiest forum hosting, just go to http://www.forumer.com/. It has excellent free forum hosting, and not only allows you to use phpBB but also Invision Power Board. Xisto uses Invision, and I find it really easy to use.
  12. We had trouble with our network at one stage because we had two computers with a direct link set to Auto-Assign IP adress... problem was that both computers tried to obtain an adress from each other and ended up just timing out.Aside from that, it sounds like MacAfee could well have something to do with the problem.It definately looks like a software/driver issue of some kind- maybe it's related to some kind of a network time-date stamp or something? like timing out over a much longer amount of time? Also if you're using multiple operating systems, it could be a weird OS conflict. We experienced that across XP/ME.Maybe there's a conflict within the names of the shared sites or any other naming conflict of some kind.Also I'm not sure if this can actually happen, but maybe some of the shared sites are listed as temporarily shared. That could have something to do with it.Lastly you might want to run a virus/adware scan just to double check (although it sounds obvious).Best of luck.
  13. haha that's awesome! ;)it's really awesome to see someone finally posting on this forum about a relationship that's worked out well!all the best for you guys.also... GEEK POWER! w00t! (don't hurt me )peace out.
  14. firstly, you need curly braces { } around your reduce() function. secondly you are effectively getting the remainder of the numerator divided by itself in both parts of your statement (as Num == Div): if (Num % Div == 0 && Div % Div == 0) each of these modulus statements will return a remainder of 0. you need to find the highest common factor of the numerator and the denominator. you could do this by using a while loop and looping through every positive integer. Then stop when you get to half of the smallest number (as you won't get a highest common factor bigger than that). i'm not giving you the code because there's every chance that you could be cheating on an assignment... seriously, your situation does sound a little dodgy. anyway, as for learning C++ by yourself, buy a book. You could probably pick one up for less than $30 if you know where to look.
  15. hey, come to think of it, would there be a way to include little side fragments like for a side contents bar or something? that's another thing i'm trying to do. I can think of a way that involves include-ing into tables, but tables are really bad for design...also, the parts in between the PHP include statements, are they just written in standard HTML? if so, where does the <HTML> tag come in? before the PHP or after? I'm guessing it comes in at the top of the header file.thanks for all your support everyone.
  16. the problem with all this is that you have to go through a server before it checks if the other servers are down, i.e. if the redirecting server crashes, then you're no better off than before!I thought the idea of Buffalohelp's 403 error redirect script was brilliant... but then i read the comment that says it doesn't work (if anyone is wondering why, it's because for a 403 error page to get to the user, the server needs to generate a 403 page. If the server's down, this won't occur.)I think the only way to do it would be to involve the DNS (Domain Names Server). However, I don't think you can do it this way.I guess the easiest solution is to put on your main website a link to the mirror so people knew the link to the mirror if the main site was down.I'm not sure if this would work, but it's an idea:When the web page can't be found, the browser checks the Temporary Internet Files to see if it can find a file there (I think. You'd want to check this). Maybe you could make it so that each page on your site automatically checks if your site is up... then, when the Temporary Internet Files version was loaded, it would check to see if your site was up, realise it isn't, and redirect accordingly. This would only work if the user had previously visited your site, though.hope I've helped :Pcheers.
  17. I don't think that it quite works like that in Australia- and doesn't it seems a little bit dodgy to you guys that cops are actually doing this? I mean, that's a pretty bad example of justice :PI'm pretty sure that you could appeal or something though... it's been done before, the police waved a ticket for my Dad because he'd had a perfect record for 25 years and it was a few km's over the limit.. so surely if it's something that could easily be mistaken you could probably appeal?on the other hand, I'm not entirely sure what it's like in the States.peace out
  18. switch

    Public Transport

    yeah, I live in Wollongong (just south of Sydney) and we don't get major rail delays or anything like that very often. Occasionally you get trackwork which means you have to bus from train station to train station, and that can end up taking twice as long- but that's fairly rare.As for me, it takes 40 minutes minimum for me to walk to the train station as opposed to 15 minutes for the bus. Buses come just as often as trains (every twenty minutes) and, although they take longer, you get dropped off heaps closer to where you want to go (alot of the time).I think that public transport's great, and although it has its flaws, like any system, it seems to hold together pretty well and get the job done nicely.
  19. now that's very interesting cause i heard that the XBOX 360 had loads of fans (as in cooling fans, pardon the pun) and this link here seems to imply that the cooling system is state-of-the-art. features.teamxbox.com/xbox/1145/The-Xbox-360-Dissected/p7/ the only thing i can think of is that maybe in some consoles the cooling system control chip is faulty. In any product, there's a chance that you will get a faulty component, just this is one of the more critical ones- and it doesn't appear very often. That could be how it got past Microsoft's testing. Also, From past experience, I don't think microsoft are the kind of corporation who does a bodgy job of a product just so they can release it prior to competition. You should've seen the amount of Alpha and Beta testing they did on Visual Studio 2005! peace out.
  20. well, there's a bare-bones html way of redirecting, but you can't display the seconds remaining or anything with it. what you basically do is add this in between the <HEAD> tags. <meta http-equiv="REFRESH" content="time; URL=your.url"> where time is an integer representing number of seconds until redirect, and your.url is the url that you wish to redirect to. also html-redirect.html notes that i know that there is a way of using a java applet to countdown to 0 and then redirect, but you probably wouldn't want an applet on a 404 error page javascript is probably the way to go for that (although it can be easily disabled- so that's another consideration). all in all, HTML redirection is probably the most compatible way to do it, and, although it can't do anything really flashy, it gets the job done no problems. all the best.
  21. whoa.yeah that's pretty funny about the double negative... oh, and what are the rules, are we allowed to use plurals? because then antidisastablishmentarianismS is one letter longer! haha I win (except for St Michael ).actually, what's really scary is I've got a friend who can pronounce that 45-letter one starting with PN... crazy, huh!
  22. switch

    Bonsai Kittens

    yeah, i'm another person who thinks it's a hoax. Actually, i got an Anti-Bonzai-Kitten Petition email a while ago, with about 500 names on it.... i may have put mine down too, but I can't remember.Anyways, the Sydney Morning Herald Icon section (computers section) had a list of the top 5 hoaxes of 2004 late last year... you should've seen the look on my face when Bonzai Kittens came down as number 5!! lol :PI guess I believe it's a hoax because I can well imagine a group of punk kids... the dialogue would go something like:"Hey, why don't we make a website about something really disturbing and offer to sell it on the net! Then we can start a petition against it and see how many names get on the petition before we get it back!"It really wouldn't surprise me that much ;)peace out
  23. hmm... lozbo, that's a really interesting idea! although i think that some super agressive browsers may try to block it. Tyssen has a good point about using server side integration though. The main reason why i don't want to do that is because it sorta slows things down a bit.... but i guess that doesn't matter alot when you don't get alot of heavy traffic anyway.Tyssen, do you know if HTML 'include' statements are enabled by default on Xisto? You sort-of implied that they were (or at least that Xisto allowed 'include' statements) but were kind of vague in this area. Thanks for all your help guys. Much appreciated ;)peace out
  24. ok, thanks everybody, i'll definately take a look at that.i'm sort of actually leaning more towards a client side thing though, would there be any feasible way of doing that?thanks heaps for your help and advice guys, i really appreciate it
  25. yeah, the book "C++ for Dummies" is absolutely great. It introduces you to all the basics, and then if you want to get into Windows-specific applications or 3D graphics you can check out these websites respectively: http://www.functionx.com/ and nehe.gamedev.net. also, as far as compilers go, i've never heard of Digital Mars, but you can download Visual C++ Express Edition (which should suit your needs great, it's for "hobbyist programmers and students" according to Microsoft) from here: msdn.microsoft.com/vstudio/express/visualc/. it's a big download (80 MB or so, and then 300 or so for the help files, which are practically a neccessity) but it has a fully-featured environment, compiler and debugger. I have VC++ 2003 and it's absolutely fantastic (and it's an older version!) also i've toyed about a bit with DevC++ and it seems pretty good, but it's a little more basic in functionality. Still has an environment, compiler and debugger though (which is all you essentially need). the DevC++ website is here: http://www.bloodshed.net/. all the best mate, happy coding
×
×
  • 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.