Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~4K People Reached
Favorite Tags
c++ x 19
Member Avatar for rkp728

Can anybody give some general examples of usage of spinlock where mutexes cannot be used? Also whats the difference between the spinlock and mutex?

Member Avatar for abhimanipal
0
83
Member Avatar for rkp728

I want to know how a read/write calls is accomplished in linux? I mean how a function say read() will read the data from a file. What all will be the steps from user mode read() function call to kernel mode? Will anybody explain the steps or let me know …

Member Avatar for rkp728
0
160
Member Avatar for rkp728

Using visual studio 2008 I created a small vc++ project and ran it using the exe created. The problem is the exe runs fine on my PC. But when I tried to run the exe on an another PC it gave the error "The application has failed to start because …

Member Avatar for rkp728
0
147
Member Avatar for rkp728

If there is a pointer member in a class. Eg.: [CODE]Class XYZ { Int *x; Char *c; }[/CODE] Then in such a case what all precautations do we need to take while handling such a member and the class?

Member Avatar for jonsca
0
97
Member Avatar for rkp728

I am getting the following error while building the code in VC: error C2143: syntax error : missing ')' before '&' on building the below code: [CODE]typedef unsigned int uint4; void Find(uint4& a, uint4 b, uint4 c); void Find(uint4& a, uint4 b, uint4 c) { . . . . }[/CODE] …

Member Avatar for mattjbond
0
73
Member Avatar for rkp728

I want to fill a structure and then print it. How to print the values of the structue? The structure is: [CODE] #define UINT32 unsigned int #define INT32 int #define UCHAR unsigned char typedef struct CheckSumPair { UINT32 weakcs; // The weak, rolling Adler32 checksum. UCHAR StrongCS[10]; };[/CODE] I have …

Member Avatar for Banfa
0
301
Member Avatar for rkp728

I am writing a adler32 code to compute the adler32 checksum of a string. On the net I came across various sample codes: I did not understand some code entirely as <b>it has additional code</b> marked in bold below apart from the basic implementation of the adler32 logic. I did …

Member Avatar for rkp728
0
228
Member Avatar for rkp728

error LNK2005...already defined While building my code in VS2008 I am getting a build error: error LNK2005...already defined in .... 1>Linking... 1>Main.obj : error LNK2005: "unsigned char * X1" (?X1@@3PAEA) already defined in BC.obj 1>Main.obj : error LNK2005: "char * X2" (?X2@@3PADA) already defined in BC.obj 1>Rs.obj : error LNK2005: …

Member Avatar for rkp728
0
3K