standard

Standard Keyboard Layouts

I'm working on a FOSS project at http://unicode.codeplex.com. In this project we try to collect some information about standard keyboardlayouts. What we want to know is there a place or document or ... which mention what's the Standard Keyboard Layout for exact language. I mean if you are a German or American or Arab or ... , what's t...

Looking for standards conforming documentation tools

When I try to document my server configuration steps in my blog it doesn't look structured. I need some kind of standards layout guide,something oriented towards howtos, with headers, steps, some kind of documentation creation standards that is supported by a wiki and can enforce or guide the document layout. Is there any such documenta...

is there standard sql that works in all database

As seen below the syntax is different for different Database .Isnt there a standard way that works in all Databases. Is there any tool to convert any sql to any sql SqlServer2005: CREATE TABLE Table01 ( Field01 int primary key identity(1,1) ) Sqlite: CREATE TABLE Table01 ( Field01 integer PRIMARY KEY AUTOINCREMENT NOT NU...

sizeof(void*) and sizeof(function_type_ptr*) equality

sizeof(void*) and sizeof(function_type_ptr*) equality Must sizeof(void*) and sizeof(function_type_ptr*) be equal? Is it required by C (C90, C99) standard? function_type_ptr is pointer to function. This question is about standard requirements, not your own opinion. Please, give links, section numbers and quotations from standards ...

Are there machines, where sizeof(char) != 1 ?

Are there machines (or compilers), where sizeof(char) != 1 ? Does C99 standard says that sizeof(char) on standard compliance implementation MUST be exactly 1? If it does, please, give me section number and citation. Upd: If I have a machine (CPU), which can't address bytes (minimal read is 4 bytes, aligned), but only 4-s of bytes (uint...

Overloading global swap for user-defined type

The C++ standard prohibits declaring types or defining anything in namespace std, but it does allow you to specialize standard STL templates for user-defined types. Usually, when I want to specialize std::swap for my own custom templated type, I just do: namespace std { template <class T> void swap(MyType<T>& t1, MyType<T>& t2) {...

Can I write the contents of vector<bool> to a stream directly from the internal buffer?

I know vector< bool > is "evil", and dynamic_bitset is preferred (bitset is not suitable) but I am using C++ Builder 6 and I don't really want to pursue the Boost route for such an old version. I tried : int RecordLen = 1; int NoBits = 8; std::ofstream Binary( FileNameBinary ); vector< bool > CaseBits( NoBits, 0 ); Binary.write( ( const...

output from linux pipe in two inpdendent files

How do I pipe standard output from linux pipe in two inpdendent files? I use a tool called openRTSP and which to standard output in two independent files i.e. openRTSP > /tmp/file1 > /tmp/file2 ...

Calculating moving average/stdev in SAS?

Hye guys, I included a screenshot to help clarify my problem: http://i40.tinypic.com/mcrnmv.jpg. I'm trying to calculate some kind of moving average and moving standard deviation. The thing is I want to calculate the coefficients of variation (stdev/avg) for the actual value. Normally this is done by calculating the stdev and avg for ...

Using Excel VBA to capture edit mode through checking the standard tool bar

I'm using this code to check if the standard toolbar is deactivated in the edit mode. CommandBarControl oNewMenu = Application.CommandBars("Worksheet Menu Bar").FindControl(1, 18, 1, True, True) If (IsNull(oNewMenu)) Then MsgBox "Edit mode enabled" End If but the FindControl function raise an error. Is there any conflict in...

Where can I find a quick reference for standard Basic?

The reason? Pure nostalgia. Anyway, there was a standard for Basic that was published in the late 80s or early 90s. It was probably ISO/IEC 10279:1991, but I don't have access to that and cannot be sure. Whatever this standard was, some of the syntax made its way into Borlands Turbo Basic and Microsofts Visual Basic. I never learned an...

What can you do in C without "std" includes? Are they part of "C," or just libraries?

I apologize if this is a subjective or repeated question. It's sort of awkward to search for, so I wasn't sure what terms to include. What I'd like to know is what the basic foundation tools/functions are in C when you don't include standard libraries like stdio and stdlib. What could I do if there's no printf(), fopen(), etc? Also, a...

C++ standard input from file when debugging from IDE

I'm using VS 2010, and I'm wondering how I can get my c++ program to read a file using standard input while debugging. I know how to do it from command prompt, but not when debugging. Basically I want it to read in a file with cin>> instead of me typing stuff - but in debug mode. ...

Anonymous Methods / Lambda's (Coding Standards)

In Jeffrey Richter's "CLR via C#" (the .net 2.0 edtion page, 353) he says that as a self-discipline, he never makes anonymous functions longer than 3 lines of code in length. He cites mostly readability / understandability as his reasons. This suites me fine, because I already had a self-discipline of using no more than 5 lines for an ...

tools in masm for files io

How can I operate on files in masm. I mean using standard libraries included to microsoft (masm). Or somethning available in windows without linkink libraries. ...

Trouble installing Windows Embedded Standard 2009

Getting the following error when attempting to install: Error attempting to create the destination file: C:\Windows Embedded Data\Repositories\{25C88912-9870-4686-97CE-8244C A1B0DAB}.CAB. System error code: 5 Code 5 looks to be an "Access denied" issue. Not sure if this is a generic Windows error, or specific to this install. Any ins...

Detecting HTML5 Drag And Drop support in javascript

Hi. I'm trying to detect the HTML5 Drag And Drop support in javascript. Modernizr seems to not handle this test case. Any idea ? Regards ...

How to make 2 executables communicate in both directions in Windows

Hello. I have 2 Windows console applications, reading from standard input and writing to standard output. I'd like to assume I don't have the source code to any of them (actually I usually have the source code of one of them). I want to direct the standard output of one to the standard input of the other and vice versa, thus allowing c...

How do you redirect a standard stream of a C++ routine wrapped with SWIG and exposed to Python?

Is it possible to control the standard streams of C++ code in python? The code is wrapped with SWIG and then exposed to Python where I call one of its functions. I am getting all kinds of unwanted messages coming from C++ code and I want to suppress them either by not using the output stream or by redirecting it to a bit bucket, e.g. de...

What are the standard/practical steps required before moving to implementation of any Project/Task?

Hi everyone, I liked stackoverflow very much and just got registered. As I am a beginner in programming, most of the time i just implement/code my tasks directly not even thinking of creating any dfd's, flowcharts or other tools for my new classes and methods. In some interviews i was asked what process do you follow and i was confused...