Search results

  1. G

    Fortran for beginners

    matlab is derived from fortran and much of the syntax is swappable. Matlab is interpreted.. Perhaps mech eng's only learn 2 languages or so but us electrical engineers learn many more. Perhaps its because we design integrated circuits and electronics though. Still i hate it when people...
  2. G

    Big arrays

    rgrig is right. Secondly, with disk accesses it will be even slower.
  3. G

    AMD or Intel better ?

    Well, actually tons has changed but i agree its still a ****ty ISA (8086 was bad when it was new). The AMD64 is quite nicely cleaned up by adding a few more GPR's etc in 64-bit mode. They didn't go as far as i'd like but they took advantage of lack of backward compatibility.
  4. G

    Way to systematically solve gate problems?

    What type of problem. Are you just trying to read ahead in preperation for school?
  5. G

    Language suggestions for writing an app

    gcc-'s goal is portability not speedyness so there are issues in the architecture that make it difficult for optimization. Intel's compiler is just about one of the best you can get, especially for AMD cpu's. Java has a run-time profiller and can optimize on the fly. That was one of the...
  6. G

    Getting rid of windows ME

    I recommend against that. I suggest creating a two partitions, One to store your "my documents" and one to store your windows/apps/everything else. When you have problems in the future you will thank me ;)
  7. G

    Language suggestions for writing an app

    Heh, i should've checked for a python interface. That's pretty nice :D
  8. G

    Language suggestions for writing an app

    Well, there are two solutions i'm thinking about, 1 would be to use SDL and access per-pixel data. This doesn't give you other widgets to work with unless you can find some lib laying around. It is very simple and works with c/c++ and has bindings for everything. It also extends nicely into the...
  9. G

    Caltech homepage trick

    Have you tried to Right click -> view source if you see any .js file reference download that too!
  10. G

    My network directory file synch batch file thing

    Developpers and group projects often have the same issue. How to keep a common codebase/document base while so many different users and different computers are accessing it. Well, there's a solution! :surprise: It might be a little more complex then typical...
  11. G

    Ip tracing

    try doing a tracert on yourself and see where the packets all get routed.
  12. G

    Who makes viruses?

    A lot of these loosers "writting" viruses are script kiddies modifying others work. These are the people that always get caught. I must admit that i've written a few non-propagating ones as a prank once back in high school. It wasn't damaging or dangerous just embarrased some people who...
  13. G

    C sharp programming

    Learn java over c#. For too many reasons to list. It's a solid enterprise language and its clean for learning. My favorite language remains to be c++.
  14. G

    Randomized Quick Sort

    A better choice would be to take the median of both enpoints and the middle element and use insertion sort of partitions less then (8,9 or 10) in length.
  15. G

    C prog: printing values from array of structures

    Here's something else for you to think of, if you understand this then you have a decent idea of pointers... char arr[3][2]; what would arr pass? what would arr[2] pass? what would arr[2][1] pass? One other thing, you can also have function pointers, void pointers, and others.
  16. G

    C prog: printing values from array of structures

    You cannot pass an array by value. An array is actually a pointer to a memory block. When you do array[3] you are essentially adding 3*data_size to the array starting address. Mmmkay.. You have to move that for loop outside the function. #include <stdio.h> void print_array(char a)...
  17. G

    C prog: printing values from array of structures

    Are you familiar with pointers? if so the following statements are equivalent arr[]; *arr; When you pass them by value you will not pass a pointer to an array, you will pass an individual object (note: object is bad choice of word :P). The only way this can be achieved is by calling...
  18. G

    C prog: printing values from array of structures

    Try this: printf("%c",arr[0].pers_name.middle[0]); A string is just a character array.
  19. G

    Spyware removal

    Recommend: Firefox! Ad-aware! Thunderbird! and if you're really 1337: gentoo! MacOSX!
  20. G

    Record TV programs onto HDD

    I recommend ATI's card. I have one and it works great. Yes, you do need more than one card because you can only tune into 1 channel at a time due to the nature of the hardware. However, you will need software which can support more than one card at a time.
  21. G

    Hotmail and Gmail

    1) i dunno. hotmail is sloppy i guess. i hear if you sign up for @msn you will get 2GB now. 2) I haven't gotten invites in weeks, i'm sure the same is true for others.
  22. G

    US Department of Homeland Security: Don't Use IE

    Lol!!! I switched from netscape to mozilla to phoenix/konqueror (when it was ubber young). Now i've vastly improved myself by getting a mac and using those on this. Camino, safari, firefox. I laugh at that article. Every web developper i know is saying the same thing. IE is soo...
  23. G

    Google GMail Problem

    Try this: [Broken] I get the loading error using safari all the time. None of the other browsers are affected. Safari is still pretty buggy with gmail. Btw, i haven't gotten invites to give away in a long time now... must've been a week.
  24. G

    Using VB to find determinants

    Two questions first: Are you using a 2-dimensional array? How is the data encoded. I'd suggest hard coding the array at first just to see it working. It is a lot of copying and pasting.
  25. G

    Priority queue

    lol, ya, i got the terms mixed up... but i'm not the only one. I've seen priority queue used to describe that priority is given to first in. TenNen, firstly can you write a simple queue? (or a linked list?, reference or array based?) From there you simply add a priority variable to each node...
  26. G

    Priority queue

    This is all you need to know: FIRST IN = FIRST OUT. There are three main operations, queue, dequeue, and peek. dequeue removes first element, queue adds item to end of list, peek retrieves first item but doesn't remove. It would be used in cases where you have a bunch of messages or...
  27. G

    Who here

    i'm confused between special forces and the original. I've completed training in both (or i thought). Are they two seperate games or did they get merged.
  28. G

    C++ Compiler?

    I've been using dev-c++ for around 4 years now i guess. It's a pretty solid IDE, if you know delphi you should help contribute.
  29. G

    Is gnu C/C++ a good compiler?

    Well, if you want to make gui applications in linux then you're pretty much stuck with gcc. Intel's compiler is often considered superior because it produces faster code, but then there's more issues resulting from the fact that its not gcc. :/ GCC is the technology used to compile pretty...
  30. G

    What are pipelining techniques?

    ArsTechnica is usually a good resource. It's written in plain english but it doesn't wimp out.