Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~21.0K People Reached
About Me

Good C,Java programmer. Also Take up Sql, Access , .Net , VC, VB projects. Have offshore contacts. Can deliver projects at very low cost. Open to all small and big work.

Interests
Programming, Electronics in general, Listening Film Music
PC Specs
Pentium Centrino 1.5 Ghz, 512 MB Ram, Notebook

44 Posted Topics

Member Avatar for stupidenator

Do you intent to allow the client A to see all the other clients who are logged in . I think you should use broadcast from the server to clients whenever a new client gets added or leaves. The server must already be maintaing the list of clients. Also whenever …

Member Avatar for stultuske
1
2K
Member Avatar for kaoss1103

Yes it is because your OS is different. See what system(<command>) call does is, it invokes the Operating System shell API. Command PAUSE exists in Windows shell. So replace PAUSE with an equivalent MAC call and you will be fine. cheers, aj.wh.ca

Member Avatar for v3ga
1
2K
Member Avatar for evilsilver

if you dont want to make your internal player , this should be fairly simple. Use the basic code strategy of using an external player like Windows Media player when the code hits the desired line. e.g. in basic C I could do this with some thing like system("C:\Program Files\Windows …

Member Avatar for omid80
0
179
Member Avatar for aj.wh.ca

Sample code for taking input from Shell demonstrating string and int input For simple programs or testing purpose its not always required to take input thru GUI.

Member Avatar for javaAddict
0
238
Member Avatar for aj.wh.ca

Problem Description ----------------------- I tried to download my favourite site containing essays on history (leeching) with depth 4. For some reason say my download tool problem, I realized I could not download all the files. I had with me a list of files (list1) I downloaded and list of files …

Member Avatar for vegaseat
0
114
Member Avatar for aj.wh.ca
Member Avatar for sweetleaf
0
152
Member Avatar for aj.wh.ca

This is a bit more tough than it sounds. well some one gave me this problem and I found this tricky not until I used recursion.

0
789
Member Avatar for Ghost

[QUOTE=C++]Hi everybody; is there a way to find system info (current time, date, processor speed, processor's RPM, Fan1's RPM, Fan2's RPM, etc)? I am making a program that gives you information about your computer. Thanx in advanced, C++[/QUOTE] Hello, The basic system info could be fetched using the java.lang.runtime class. …

Member Avatar for jaka.ramdani
0
1K
Member Avatar for soarom

[QUOTE=soarom]Help please! since updated XP, my computer is a spyware magnet. i wish to make a thorough houseclean, but this is impossible since i cannot change the settings to view hidden files. The thing is, Folder Options won't show on the Control Panel, and the option is not available on …

Member Avatar for ThriceRed
0
200
Member Avatar for aj.wh.ca

Hi All, I have been observerving a declining trend in use and learning of C among new software engineers. Newer languages (Java) and more are gaining a foot hold. People are getting used to more user friendly environments. I was just thinking will C die out ? Forget legacy code …

Member Avatar for jbennet
0
151
Member Avatar for invokers

You need to use some JNI code or library if you wish to do packet sniffing in JAVA. Easiest is use - Jpcap Check [url]http://netresearch.ics.uci.edu/kfujii/jpcap/doc/index.html[/url]

Member Avatar for invokers
0
118
Member Avatar for shekharkopuri

Well have you really explored the option if you could get the public key from your peer. Anyways there is another method. Use "expect". [url]http://expect.nist.gov/[/url]

Member Avatar for aj.wh.ca
0
173
Member Avatar for rks01

Hi, That should be fairly simple. e.g. if you have a class MyClass and you want to make say 5 object array , declare some thing like MyClass objs[5] ; If you want a dynamic array use pointers -- MyClass *obj ; obj = new MyClass[num] ; Mail me if …

Member Avatar for Drowzee
0
106
Member Avatar for skeet123

Hi, Following should work fine [code]int max(int *array, int len) { int n1,n2; if(len == 1) return array[0] ; n1 = max(array , len/2); n2 = max(array + len/2 , len - len/2) ; return (n1 > n2 ? n1 : n2) ; } int main() { int A[] = …

Member Avatar for skeet123
0
136
Member Avatar for UltimateFreq

Hi, I think you have already done the hard part of parsing. Now u can simpy use one of the many list implmentation classes of Java to organise your info. First of all make a class with objects as e.g. class Node { int referenceId; String name ; LinkedList additionalInfo …

Member Avatar for UltimateFreq
0
185
Member Avatar for riturajraina

[QUOTE=riturajraina]Hi Friends, Can anyone tell how to change the attributes of a directory through C or C++. I have tried to found in my compiler's help file but it was showing the method to change the file attributes but not the directory's. I want to change the attributes of a …

Member Avatar for boggsi
0
434
Member Avatar for server_crash

Hi, Since your code is not commented I will comment on general strategy to accompolish your goal. Actually you dont need 3 arraylist. 1 is suffice. You need to decide on which approach to take --- depth first search or breadth first. Advantage of DFS is that using recursion its …

Member Avatar for server_crash
0
142
Member Avatar for grissomdl

well great.. I just saw it. qbasic used to be my fancy long back... Surprised to see it still live !!!

Member Avatar for grissomdl
0
158
Member Avatar for foxkueh

Hi, I have seen couple of hjt requests. Actually it is fairly simple to analyse your HJT log using [url]www.castlecops.com/HijackThis.html[/url] . Simply go to the site and for each entry in your HJT log identify to which category it belongs. e.g. if O2 then follow the next step on the …

Member Avatar for crunchie
0
415
Member Avatar for bluedos82

i think there are couple of them. I know 2 atleast [url]www.putfile.com[/url] [url]www.yousendit.com[/url]

Member Avatar for bluedos82
0
86
Member Avatar for drunkpanda
Member Avatar for aj.wh.ca
0
120
Member Avatar for celtic_moon

Hi, I have seen couple of hjt requests. Actually it is fairly simple to analyse your HJT log using [url]www.castlecops.com/HijackThis.html[/url] . Simply go to the site and for each entry in your HJT log identify to which category it belongs. e.g. if O2 then follow the next step on the …

Member Avatar for DMR
0
375
Member Avatar for unseen

Hi, I left assembly a long time back. So dont remember much. May be u find following usefull but please cross verify. 4) Data segment will start at absolute address 18400H + 00030H i.e. 18430 H. I am not sure of Stack segment since its location is not given in …

Member Avatar for unseen
0
190
Member Avatar for koolguysj

Yes , The problem is in your implementation of min function. In fact the `#define` which you have commented is correct. Uncomment the `#define` and then instead of if(n < r) { k = n; } else { k = r; } write `k = min(r,n-r) ;` Do you need …

Member Avatar for murschech
0
401
Member Avatar for stupidenator

Well an editor is a very personal choice. Its just my opinion. I have been programming fo around 8 years now. Worked on couple of languages and usually had to toggle between C, C++, Java and Unix / Windows. When I started Java I used notepad. Soon I started using …

Member Avatar for freesoft_2000
0
295
Member Avatar for Him3

Hi, Make your requirement a bit more detailed. I am unable to figure out what exactly you want to achieve. You have the post in db section , but it seems all you want to do is store an array which you can refer in your java program. Post details. …

Member Avatar for Him3
0
106
Member Avatar for B33FALO

Pretty cool response guys. But how do we assume that its necesarily a GUI program. Well if you are taking input from the command prompt I would suggest following //get String or simply enter public static String getStringFromUser(String msg) { String str=""; try { System.out.print(msg); str = new BufferedReader(new InputStreamReader(System.in)).readLine(); …

Member Avatar for server_crash
0
7K
Member Avatar for foxkueh

[QUOTE=foxkueh]Can someone help with this problem pls. I have been running this MYOB application without any problem. Today when I tried using it, a dialog box with the following message appeared and I failed in opening the programme: C:\WINDOWS\SYSTEM32\AUTOEXEC.NT. The system file is not suitable for running MS-DOS and microsoft …

Member Avatar for foxkueh
0
370
Member Avatar for phragix

A loop and sleep should do the job. Here it is ------------- for (( i = 1; i <= 60; i++ )) do snmpget ...... sleep 60 done change the seconds and loop count as per your snmpget tuning.

Member Avatar for aj.wh.ca
0
90
Member Avatar for tat2dlady

Can you explain more of "shared side" . Does it include diagonal numbers. The problem was simpler if I could simply think of as an array of number of which I had to divide in 2 sets whose sum was equal. Also I have following questions 1) A solution will …

Member Avatar for tat2dlady
0
164
Member Avatar for Vincentjames501

Hi, In this kind of a program the support is required from the Operating System. Depending upon OS yo have couple of choices ( and ofcourse compiler too). I cannot think of a single generic routine. Although if your application is a simple demo kind of a thing you can …

Member Avatar for aj.wh.ca
0
91
Member Avatar for nabil1983

Hello, Here is the correct program import javax.swing.*; public class CdStorage { public static void main (String[] args) { String menu_choice; int menu; menu_choice = JOptionPane.showInputDialog("Enter 1 to enter a new CD entry"); menu = Integer.parseInt(menu_choice); CdRecord[] array = new CdRecord[5]; array[0] = new CdRecord(); while (menu == 1) { …

Member Avatar for nabil1983
0
135
Member Avatar for jasweb2002

Hi, Actually Strings are classes in java. And java naming convention (it goes strict for atleast the JDK provided API) is to start classes with a CAPS. In nutshell change string to String

Member Avatar for paradox814
0
154
Member Avatar for Mature_Student

Hi, I am unable to exactly understand your problem. If I understand correctly your problem is simply of formatting (zero padding). It would be good if you can show sample output. (I donn have C++ compiler right now). Are you allowed to use sprintf. It makes formatting real easy. cheers, …

Member Avatar for Mature_Student
0
227
Member Avatar for Meldroz

Hi, heres the way mybyte[0] =(byte)( foo >> 24 ); mybyte[1] =(byte)( (foo << 8) >> 24 ); mybyte[2] =(byte)( (foo << 16) >> 24 ); mybyte[3] =(byte)( (foo << 24) >> 24 ); cheers, aj.wh.ca

Member Avatar for Meldroz
0
166
Member Avatar for computerages

[QUOTE=computerages]Hello everyone! I've been programming in PHP for 1 year and now I am looking forward to learn a computer programming language, but I am confuse...since there are several langauges out there. So what language you recommend? Thanks![/QUOTE] I think Java is a very good programming language. Not only it …

Member Avatar for vegaseat
0
298
Member Avatar for paradox814

[QUOTE=paradox814]how can i create a weblink in my java program. I tried adding a weblink in JLabel usign the html tags: [code] JLabel wwwLink = new JLabel("<html><a href=\"http://www.domain.com\">my link</a></html>"); panel.add(wwwLink); [/code] But the text came out blue as if it were a link, but nothing happens when you click on …

Member Avatar for aj.wh.ca
0
132
Member Avatar for George2

[QUOTE=George2]Hello everyone, I want to use indexing technology to speed up searching operation of my application. I have found that Java built-in type Hashtable can only have one key for each object. But my requirement is that an object can have multiple keys for an object. For example, the objects …

Member Avatar for George2
0
111
Member Avatar for sinB

[QUOTE=Raven11]On a visual program how would this work? I have the opendialog all set, but when I press the button which should launch the program, it does nothing. This is what I have: [code] Find->Filter = S"Text Files (*.txt)|*.txt|" S"All files|"; Find->FilterIndex = 2; Find->DefaultExt = S".txt|"; if (Find->ShowDialog() == …

Member Avatar for aj.wh.ca
0
186
Member Avatar for server_crash

[QUOTE=server_crash]I got this method that encrypts and decrypts text. All of it works fine, except when it comes to spaces. It doesn't convert the spaces correct. If you take a look at it, you might understand. [Code] import java.util.*; public class CustomCypher { public String encryptText(String key, String text) { …

Member Avatar for server_crash
0
76
Member Avatar for crestaldin

[QUOTE=crestaldin][COLOR=Black][FONT=Arial]Ps I need some help with my Windows programming assignment. My instructor wants us to draw an ellipse(2D) and make it appear like a ball(3D) by applying different shades of the same color to different parts of the ellipse. By assuming any point is the light source, parts near to …

Member Avatar for 1o0oBhP
0
181
Member Avatar for jayrads

Hi, It wud be really good if you can post your program. Are you getting problem when you are trying to pass the variable from main to print_results function ? cheers, aj.wh.ca

Member Avatar for jayrads
1
206
Member Avatar for mackverick

[QUOTE=mackverick]this is my first Java course and i am having troubles doing one of the assignments... well i am suppose to read a file containing grades of students...here is an example 034-23-8901 45 78 85 34 342-67-1231 98 45 67 45 452-57-2351 49 78 61 52 the first 9 digits …

Member Avatar for mackverick
0
251
Member Avatar for server_crash

[QUOTE=server_crash]I'm trying to write this method that takes some parameters from my text editor, and encrypt the text. I got part of it written, but I'm stuck on the next bit. I got the part where you convert the "key", but I just can't figure out what to do next. …

Member Avatar for server_crash
0
317

The End.