Jump to content

johnnyv

Members
  • Posts

    960
  • Joined

  • Last visited

Everything posted by johnnyv

  1. I think 'should' is the operative word B) It came up with the incredibly helpful 'the following packages could not be installed', and when I tried to settle the dependencies it just couldn't install them full stop. LibXinerama.so.1 was the crunch on both installs. How do you compile and then execute from the command line (I really do know nothing about this sort of thing, and the last time my husband tried programming was on a Spectrum :D )? hello.cpp #include <iostream> using namespace std; int main() { cout << "Hello World! \n"; return 0; } open up a terminal window, cd to the directory with the .cpp file in it. g++ -o hello hello.cpp this will create a executable file called "hello" from the hello.cpp source file. then type "./hello" (without quotes) to run the file. fine for starting c++ but when you get bigger project you will want to use the "make" utility.
  2. Here is an example of using hidden divs for display. Basic idea: in your table cell you have a bunch of divs which contain display contents, the first display page is set to display(display: block) the rest are "display: none" the selectDiv() function takes a divs name as the argument checks if it is all ready displayed via the divDisplay variable. If not sets the currently displayed div to "display: none" and changes divDisplay to the new divs name, then sets the new divs display as visible. <html> <head> <title>Code Junkies</title> <link rel="stylesheet" href="http://codejunkies.geektyme.org/codejunkies.css" type="text/css"> <script language="javascript"> <!-- var divDisplay="first"; function selectDiv(divName) { if(divName != divDisplay) { document.getElementById(divDisplay).style.display="none"; divDisplay=divName; document.getElementById(divDisplay).style.display="block"; } } // --> </script> </head> <body style="background-image: url(http://codejunkies.geektyme.org/background.jpg);"> <table align="center" border="0" cellspacing="0" height="100%" width="740"> <tbody> <tr> <td class="tables" colspan="2" height="70"> <center><img src="http://codejunkies.geektyme.org/toplogo.png"></center> </td> </tr> <tr> <td class="linkstable" colspan="2" height="40"> <center> Coming Soon </center> </td> </tr> <tr> <td class="lefttable" valign="top" width="80"> <center> Projects<br> <a href="#" onclick="selectDiv('first');">first div</a><br> <a href="#" onclick="selectDiv('second');">second div</a><br> <a href="#" onclick="selectDiv('third');">third div</a><br> </center> </td> <td class="middletable" valign="top"> <center> This section of geektyme.org is under construction. </center> <div id="first" style="display: block;"> <p>Here is some stuff in div 1</p> </div> <div id="second" style="display: none;"> <p>Here is some stuff in div 2</p> </div> <div id="third" style="display: none;"> <p>Here is some stuff in div 3</p> </div> </td> </tr> <tr> <td class="bottomtable" colspan="2" height="40"> <center> <font size="0">Copyright 2004 mark of <a href="http://www.geektyme.org/">geektyme.org</a><br> </font></center> <font size="0"> </font></td> </tr> </tbody> </table> </body> </html>
  3. I may have time to provide an example when i get home, after i cook dinner and if i'm not diverted by games ;)
  4. You could use yucky frames. You can uses javascript variables to populate a container like paul suggested, i use something similar for my works db app(mainly dynamic form selects and other elements). Disadvantage is you need to load all the content at once, may seem to take a long time for your page to load, and you will be wasting bandwidth if the user only wants to look at a few things.
  5. My workstation is still mdk 9.0 because i can't be bothered upgrading it ;) The other linux workstations here are 9.2's and one 10CE. The servers are still 9.0 too but they have good uptime, seems a shame to upgrade them.
  6. Suggesting a governing body is making laws! Unheard of! ;)
  7. Yes it seems that you have to work hard if you wanna stay on the bleeding edge these days.
  8. whats this function on line 16? parse_line is that one of your own functions if so wheres the definition and or the include file statement also readfile is a php function but not readfiles. looks like you have custom php functions with no includes to the functions definition file.
  9. Hmmm i don't see a kspy program anywhere :P Also no kworm, i will have to email the kde people about the lack of these vital programs. Afterall how do we expect to get windows converts if there aren't any of the most common windows programs :D Btw bvc you seem to really like firefox! or maybe just firefox related icons.
  10. yeah enemy-territory, urban terror and ut2004 onslaught.
  11. It says you can download it for free at openoffice.org in the faq.
  12. For me nothing beats multiplayer, ai is so predictable. If you can get some good team work going on, then it is very satisfying. And for single player stuff, i like it but i don't usually want to play the same game over and over, that makes NWN good for me. Because of all the user created levels that you can get, it extends the games play time massively. And i like a better resolution than 800x600. So its computer over consoles for me all the way. And finally we have a game with good vehicle based combat thanks to ut2004!, ok i gotta go play some onslaught now ;)
  13. Well after a pain in the arse install, ut2004 is great! Had to disable supermount and use icewm instead of kde to install. Anyway my framerate seems good 1152 X 864 all effects turned on with mdk9.2 1800xp 1024mb ram and gf4 ti4200 128mb.
  14. johnnyv

    DVD Player

    Have never seen this error, but you may need to get rpms from the plf for reading encrypted dvd's. It's this one i think. http://ftp.club-internet.fr/pub/linux/plf/...8-1plf.i586.rpm
  15. Welcome to the world of windows administration ;)
  16. Thats why i mentioned that he could try webmin if there was no X, if there was another networked computer with a browser on it of course.
  17. How about the gui tool Userdrake? You may find it easier. If you don't have X on the computer you could also try webmin https://192.168.0.1:10000/useradmin/ - just change 192.168.0.1 to the correct ip address.
  18. from memory make sure your in run level 3, then "xinit" should give you x with a terminal window, so you can exec nwn from there. man:/xinit in konqueror.
  19. Work around ripped from linux questions site. Works for me. http://www.linuxquestions.org/questions/history/151046
  20. Yeah geforce 4 Ti4200 no problems.
  21. I have seen the same thing with mozilla and konqueror. This was on a clean install so no old config files. Not dns problem, at least using ping etc all work as fast/well as normal. Looking around it is apparantly only when you have a 2.6 kernel, the 2.4 supplied with 10(apparantly i havent tried it yet) has no internet problems.
  22. For some shell scripts, you need to be in a directory when you run it, as it creates a temp file that another program is looking for in that specific directory. Without seeing the ./runlegends script I went with the safe route.... All i thought i was suggesting was to place your "startlegends"(not the original "runlegends") script in the /home/user_name/bin directory so that it would be in the user $PATH so they wouldn't need to specify the directory or prefix with "./". I was just to lazy to type it out with sufficient detail :D
  23. Heres another tip. If you place the startup script in /home/your_username/bin/ directory you can call it with just the name at the command prompt or via link to application. No need for "/pathtoscript/scriptname" just "scriptname" from any directory without the "./".
  24. All i care about is that the CE version means that more users will have tested it than for a normal RC(suckered in or not) so when i buy the powerpack it will be pretty solid( my hope!). And i have installed it on two work computers and the impression is pretty much everything is working fine (slow internet being the only annoyance).
×
×
  • Create New...