Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
40% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
1 Commented Post
0 Endorsements
~2K People Reached
Favorite Tags
Member Avatar for soujanya.bhat.184

Hi all, I was wondering how to access individual elements in the below case: char *three=(char*){'2','5','8'}; If the assignment were like this: char *three="258"; it can be accessed with three[0],three[1].....etc. How to access in the first case?

Member Avatar for rubberman
0
177
Member Avatar for soujanya.bhat.184

Hi Guys, How to write the contents of JList into a text file. i have a JList and i want to add the list elements to a text file. How to do this?

Member Avatar for stultuske
0
275
Member Avatar for soujanya.bhat.184

Hi Guys, I was trying to write a code to send AT command to a GSM modem. But i am facing problem while sending the AT command from UI. Below is the code: SEND.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { Thread runThread = new Thread(new Runnable() { @Override …

Member Avatar for mKorbel
0
136
Member Avatar for soujanya.bhat.184

Hi All, I am learning Multithreading in Java and came across this code using SwingWorker for GUI multithreading. Here is the modified code done by me. import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.List; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.SwingWorker; public class MainFrame extends JFrame { …

Member Avatar for mKorbel
0
360
Member Avatar for soujanya.bhat.184

Hi. I am learning Java and now stuck in the exceptions chapter. I wrote a code to understand exception. But i am not getting why there is an error saying "Unreachable catch block".Please help me out here. Code is as shown. public class GetException { static int i; public static …

Member Avatar for soujanya.bhat.184
0
126
Member Avatar for soujanya.bhat.184

I am not able to understand the concept of virtual functions. When a member function of base class is redefined in derived class,the redefined function can be used to get desired output. Then why there is a need to use virtual functions? For instance, the following two codes produce the …

Member Avatar for Agni
1
197
Member Avatar for soujanya.bhat.184

Hi.I have written this code which capitalizes 1st character of each word in the string.All other letters of the word has to be in small letter.But i am not getting desired output.Plz tell me where i am going wrong.. #include<stdio.h> int main(void) { char string[]="hI i aM sOujanYa"; char string2[20]=""; …

Member Avatar for soujanya.bhat.184
0
169
Member Avatar for soujanya.bhat.184

I am new to programming.I have written this code which arranges the words in reverse order i.e., if input is "I Am Sad" output should be "Sad Am I" but am not able to get where i am going wrong so plz help me. here is the code #include<stdio.h> #include<string.h> …

Member Avatar for deceptikon
0
143