HI Folks..
Is there any /sbin/sysctl equivalent command in windows?
Actually I need to find kernel parameters in windows..In unix /sbi/sysctl -a will give all the kernel parameters and their...
Type: Posts; User: swaugh
HI Folks..
Is there any /sbin/sysctl equivalent command in windows?
Actually I need to find kernel parameters in windows..In unix /sbi/sysctl -a will give all the kernel parameters and their...
Hi Guys,
Let us do a small program. Find out the maximum and minimum values of different types in C (int, unsigned int, float, double etc). The challenging part here is that the program needs to be...
How can I find out my system word size??Can anybody tell me "C" Program to find out word size??
Ex: if it 32 bit then should print 32-bit, if it is 64 bit should print 64-bit
Hi Beon
Your Code is
while(sel_case != 0)
{
if ( scanf( "%d", &sel_case ) == 1 )
{
Hi Friend..Thank you..
You have explain about context switching..if it is a single processor then your words are absolutely correct...what about in case of multi processor system...You can achieve...
Little Endian means that the lower order byte of the number is stored in memory at the lowest address, and the higher order byte is stored at the highest address. That is, the little end comes first....
Try this code to find out your processor is big or small endian
main()
{
int num = 1;
if(*(char *)&num == 1)
{
printf("\nLittle-Endian\n");
Hi All,
what is the use of multithreading in a single processor(cpu) machine??
Hi Guys,
How to find out the given processor is a big endian or small endian.??
There are many IPC mechanisms available
In your case if client and server are running same machine
then you can choose one of the IPC mechanism from the following
1.Pipes
2.shared memory (same...
If you create n semaphores then You have sem_numbers 0 to n-1.
And in semaphore wait you called sem_op=-1
Initially when creates semaphores its value is initialized to 0
and you are decreamenting...
HI ALL,
my main program created one pthread.which is running infinite loop.
when i want to terminate remote thraed i used pthread_cancel .
But some time it may not cancelling the remote thread.....
u can try this code it will work for u r case
void deleteLine(int id)
{
char contents[500]="\0",buffer[500]="\0";
int i=1,;
ifstream file("file.txt");
hi guys,
i am working in solaris 5.9.i have some problem in my windows mail system.how we can configure pine so that complete my mails come to my system , my mail server is a windows server(ip...
i have one set of numbers many numbers start with '1' and start with '2' and start with '3'. i seperate these numbers how i identified which numbers start with '1','2' and '3'?
hi all
i am newbie in c++. can we implement same encapsulation in c?
may be my answer is yes.if we try using static variables it can be possible please somebody help me
hi all
can anybody help me
1) how to process say client and server sending messages using RPC(remote procedure call) if message size is 50 byte
code should be in cpluplus
thanks
hi guys,
i am newbie of socket programming working on solaries sysetm.
#include<stdio.h>
#include<stdlib.h>
#include<sys/types.h>
#include<sys/socket.h>
#include <netinet/in.h>
#include...
this is the code
#include <iostream.h>
#include <iomanip.h>
//class declaration
class Time
{
private: