Is Java's applet the only way for the Java SE to work on a website?
Does Java SE (Standard Edition) offer a way to make its programs work online beside the Applets? Or is the applet the only way to do that? ...
Does Java SE (Standard Edition) offer a way to make its programs work online beside the Applets? Or is the applet the only way to do that? ...
Give me the best standard way of coding in PHP. where to store my css, php, images etc. How to seperate my folders, How many folders and whats the name of that folder? ...
I am confused by strcmp(), or rather, how it is defined by the standard. Consider comparing two strings where one contains characters outside the ASCII-7 range (0-127). The C standard defines: int strcmp(const char *s1, const char *s2); The strcmp function compares the string pointed to by s1 to the string pointed to by s2. ...
are there any standards for web service development? ...
When a user is viewing a paged table and requests it to sorted by a particular column, what page is shown? Is there a standard expected behavior for this scenario? I can imagine several possible outcomes, but want to know if there is a standard. ...
Having read the claim multiple times in articles - I want to add this question to Stackoverflow, and ask the community - is the following code portable? template<template<typename T, typename Alloc> class C> void f() { /* some code goes here ... */ } int main() { f<std::vector>(); } Is the implementation that supplies std::vector...
Is there a reliable way to declare typedefs for integer types of fixed 8,16,32, and 64 bit length in ISO Standard C? When I say ISO Standard C, I mean that strictly: ISO C89/C90, not C99. No headers not defined in the ISO standard. No preprocessor symbols not defined in the ISO standard. No type-size assumptions not specified in the ...
From within your application you can send an email by using MAPI functions ("MAPISendMail"). But if there is another mail client installed like "Thunderbird" or "David InfoCenter" the use of MAPI functions does not work, because "Outlook" or "Outlook Express" is not the standard email client. The use of shell functions to execute "mailt...
Hi, I'm trying to create a Thread that keeps netsh windows command-line tool open so I can execute netsh commands without open it every single time. The thing is, once I've created the Thread, just the first command call works... the subsequent calls seems to have no effect. Here is my code: public class NetshThread implements Runnabl...
I'm using the data ready events of the Process class to get information from the standard output and standard error of a running process. It works great on the first run, but after calling Stop() then Start() to force a restart of the application, I no longer recieve data. I've tried CancelErrorRead() but no luck there. I'm considering...
We are designing a web-site allowing business to upload data via XML. We have the XSD for the XML upload. What's the industry standard in supplying the XSD for the users? Is it provided on the web-site as a download? Thanks-- ...
When does one use OK+Cancel in a dialog and when "Save + Cancel". I have seen them used interchangeably. Is there a window standard? ...
I've looked at SO/IEC 9899:201x under J.1 Unspecified behavior: "The order in which subexpressions are evaluated and the order in which side effects take place, except as specified for the function-call (), &&, ||, ?:, and comma operators (6.5)." Does this means that in func1() + func2(); func2() may be preformed before func1(), o...
Hi all, I am using the standard WPF theme Aero.NormalColor.xaml. And it works very well. However for the whole application, I would like to override the Foreground color of textboxes to red. My first try is that <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictio...
Hey everyone, I'm thinking about how to handle sending large amounts of email from my web applications, and whether there are any best practices for doing so. StackOverflow is already labeling this as 'subjective', which it may be to an extent, but I need to know the most successful way to implement this system, or whether any standardi...
As far as I know floating point values are of the form n * 2^e, with float range being n = -(2^23-1) - (2^23-1), and e = -126 - 127, double range being n = -(2^52-1) - (2^52-1), and e = -1022 - 1023 I was looking through the C++ standard, but failed to find the place where the standard specifies this, or mandates the association of t...
Hi, my question is simple: Should I use array of char eg: char *buf, buf2[MAX_STRING_LENGTH] etc or should I use std::string in a library that will be used by other programmers where they can use it on any SO and compiler of their choice? Considering performance and portability... from my point of view, std strings are eas...
In section 3.6.1.2 of both C++ Standard 1998 and 2003 editions, An implementation shall not predefine the main function. This function shall not be overloaded. It shall have a return type of type int, but otherwise its type is implementation-defined. I am not a native English speaker.I do not sure what does"but otherwise" means.W...
I recently ran into an odd issue where I'd get a const_iterator instead of the expected iterator when iterating through a multiset. It turned out to be a non-issue for MSVC but g++ gave me an error: error: invalid initialization of reference of type 'myPtr&' from expression of type 'const boost::shared_ptr' Relevant code: ty...
I've started to write a file format specification for a domain-specific data type. My goal is to improve interoperability between a large number of data providers and search algorithms. I want the result to be available for use, patent-free and without distribution fees. I'm looking for advice on which license to use, both for the speci...