Forum: C++ Feb 11th, 2008 |
| Replies: 5 Views: 863 As it is only 3 lines of code do you need a function?
const int MAXROW = 4;
const int MAXCOL = 10;
int main()
{
int a [MAXROW][MAXCOL];
for (int row = 0; row < MAXROW; row++)
for... |
Forum: C++ Feb 9th, 2008 |
| Replies: 15 Views: 1,613 I had to do organic and inorganic chemistry to get a degree in computer science (and maths, physics, astronomy and philosophy).
At the time I thought it was dumb, but 20 years on, I don't regret... |
Forum: C++ Feb 9th, 2008 |
| Replies: 15 Views: 1,613 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... |
Forum: Motherboards, CPUs and RAM Feb 9th, 2008 |
| Replies: 4 Views: 711 It depends on what software you are using, and what you do with your PC.
If you are using apps that use a lot of RAM (e.g. Photoshop with multiple large images) then you need as much RAM as you... |
Forum: Motherboards, CPUs and RAM Feb 8th, 2008 |
| Replies: 4 Views: 711 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... |
Forum: Search Engine Optimization Feb 7th, 2008 |
| Replies: 5 Views: 901 No point asking me, I am hopelessly bias. I wrote the initial code for the Zoom product (and own the company :-) ). Needless to say, I think it is pretty good. Not perfect yet, but pretty good. |
Forum: C++ Feb 7th, 2008 |
| Replies: 5 Views: 1,140 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. |
Forum: C Feb 7th, 2008 |
| Replies: 5 Views: 830 It seems this assignment (http://cs.senecac.on.ca/~btp100/pages/assignments/a1.html) was set by Professor Chris Szalwinski (http://cs.senecac.on.ca/~chris.szalwinski/archives/btp100.033/office.html)... |
Forum: Growing an Online Community Feb 7th, 2008 |
| Replies: 6 Views: 1,157 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... |
Forum: Search Engine Optimization Feb 7th, 2008 |
| Replies: 5 Views: 901 This should be easy to do. Take a look at the Zoom Search Engine (http://www.wrensoft.com/). You can add search to an intranet, web site or CD. The pages being searched don't need to be accessible to... |
Forum: Python Feb 6th, 2008 |
| Replies: 8 Views: 1,647 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... |
Forum: Existing Scripts Feb 5th, 2008 |
| Replies: 2 Views: 1,754 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... |
Forum: Motherboards, CPUs and RAM Feb 4th, 2008 |
| Replies: 20 Views: 2,243 This is a generalization, that is only true in some circumstances. It really depends on what software you are running. |
Forum: C Feb 4th, 2008 |
| Replies: 2 Views: 450 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... |
Forum: Motherboards, CPUs and RAM Feb 4th, 2008 |
| Replies: 20 Views: 2,243 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... |
Forum: IT Professionals' Lounge Jan 29th, 2008 |
| Replies: 3 Views: 931 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... |
Forum: C++ Jan 25th, 2008 |
| Replies: 4 Views: 1,125 Actually this is not true (http://msdn2.microsoft.com/en-us/library/s3f49ktz(VS.80).aspx) on most systems.
unsigned long, 4 bytes
0 to 4,294,967,295
unsigned int, (also) 4 bytes
0 to... |
Forum: C++ Jan 25th, 2008 |
| Replies: 8 Views: 2,204 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... |
Forum: C Jan 25th, 2008 |
| Replies: 5 Views: 1,331 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 real mode (http://en.wikipedia.org/wiki/Real_mode)), then pointer... |
Forum: IT Professionals' Lounge Jan 24th, 2008 |
| Replies: 4 Views: 648 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? |
Forum: ASP.NET Jan 24th, 2008 |
| Replies: 1 Views: 702 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,... |
Forum: Motherboards, CPUs and RAM Jan 24th, 2008 |
| Replies: 15 Views: 3,890 You can compare the Core 2 E4500 (http://www.cpubenchmark.net/cpu_lookup.php?cpu=Intel+Core2+Duo+E4500+%40+2.20GHz) and the Athlon X2 6000+ here... |
Forum: Computer Science Jan 24th, 2008 |
| Replies: 3 Views: 955 You can find the USB specifications (http://www.usb.org/developers/docs/) here.
There is also this book. USB Complete... |
Forum: C++ Jan 24th, 2008 |
| Replies: 2 Views: 1,390 Initialize uChoice
char uChoice = '\0';
Then add a loop. For example,
while (uChoice != 'Q') {
switch(uChoice)
...
...
} |
Forum: C++ Jan 24th, 2008 |
| Replies: 1 Views: 1,713 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.
... |
Forum: C++ Jan 24th, 2008 |
| Replies: 8 Views: 3,655 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... |
Forum: C++ Jan 24th, 2008 |
| Replies: 2 Views: 1,483 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,
#define ROLLS 4
#define DIESIDES 6... |
Forum: Promotion and Marketing Plans Jan 23rd, 2008 |
| Replies: 8 Views: 2,116 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... |
Forum: C++ Jan 23rd, 2008 |
| Replies: 1 Views: 2,406 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 ()... |
Forum: Website Reviews Jan 23rd, 2008 |
| Replies: 4 Views: 700 You might want to initially run the site with as little advertising as possible until it becomes popular.
Also do a spelling check.
"CFO, Cheif of Financial Services
Bobby" |
Forum: C++ Jan 23rd, 2008 |
| Replies: 1 Views: 1,154 Just use use the built in C library QuickSort function (http://msdn2.microsoft.com/en-us/library/zes7xw0h(VS.71).aspx).
qsort (myArray, 10, sizeof (int), compare)
int compare ( const void... |