Type: Posts; User: AlanGRutter
Search took 0.01 seconds.
September 16th, 2008, 04:56 PM
I have a web site that uses the AJAX Control Toolkit v3.020820.28853 and master pages. Everything works absolutely perfectly on my development machine, however when I deploy the site to...
November 26th, 2007, 08:05 PM
I believe it should get picked up by the garbage collection.
Personally, IMHO, I believe responsibility for closing the FileStream lies within the scope of the object that created it. If used on a...
November 26th, 2007, 07:56 PM
What you are doing is multicasting which requires a UDP connection and special IP address ranges. I suggest you start with a Google search for UDP multicast and see what turns up.
August 6th, 2007, 06:04 PM
The linker is telling you that your function is defined twice in different object modules.
It has already encountered a publicly visible function body for CallbackProc that takes two longs as...
An ABC acts solely as a base class for inherited classes. You cannot instantiate an ABC - you must instantiate one of the derived classes using new and assign it to a pointer to the base ABC.
Is your code running server side or client side?
ASP.NET 2.0 ?
I'm not very familiar with this stuff but on client-side don't you just need to get the element by id (getElementById) and then set...
You could use the strtok() function to split up your line into tokens.
April 18th, 2007, 06:22 PM
Here's my attempt - took me about 1 hour
//Narrative: This is a program that -
// 1) reads in the number of salespeople
// 2) reads in the name of the salesperson
// 3) reads the quota for...
April 18th, 2007, 04:05 PM
This is different to what you originally posted and is why I couldn't make any sense of the statement you did provide. It is still ambiguous
2 times first minus z
(2 * first) - z
April 17th, 2007, 04:38 PM
When you type a message, the toolbar has a 'Code' icon - if you click it it pops up a box showing HTML style tags. Use these around any code that you post and it will keep the formatting - you can...
April 16th, 2007, 11:35 PM
Submit or attach your full code.
April 16th, 2007, 10:07 PM
int FunctionOne(int x, int y)
return (x > y) ? (x + y) : (x - (2*y));
b) Item 5 makes no sense to me. Whose previous value? Did you mean z greater than twice value of x?
April 16th, 2007, 09:42 PM
Post your whole code - otherwise no-one can see exactly what you're doing.
April 16th, 2007, 09:02 PM
You will not get many replies if you don't use code tags. Also post your whole code and any sample data you are using.
Just create a loop (either a for or a while) for the number of salespersons...
April 16th, 2007, 08:49 PM
I have a couple of questions which may help you get some replies
1) Which order are the bits in the file in (Little Endian or Big Endian) ?
2) You ask 'What am I doing wrong?', yet you provide no...
April 15th, 2007, 05:14 PM
1. You need to use the array form of delete
delete  addrs;
since you declared an array. You should also have a copy constructor.
2. There's nothing wrong with the declaration - you...
April 12th, 2007, 10:41 PM
Well you haven't searched around much on the net then since in less than 1 minute I've found loads of resources on debugging.
Try this one for starters
Visual Studio Debugging
As Paul said...
April 11th, 2007, 10:06 PM
I have been programming for at least 25 years and in all that time I can honestly say I have never ever used a goto statement. I've always found a cleaner way.
If you were working for me and you...
April 10th, 2007, 09:53 PM
cin is for 'C++'. The poster said originally that it's a 'C' assignment.
April 10th, 2007, 09:30 PM
As it says in the KB article, the include file you require can be found in the DDK (Driver Development Kit) in the following location \Ddk\Src\Storage\Inc
So you need to get a copy of the DDK from...
April 4th, 2007, 06:33 PM
Are you saying you replaced
char st; by
You haven't allocated any memory for the variable - you need to do this in both cases. I think you are lucky in the first case.
April 4th, 2007, 05:11 PM
Exterminator - the below description is what I was hinting at
April 4th, 2007, 05:03 PM
What is being said about alignment is true however you generally do not need to specifically pad out your data structures so that they align on word boundaries as the compiler will do this for you.
April 3rd, 2007, 11:10 PM
AFAIK you can't initialise static members inside the class. You need to have
static Graph actorGraph;
April 3rd, 2007, 10:36 PM
Your macro is turning MIN into 7;
#define statements do not ordinarily end in a semi-colon. Additionaly your main should return something.
The correct code is
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.