- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
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
Re: 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 … | |
Re: 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 ![]() | |
Re: 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 … | |
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. | |
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 … | |
Find the maximum element in an unsorted array using recursion | |
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. | |
Re: [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. … | |
Re: [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 … | |
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 … | |
Re: 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] | |
Re: 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] | |
Re: 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 … | |
Re: 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[] = … | |
Re: 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 … | |
Re: [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 … | |
Re: 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 … | |
Re: well great.. I just saw it. qbasic used to be my fancy long back... Surprised to see it still live !!! | |
Re: 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 … | |
Re: i think there are couple of them. I know 2 atleast [url]www.putfile.com[/url] [url]www.yousendit.com[/url] | |
Re: Where do you get mutiple Strings ? Not clear with your example. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. … | |
Re: 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(); … | |
Re: [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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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) { … | |
Re: 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 | |
Re: 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, … | |
Re: 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 | |
Re: [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 … | |
Re: [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 … | |
Re: [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 … | |
Re: [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() == … | |
Re: [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) { … | |
Re: [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 … | |
Re: 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 | |
Re: [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 … | |
Re: [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. … |
The End.