Is there a wy to do pthreads in C++, using all the features(classes, etc.)?
Type: Posts; User: OcTO_VIII
Is there a wy to do pthreads in C++, using all the features(classes, etc.)?
OOPboredom: to read a large file, use memory mapping. If Linux is the case, use mmap(). I don't know the memory mapping function for Windows.
Ok. Found it and fix it and it works now perfectly :)
I created the following multi-threaded program in linux:
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
//using namespace std;
void *thread_funk(void *start);
oooh :))
Tnx.
In the following programme I'm using the auto_ptr pointer. All is good but when I try to print the value of the pointer, it prints out some memory location. Why?
#include <iostream>
#include...
Somewhere I spotted kernel interrupt 80, what can it do and where can i get detailed info about it?
Hi!
I compile this code:
#include <stdio.h>
typedef unsigned int word;
typedef unsigned char byte;
static byte ch;
Ok, tnx.
Is there a way to read bits for bits from a file and then write bit for bit to a file in c++?
Becose integer has 4 bytes in memory. In main there are ten integers(10*4=40). But inside that functioin, you have the reference to the starting of the array. So, 1*4=4.
aaaaa
Help me a lot
tnx.
Hi!
I don't know what exacly SDK is. I mean i know it means Software Development Kit and it is used for Software development, but, ...
but can someone explain how it is build, how it works, why...