I was just wondering who knows what programming languages Windows, Mac OS X and Linux are made up from and what languages are used for each part of the OS (ie: Kernel, plug-in architecture, GUI components, etc).
I assume that there are multiple languages for each and obviously I know the Linux kernel is written in C.
I'm totally guessi...
What kind of C++(Restate to programming) would I have to learn to make my own OS kernel? (I know I would also have to learn assembly.)
EDIT*Like interrupts , keyboard driver, getting input.*
Ok everyone I made a really * 3 basic OS and would like to share it.
Here you go.
http://bcsy.hostzi.com/BytOS.zip
Compile on linux
...
I'm a bit rusty on my Windows system programming...
Is it possible for a program to send a keystroke (I'm guessing by SendMessage() api call) to another application, if the (open) target application does not currently have the focus? If it is possible, does it then make the target application become the active application, or does it s...
I'm currently working on a test plan and ran into a possible problem and I was wondering if anyone had any suggestions.
The application uses SQL Server and it can connect between the different versions for compatibility (2000, 2005, 2008). Well i'm trying to set up some test machines and was wondering how I should set things up. Shoul...
I am trying to install windows server operating system on a DELL optiplex desktop GX600 series,
During the installation, In the first step I was asked to choose between:
1)Windows 2008 X86 Architecture
OR
2)Windows 2008 X64 Architecture
Now, how do I determine what architecture my Dell desktop is built on and which OS installation opti...
I'm about to jump to a new machine that has Vista Home Premium 64 installed. I do development with VS2008. I have an Ultimate 64 license and disc so I can repave if I have to.
What are the day-to-day operational differences between Home Premium and Ultimate? I know that IIS7 is supposed to be "stripped-down" but what does that really ...
Is it possible to have Android running on x86 computers?
...
I wouldn't know under what keyword to look for this in the PHP database, so I'm asking here.
Reason I want to know is because of how different Operating Systems handle new lines in textdocuments.
I'm using a CSV file in windows but each time I think I add a new line, what really happens is the new line gets pasted to the back of the la...
Can a whole operating system be written without using even one line of C/C++ code?
EDIT: One more to add to the list - assembly
...
I'm trying to remove an ACL set for johndoe from all the folders recursively on one of my drives without hosing any other entries! Anyone know how to do this without affecting the ACLs that already exist for other groups/users?
I'm looking for the Mac equivalent of "setfacl -d u:johndoe"
I know you can use chmod to remove a rule from m...
is there a common command which can give the system information for windows2003 and above versions.
Thanks in advance
...
cout<<"abcd";
sleep(100);
cout<<'\b';
If I want to print the string out and then get back one character ,
why a sleep() is needed here?
But when using printf in C ,it seems that it is not necessary, why?
char* a = "12345";
char* b = "67890";
threadA(){cout<<a;}
threadB(){cout<<b;}
beginthread (threadA);
sleep(100);
beginthread (th...
Is there a OS-neutral method of querying for system (not JVM - I am aware of RuntimeMXBean.getUptime()) uptime in JavaSE 6 ?
Thanks
...
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <semaphore.h>
void *thread_function(void *arg);
sem_t bin_sem;
#define WORK_SIZE 1024
char work_area[WORK_SIZE];
int main() {
int res;
pthread_t a_thread;
void *thread_result;
res = sem_init(&bin_sem, 0, 0);
if...
Given the following code, can you figure out what caused "You input 7 characters" showed up 3 times especially the
last time?
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <semaphore.h>
void *thread_function(void *arg);
sem_t bin_sem;
#define WORK_SIZE 1024
char work_area[W...
There is a function that calls itself recursively infinitely.
This function has some arguments too.
For every function call the arguments and return address are pushed on the stack .
For each process there is fixed size of stack space that cannot grow dynamically like heap.
And I guess each thread also has its own stack.
Now if a fun...
Introduction
I heard something about writing device drivers in Java (heard as in "with my ears", not from the internet) and was wondering... I always thought device drivers operated on an operating system level and thus must be written in the same language as the OS (thus mostly C I suppose)
Questions
Am I generally wrong with this
a...
Some background:
As a personal project, I've been developing a kernel in c++. Things are going well, in fact I have very good support for much of c++ available in kernel land (I've implemented nearly the entire libc and libstdc++).
One of the more difficult and compiler specific things is RTTI and exception support. For now I'm disabli...
I am trying to put up the high level description of different stages in program life time from source code to its execution.
Points:
Preprocessing: Macros, include files and compiler directive are processed in this phase.
Compilation: Source files are compiled into obj files
Linker: Different obj files are linked to single executabl...
How can I write a program which can test throughput of disk in Windows systems using c++?
What's the mainly steps and APIs that I can use to programming?
...