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...
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...
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
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 (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...
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)
{...
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...
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
...
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 ...
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...
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...
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...
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.
...
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 ...
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.
...
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...
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
...
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...
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...
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...