- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Head poobah
- Interests
- Writing instructions for the machine.
- PC Specs
- Dual CPU Xeon 3.4Mhz 10K RPM Western Digital HDDual 24" LCD
Re: If you have Visual Studio Team System (the expensive edition) then there is an excellent code profiler built into it. The code profiler will tell you how long each and ever function in your application took to execute. You could do the same thing by hand by starting and stopping … | |
Re: You can compare the [URL="http://www.cpubenchmark.net/cpu_lookup.php?cpu=Intel+Core2+Duo+E4500+%40+2.20GHz"]Core 2 E4500[/URL] and the [URL="http://www.cpubenchmark.net/cpu_lookup.php?cpu=AMD+Athlon+64+X2+Dual+Core+6000%2B"]Athlon X2 6000+ here[/URL]. The newer E4600 will be slightly faster than the E4500, but the 6000+ should still be better than both. | |
Re: I have never written a line of Python code in my life. So I am superbly qualified to answer this post. But I am guessing the os.system call just calls the operating system to execute the file supplied as the argument. So it won't return anything to the browser. But … | |
Re: Spiders that index your site (like Googlebot) will not have any direct knowledge that the same database is in use. Databases like SQL generally allow remote access via TCP/IP, so it is technically possible to share a database between multiple sites. BUT, Google might notice that both your sites contain … | |
Re: Any tool that allow you to simply manage content on a web site, without needing to do the HTML coding, is really a CMS. Blogs packages are really just a sub-set of CMS tools. They are generally less flexible than full CMS systems. But often easier to use. | |
Re: I am only new here, but is really surprising (and saddening) how many people just post up their assignments hoping someone else will do the ALL the work. As an employer of IT graduates I get to read a lot of CV's an interview a lot of candidates. And to … | |
Re: This should be easy to do. Take a look at the [URL="http://www.wrensoft.com/"]Zoom Search Engine[/URL]. You can add search to an intranet, web site or CD. The pages being searched don't need to be accessible to the public. In particaular see this support question on the site. [URL="http://www.wrensoft.com/zoom/support/auth.html"]Q. How do I … | |
Re: As it is only 3 lines of code do you need a function? [CODE]const int MAXROW = 4; const int MAXCOL = 10; int main() { int a [MAXROW][MAXCOL]; for (int row = 0; row < MAXROW; row++) for (int col = 0; col < MAXCOL; col++) a[row][col] = rand … | |
Re: Having lot of incoming links (i.e. a popular site) helps a lot to get your forum indexed. Using a forum package that is SEO friendly from the start also helps. You can also create a Google Site Map which lists all the pages on your site (including the forum posts). … | |
Re: You can find the [URL="http://www.usb.org/developers/docs/"]USB specifications[/URL] here. There is also this book. [URL="http://www.amazon.com/USB-Complete-Everything-Develop-Peripherals/dp/1931448027/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1201168990&sr=1-1"]USB Complete[/URL]. it isn't a perfect book but easier than reading the approximately 1000 pages that make us the USB specification. | |
Re: I would sell 2 of the the 512MB sticks on Ebay and with the proceeds buy an additional 1GB stick to match your spare 1GB stick. The cost difference would be small (maybe $30?) and you get 3GB in dual channel. | |
Re: I don't think it is supported. A replacement might be fscanf() + some extra code, but it really depends on what you are doing with with vfscanf. | |
Re: It seems [URL="http://cs.senecac.on.ca/~btp100/pages/assignments/a1.html"]this assignment[/URL] was set by [URL="http://cs.senecac.on.ca/~chris.szalwinski/archives/btp100.033/office.html"] Professor Chris Szalwinski[/URL] who runs the Structured Programming course at the School of Computer Studies at Seneca College in Toronto. Maybe someone should [URL="mailto:chris.szalwinski@senecac.on.ca"]E-Mail him[/URL], to let him know what his students are doing :-/ | |
Re: [QUOTE=The New Normal;525091]I think they're both valid terms. Hyperthreading is a form of multithreading.[/QUOTE] Hyperthreading was a term Intel made up for a hardware feature they included on their P4CPUs which allowed multiple threads (and processes) to run partially in parallel on the CPU. Hyperthreading was like having one and … | |
Re: It would take a post several pages long to detail all the problems and inefficiencies in this code. I don't know where to start. It is a mess. A real mess. But the good news is that at least you had an attempt at writing some code. But here are … | |
Re: I would echo soccerrm1 thoughts. I was the same as you 20 years ago. At the time I was also worried about which Uni options will get the most money. But whatever you do the money will be OK, so the money isn't that important. Do what you like. Becuase … | |
Re: The definition of the problem is not clear (at least to me). Given the decimal integer, 523456 Is the answer 1) 3 Becuase there are 3 odd digits (5,3, & 5) 2) 2 Becuase there are 2 unique odd digits (5 & 3) 3) 7 Becuase there are 7 unique … | |
Re: [QUOTE=WolfPack;517624]This is because the storable range of long is larger than int.[/QUOTE] Actually this is [URL="http://msdn2.microsoft.com/en-us/library/s3f49ktz(VS.80).aspx"]not true[/URL] on most systems. unsigned long, 4 bytes 0 to 4,294,967,295 unsigned int, (also) 4 bytes 0 to 4,294,967,295 Even in 64bit programming (on Windows with Visual Studio) they are the same size and … | |
Re: You need to supply more information. What O/S and what CPU? If you are writing a DOS application (with an x86 CPU running in [URL="http://en.wikipedia.org/wiki/Real_mode"]real mode[/URL]), then pointer values in RAM will be a physical addresses. But if you are working in Linux or Windows with a x86 CPU then … | |
Re: Developing a good game requires a fairly large budget. For example Crysis cost about $20,000,000 to make, and involved about 300 people. What is your budget? | |
Re: My understanding is that Chilisoft ASP only supports classic ASP. And even then it only implements a subset of the ASP functions. In short, it isn't very useful. I also think it is now called, "Sun Java System Active Server Pages". And not Chilisoft. | |
Re: Initialize uChoice [CODE]char uChoice = '\0';[/CODE] Then add a loop. For example, [CODE]while (uChoice != 'Q') { switch(uChoice) ... ... }[/CODE] | |
Re: I've got some bad news for you. Your existing code isn't using linked lists at all. It is using an array! Before you can delete from a linked list you need to actually create a linked list. Here is an [URL="http://www.inversereality.org/tutorials/c++/linkedlists.html"]introduction to linked lists[/URL]. | |
Re: Try using a 'for' loop. Also, as this *should* be a very small piece of code, there is no need to declare your own functions. It should look more like this, [CODE]#define ROLLS 4 #define DIESIDES 6 int main() { int num[ROLLS]; int min = DIESIDES+1; int total = 0; … | |
Re: You can use the Windows API function SetCommState to control the high level RTS/CTS control line behaviour in Windows. Use EscapeCommFunction () to manually set RTS/CTS and GetCommModemStatus () to test the current state of RTS/CTS. Not so sure about Linux. | |
Re: Just use use the built in C library [URL="http://msdn2.microsoft.com/en-us/library/zes7xw0h(VS.71).aspx"]QuickSort function[/URL]. qsort (myArray, 10, sizeof (int), compare) int compare ( const void *arg1, const void *arg2 ) { if ((int) *arg1 > (int) *arg2) return 1; } |