Forum: C++ Dec 9th, 2007 |
| Replies: 2 Views: 419 Nah, because then you'd have to declare a complex object that will work with only one of the numerical datatypes. The complex number isn't supposed to be generic, the arithmetic is.
I had to make... |
Forum: C++ Dec 9th, 2007 |
| Replies: 2 Views: 419 I'm writing a simple complex number class in c++ and we're supposed to overload the four arithmetic operators to work on complex+-/*complex, complex+-*/double, and double+-*/complex.
This is... |
Forum: C Dec 1st, 2007 |
| Replies: 4 Views: 2,767 This seems to work here, but when I actually apply it to my algorithm, it fails to sort.
#include <stdio.h>
#include <stdlib.h>
int main()
{
void *array = calloc(10, sizeof(int));
for... |
Forum: C Dec 1st, 2007 |
| Replies: 4 Views: 2,767 I have a version where instead of manipulating the pointers, I keep track of the indices. Then when I want to reference one I simply add the index * size to the base of the array.
So yes, I can... |
Forum: C Dec 1st, 2007 |
| Replies: 4 Views: 2,767 I'm implementing a heapsort on a void array. But I'm having trouble with line 6:
void siftdown(char *start, char *end, size_t size)
{
char *curr = start;
char *child;
while (curr*2 + size... |
Forum: Windows Vista and Windows 7 Sep 8th, 2007 |
| Replies: 1 Views: 5,331 Right click computer > manage > disk management > right click partition of choice > set active.
Are you trying to set up BitLocker? If you check MSUpdate there is a BitLocker Drive Preparation... |
Forum: Windows Vista and Windows 7 Sep 8th, 2007 |
| Replies: 5 Views: 4,068 Make sure the icons are distributed correctly.
C:\Users\Public\Desktop\ - contains icons that are seen by all. If deleted, will be deleted for all.
C:\Users\%USER%\Desktop\ - contains icons... |
Forum: Windows Vista and Windows 7 Sep 8th, 2007 |
| Replies: 0 Views: 2,376 I have 3 USB Flash drives. Two were formerly U3 devices which I formatted using the u3 removal utility. The other one is your basic flash drive. When I plug them into the computer to try and play... |
Forum: Networking Hardware Configuration Aug 16th, 2007 |
| Replies: 7 Views: 4,118 I used it for a couple of years, but after realizing that I don't really want to use any of the extended features (and to see if I could fix a cable connection that drops periodically) I switched... |
Forum: Networking Hardware Configuration Aug 14th, 2007 |
| Replies: 0 Views: 1,005 I have a small home network (3 computers) and a Linksys router with QoS. I would like to do some simple traffic shaping optimizations to prioritize webbrowsing and email, hopefully letting p2p and... |
Forum: Network Security Aug 11th, 2007 |
| Replies: 0 Views: 2,675 I have a linksys wireless router and was using uTorrent. The network became very slow and all of the computer in the workgroup had trouble connecting to the internet. I was looking through the... |
Forum: Windows Vista and Windows 7 Aug 10th, 2007 |
| Replies: 0 Views: 5,450 Why does the %AppData% point to user/AppData/Roaming and not to user/AppData/Local?
What's the difference between these two folders on a single machine not connected to a domain (but to a... |
Forum: Windows NT / 2000 / XP Aug 6th, 2007 |
| Replies: 0 Views: 1,304 Is there a way to have Windows XP place an icon on your desktop when you insert a flash drive, possible to inserted cds as well? |
Forum: Web Browsers Aug 5th, 2007 |
| Replies: 10 Views: 11,241 I think a great feature for Thunderbird would be a TBird Web Access server. That way you can store your mail on your computer but still access it via a web interface for convenience. And why not?... |
Forum: Windows Vista and Windows 7 Aug 4th, 2007 |
| Replies: 3 Views: 1,739 Does anyone else find Vista's settings difficult to navigate? Everything seems so tricky to find because they try to make each page look simple and user friendly. For one thing network settings are... |
Forum: Network Security Jul 26th, 2007 |
| Replies: 0 Views: 6,533 If you search Google for information on how to create roaming profiles in Windows XP you find some pretty intricate nity-gritty guides such as this one:... |
Forum: Windows NT / 2000 / XP Jul 26th, 2007 |
| Replies: 1 Views: 773 How exactly does running a program as the current user help anything? I really don't see what security benefit it could/should provide. |
Forum: Geeks' Lounge Nov 6th, 2006 |
| Replies: 8 Views: 2,673 http://www.microsoft.com/uc/Default.mspx?CM=Features&CE=Medium |
Forum: Windows NT / 2000 / XP Oct 14th, 2006 |
| Replies: 0 Views: 938 I run my laptop with windows XP as an administrator. I recently made a guest account as well as a limitted account for some people that will be using it temporarily.
One thing I noticed is that... |
Forum: Windows NT / 2000 / XP Oct 5th, 2006 |
| Replies: 0 Views: 1,026 Is it possible to apply the effects of gpedit.msc to a group instead of the whole computer?
I'd like to be able to create my own groups or at least edit the user's group with affecting the... |
Forum: Windows NT / 2000 / XP Oct 4th, 2006 |
| Replies: 1 Views: 1,188 In add/remove I see .NET v1.1 and .NET v2.0 listed. Do I need them both installed, or can I remove v1.1 from the list? |
Forum: Windows NT / 2000 / XP Oct 3rd, 2006 |
| Replies: 0 Views: 1,707 I would like to create a button on my desktop/taskbar that can toggle the On Resume Password Protect setting.
Does anyone know how to change this setting manually? Through the registry? Through... |
Forum: Networking Hardware Configuration Sep 27th, 2006 |
| Replies: 3 Views: 1,513 A secure connection might be required (https://192.168.1.1 for most). Also some routers can only be access through certain ports like a specific management port. |
Forum: Networking Hardware Configuration Sep 26th, 2006 |
| Replies: 1 Views: 9,005 Why are wireless signal and noise measured in negative dBm?
Should noise and signal be higher or lower? How do they effect one another?
What sort of levels should be expected for a home... |
Forum: Geeks' Lounge Sep 12th, 2006 |
| Replies: 8 Views: 2,673 Yes, I have been using Google, Yahoo, and MS Live quite a bit over the past few months. And they all have their problems. With gmail I don't like their lack of support for importing and exporting... |
Forum: Geeks' Lounge Sep 12th, 2006 |
| Replies: 8 Views: 2,673 Eh, wizards suck because they make the program use too linear. I just think programmers shouldn't be afraid to leave out features that aren't useful, rather than take the 'dumb' approach and add... |
Forum: Geeks' Lounge Sep 11th, 2006 |
| Replies: 8 Views: 2,673 [QUOTE=jwenting;251284]I hate all those 'integrated solutions' anyway, they combine the worst elements of everything into a seemless useless whole that's good for nothing.[QUOTE]
I really don't... |
Forum: Geeks' Lounge Sep 8th, 2006 |
| Replies: 8 Views: 2,673 What do you guys think of an open source web2.0 project. Such a project would provide a suite of online services such as communications, photosharing, calendars, etc. It would seek to improve the... |
Forum: PHP Sep 5th, 2006 |
| Replies: 3 Views: 2,191 Pretty much no matter what you're going to need to use Javascript.
You can either reload the page a bunch of times; user selects cont, page reloads with countries, user selects country, page... |
Forum: PHP Sep 4th, 2006 |
| Replies: 4 Views: 2,651 |
Forum: PHP Sep 4th, 2006 |
| Replies: 2 Views: 1,270 I don't see why you can't use GET, but, serialize/encyrpt the password first. It's easy to do in PHP, but as you have to do it client side, hopefully there is some javascript md5 function.
... |
Forum: Getting Started and Choosing a Distro Sep 3rd, 2006 |
| Replies: 5 Views: 2,644 I think it has to do with the size of the blocks the server's hard drive uses compared to your hard drive.
For example if one file is 800 bytes and the server stores data in blocks of 8 bytes... |
Forum: MySQL Sep 3rd, 2006 |
| Replies: 1 Views: 2,361 I'm not sure how to do it in a manner which would be considered effecient... but you can run multilayered queries (selects within selects) as well as conditional logic in your queries.
Just play... |
Forum: MySQL Sep 3rd, 2006 |
| Replies: 2 Views: 1,191 I'm sorry but I don't think anyone can gather what you're trying to do...
Running your own MySQL server does not REQUIRE any form of encryption... |
Forum: MySQL Sep 3rd, 2006 |
| Replies: 1 Views: 880 Try safe mode or root (depending on your platform) |
Forum: MySQL Sep 3rd, 2006 |
| Replies: 1 Views: 5,267 You're close but consult the MySQL (I'm assuming that's your db) documentation for the correct timecode format. I think its YYYYMMDDHHMMSS (and you may insert 0s wherever you want.) so:
SELECT... |
Forum: PHP Sep 3rd, 2006 |
| Replies: 2 Views: 5,625 Yes what you are asking is very unclear. But the definate answer is: anything is possible!
It sounds like you just need to tinker a little more, possibly loading your query into a... |
Forum: PHP Sep 3rd, 2006 |
| Replies: 1 Views: 2,280 Sorry, but I think it's unclear exactly what you are trying to do.
I assume you mean you have an open source webmail program based in PHP? If this is true, your PHP installation almost certainly... |
Forum: PHP Sep 3rd, 2006 |
| Replies: 2 Views: 2,295 The Zend PHP tutorial located at zend.com has fairly complete examples of PHPs interaction with My and Postre SQL. I recall a few decent examples on persistance. |
Forum: PHP Sep 3rd, 2006 |
| Replies: 8 Views: 1,943 I think the PHP Documentation provides some of the best examples an a per-function basis. Also the user comments are great for seeing different uses for the functions and common problems. |