Search Results

Showing results 1 to 10 of 10
Search took 0.01 seconds.
Search: Posts Made By: gusano79
Forum: XML, XSLT and XPATH 10 Days Ago
Replies: 2
Views: 368
Posted By gusano79
That's because minOccurs only indicates how many times that element may appear; it doesn't relax any restrictions on the structure of conforming XML documents.

If you want the root element to...
Forum: C++ 24 Days Ago
Replies: 3
Views: 204
Posted By gusano79
C is notorious for giving you "enough rope to shoot yourself in the foot"--but it doesn't matter what language you're talking about... if it allows you to define a recursive function, you can always...
Forum: C# 31 Days Ago
Replies: 3
Views: 2,345
Posted By gusano79
Simple, yes... but not something I'd allow into production code. See these (http://odetocode.com/Blogs/scott/archive/2004/08/20/401.aspx) links...
Forum: C# Sep 7th, 2008
Replies: 2
Views: 600
Posted By gusano79
You can't link directly to a COM library; you have to link to a .NET interop library. The VS IDE secretly generates this library for you when you add a COM project reference. Since you're using the...
Forum: C Sep 8th, 2004
Replies: 5
Views: 3,519
Posted By gusano79
Correct; hardware interrupt 9h is the keyboard interrupt, and it's possible to use that to get keyboard states. But if you're compiling for Win32, then by all means use the API like bdiamond...
Forum: Java Jul 12th, 2004
Replies: 8
Views: 4,738
Posted By gusano79
With some languages, it may depend on the compiler as well. Shortcutting an operation like that can be considered an optimization; I've heard of compilers (can't think of any off the top of my head...
Forum: C Jun 17th, 2004
Replies: 5
Views: 2,548
Posted By gusano79
The sprintf function (http://www.cplusplus.com/ref/cstdio/sprintf.html) should work for that:
#include <stdio.h>

void Set(char string_time[])
{
sprintf(meridian, string_time);
}

If you...
Forum: MS SQL Jun 15th, 2004
Replies: 2
Views: 7,700
Posted By gusano79
You can write a trigger that fires on both insert and update:

CREATE TRIGGER <trigger_name>
ON <table_name>
FOR INSERT, UPDATE
AS
<trigger_body>

Here's the T-SQL reference page:...
Forum: C++ Jun 10th, 2004
Replies: 6
Views: 15,137
Posted By gusano79
Here's an explanation to complement Abu's code example:

A radix sort works with the digits of a number, working from the least significant digit to the most. Here's a sample set of numbers:
423...
Forum: Java May 13th, 2004
Replies: 4
Views: 3,153
Posted By gusano79
Try this:

Remove the declaration and definition of th_ciz (first two lines quoted above). Roll it all into the ActionListener:


bt_ciz.addActionListener(new ActionListener(){
public void...
Showing results 1 to 10 of 10

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC