Forum: IT Professionals' Lounge Jul 23rd, 2007 |
| Replies: 11 Views: 1,874 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... |
Forum: Python May 19th, 2007 |
| Replies: 1 Views: 2,751 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... |
Forum: C++ Jul 31st, 2006 |
| Replies: 1 Views: 2,774 Well have you really explored the option if you could get the public key from your peer.
Anyways there is another method. Use "expect".
http://expect.nist.gov/ |
Forum: Java Jul 31st, 2006 |
| Replies: 11 Views: 1,585 You need to use some JNI code or library if you wish to do packet sniffing in JAVA.
Easiest is use - Jpcap
Check http://netresearch.ics.uci.edu/kfujii/jpcap/doc/index.html |
Forum: C Sep 13th, 2005 |
| Replies: 4 Views: 1,362 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 --... |
Forum: C Sep 13th, 2005 |
| Replies: 3 Views: 3,143 Find the maximum element in an unsorted array using recursion |
Forum: C Sep 13th, 2005 |
| Replies: 3 Views: 2,072 Hi,
Following should work fine
int max(int *array, int len)
{
int n1,n2;
if(len == 1) return array[0] ; |
Forum: Java May 25th, 2005 |
| Replies: 4 Views: 1,409 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... |
Forum: Java May 12th, 2005 |
| Replies: 3 Views: 2,273 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... |
Forum: C++ May 12th, 2005 |
| Replies: 2 Views: 3,443 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.... |
Forum: Legacy and Other Languages May 10th, 2005 |
| Replies: 2 Views: 3,093 well great.. I just saw it. qbasic used to be my fancy long back... Surprised to see it still live !!! |
Forum: Geeks' Lounge Apr 6th, 2005 |
| Replies: 2 Views: 1,681 i think there are couple of them. I know 2 atleast
www.putfile.com
www.yousendit.com |
Forum: C Apr 6th, 2005 |
| Replies: 0 Views: 25,836 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. |
Forum: Java Apr 6th, 2005 |
| Replies: 5 Views: 2,239 Where do you get mutiple Strings ? Not clear with your example. |
Forum: C Apr 1st, 2005 |
| Replies: 3 Views: 6,434 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;... |
Forum: Shell Scripting Mar 30th, 2005 |
| Replies: 1 Views: 8,026 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. |
Forum: Java Mar 30th, 2005 |
| Replies: 10 Views: 8,375 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 /... |
Forum: Java Mar 29th, 2005 |
| Replies: 2 Views: 16,254 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. |
Forum: Java Mar 29th, 2005 |
| Replies: 7 Views: 16,641 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 ... |
Forum: C++ Mar 29th, 2005 |
| Replies: 1 Views: 4,722 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.... |
Forum: C Mar 29th, 2005 |
| Replies: 2 Views: 3,460 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... |
Forum: Assembly Mar 29th, 2005 |
| Replies: 3 Views: 3,891 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... |
Forum: Database Design Mar 29th, 2005 |
| Replies: 2 Views: 4,557 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... |
Forum: Windows NT / 2000 / XP Mar 29th, 2005 |
| Replies: 6 Views: 5,068 Hi,
I do not specifically know about MYOB. But so far I have faced and solved similar problem twice. Even though doing a google on this scares you a lot -- blah blah about windows 16 bit systems... |
Forum: Java Mar 29th, 2005 |
| Replies: 2 Views: 1,987 Hello,
Here is the correct program
import javax.swing.*;
public class CdStorage
{
public static void main (String[] args) |
Forum: C++ Mar 28th, 2005 |
| Replies: 11 Views: 22,766 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... |
Forum: Viruses, Spyware and other Nasties Mar 25th, 2005 |
| Replies: 7 Views: 19,651 Hi ,
I am attaching a pic of where "view hidden..." comes in my folder options. I have win xp home SP2.
Hope this helps.
cheers,
aj.wj.ca |
Forum: C++ Mar 25th, 2005 |
| Replies: 5 Views: 14,479 Hi Rituraj ,
Unless you have some other requirement for the program you are trying to develop I would call it re-inventing the wheel. For the purpose you have written, I would strongly suggest that... |
Forum: Viruses, Spyware and other Nasties Mar 25th, 2005 |
| Replies: 8 Views: 3,017 I agree to part 1)
To answer part 2 of you message -- i would recommend you take a look at that site. In fact the Hi Jack tutorial which you have added as a link, this site takes you 1 step... |
Forum: Java Mar 25th, 2005 |
| Replies: 33 Views: 32,579 OK I see your code. But as far as I understand you have not implemented any user mechanism in your server. So basically any once with the client program can connect to your server. Now coming back to... |
Forum: Java Mar 24th, 2005 |
| Replies: 4 Views: 2,419 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 |
Forum: Viruses, Spyware and other Nasties Mar 24th, 2005 |
| Replies: 8 Views: 3,017 Hi,
I have seen couple of hjt requests. Actually it is fairly simple to analyse your HJT log using www.castlecops.com/HijackThis.html .
Simply go to the site and for each entry in your HJT log... |
Forum: Java Mar 24th, 2005 |
| Replies: 33 Views: 32,579 Are you using TCP or UDP sockets for networking. mostly for instant messenger people use UDP.
As per your saying -- "I can not figure out how I am going to send the username to the server from the... |
Forum: Java Mar 24th, 2005 |
| Replies: 2 Views: 33,480 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 );
... |
Forum: Java Mar 24th, 2005 |
| Replies: 33 Views: 32,579 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... |
Forum: C Mar 23rd, 2005 |
| Replies: 11 Views: 3,917 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++... |
Forum: Viruses, Spyware and other Nasties Mar 23rd, 2005 |
| Replies: 7 Views: 19,651 Hi ,
try opening windows explorer and then check folder options. Just for information -- XP SP2 can be catastrophic if you had spywares before upgrading.
regards,
aj.wh.ca |
Forum: Viruses, Spyware and other Nasties Mar 23rd, 2005 |
| Replies: 27 Views: 4,420 Hi,
I have seen couple of hjt requests. Actually it is fairly simple to analyse your HJT log using www.castlecops.com/HijackThis.html .
Simply go to the site and for each entry in your HJT log... |
Forum: Java Mar 23rd, 2005 |
| Replies: 1 Views: 7,181 Hi,
I dont think JLabel has the capability of clickable URLs.
I think following links should help you.
www.rgagnon.com/javadetails/java-0273.html... |
Forum: C++ Mar 23rd, 2005 |
| Replies: 5 Views: 14,479 I think there are couple of ways to do this. Simplest I think is use the system call and use OS specific command within. e.g system("attrib +r mydir") will make mydir read-only.
cheers,
aj.wh.ca |