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
~1K People Reached
Favorite Forums
Favorite Tags
java x 8
c x 2
c++ x 1
Member Avatar for ajayb

How to find size of a semaphore object in windows? I tried using sizeof() but we cannot give name of the sempahore object as an argument to sizeof. It has to be the handle. sizeof(HANDLE) gives us the size of handle and not semaphore.

Member Avatar for Ancient Dragon
0
108
Member Avatar for ajayb

I am trying to do remote function call in c++. The scenario is like this. There are two programs running say P1 and P2. P1 is trying to call a function implemented in P2. The program P1 calls a function using an object which will make a call to a …

Member Avatar for sundip
0
339
Member Avatar for ajayb

I am doing a GUI in swings using Netbeans IDE. I have two frames AudioVideostreaming.java Audiostreaming.java There is button called "Audiostreaming" in AudioVideostreaming.java file. When this button is clicked I want that the AudioVideostreaming.java frame is closed and Audiostreaming.java frame is opened. What code should I include in AudiostreamingbuttonActionperformed() method …

Member Avatar for Ezzaral
0
101
Member Avatar for ajayb

[CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * VideoStreamingform.java * * Created on 29 Mar, 2011, 7:01:42 PM */ package audivideotransmit; import javax.media.MediaLocator; import javax.swing.JOptionPane; /** * * @author ajay */ public class VideoStreamingform extends javax.swing.JFrame { …

Member Avatar for mcriscolo
0
118
Member Avatar for ajayb

I am trying to learn java. I want to know whats the best way of doing it? For example I got the code for setting up a TCP server in java which sends the data given in string. Now I want it to send the data dynamically to the client …

Member Avatar for ztini
0
396
Member Avatar for ajayb

#include<stdio.h> #include<string.h> void fn (int *ptr) { static int val=100; ptr=&val; } main() { int i=10; printf("%d", i); fn(&i); printf("%d", i); getch(); } The output of the above code is 10 10. why not 10 100? What is happening inside fn?

Member Avatar for Adak
0
87
Member Avatar for ajayb

I am trying to learn java. I want to know whats the best way of doing it? For example I got the code for setting up a TCP server in java which sends the data given in string. Now I want it to send the data dynamically to the client …

Member Avatar for peter_budo
0
183
Member Avatar for ajayb

public static boolean compare(int[] a,int n) { for(int i=0;i<n;i++) { for(int j=i+1;j<n;j++) { if((a[i]*a[j])%2==0) return false; else return true; } } } there's an error coming when I try to include this function in my prog. I think the place of return true is causing problem.When I write the return …

Member Avatar for ajayb
0
123