No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Computer Science Student
Hello, can someone help me to figure out how i can print the content stored in si ? suppose i did: sub si,si inc si ---> repeated this few time. how can i print the number in SI on the screen? |
|
hey, i've just learnt how to make additional virtual console ( e.g pressing ctrl+alt+f8 ) by changing the /etc/inittab file. i was wondering if i can make another graphical one such as that on ctrl+alt+f7 ?? can i do that from /etc/inittab or its not possible to make it there? |
|
Hello all, i'm formatting my pc and i'm facing a problem with my CD-ROM device. in the middle of windows xp installation i get an error message that it cant read from the I/O device. i assume that my CD-ROM is damaged or something, but it happens that i have … |
|
Could someone help me to understand what File descriptors are in Linux? |
|
Hello, i'm trying to print specific lines from a file using only [U]one command[/U] for example: a file contains 30 lines , i wish to print the content of lines 13, 14, 15, 16?? what command to use for that? |
|
hello, i'm trying to to get the time of my sorting function in seconds, and i always get ZERO time. here is what i'm using: [CODE=C]clock_t t1,t2; t1=clock(); clock_t IT I.insertion(A,200000); t2=clock(); IT=((t2-t1)/ CLK_TCK)*10000000000000000000;[/CODE] i print the IT and get ZERO. can someone help me with that issue? |
|
Hello, i'm trying to make a a list of items in a Text Area, something like this: apple 2 22 banana 31 1 orange 1 3 i want to it o be organized such that the numbers are in one column, and thats not working with me since the names … |
|
hello, i'm new with scripts and linux and need a little help. i made a text file called colors using a vi editor and contains as follows: red green blue gold now i want to delete the 2nd line with the word green using a script file. well i know … |
|
Hi, i' having a small problem with panels. i want the panel always to have the same size even when empty. in my program that i'm writting, i can see that the panel doesnt fit all the area where i put it ( i noticed that as i have different … |
|
in th following code, i cant use a Text Field in the actionPerformed methode .. the textFiled is declared outside that method. i get the following error: Cannot refer to a non-final variable serverHostField inside an inner class defined in a different method How can i solve this??? Thank you … |
|
Hello, i'm working on netbeans and want to access my database using this code: [CODE=java] import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class connect { /** * @param args */ public static void main(String[] args) { try { Class.forName("com.mysql.jdbc.Driver").newInstance(); } catch (Exception ex) { System.out.println("error \n"); … |
|
Hey, i'm trying to use the method [ICODE]getValueAt(int row, int column)[/ICODE] from [ICODE]Class DefaultTableModel[/ICODE]. This method returns [B]Object[/B] value, but i want to get an [B]int[/B] value. so can anyone suggest what class to use in order to convert the [ICODE]Object [/ICODE]value to [ICODE]int[/ICODE] ? |
|
i'm using NetBeans and i keep getting an error in this code: [CODE=java]package desktopapplication7; import java.awt.*; import javax.swing.JFrame; import javax.swing.JPanel; public class Frame extends JFrame { Container c= getContentPane(); setLayout(new BorderLayout(5,10)); JPanel p= new JPanel(); p.add(new JButton("OK")); // ERROR HERE c.add(p,BorderLayout.Center); // ERROR HERE }[/CODE] on both lines above, it … |
|
Hey all, i'm writing a small program that multiplies matrices. The number of matrices is taken as an input, which means it varies according to input. so i'm having a problem on how to dynamically declare several matrices. is it possible to do that? |
|
Hello, i have two questions concerning programming in Java. [U]1st Q:[/U] i have more than frame opened for the same program and when i want to close one of them, all the program closes as well. basically i write this code for closing the frame when clicking on a button: … |
|
Re:
hello all..... i was asked to perform a program of a calculator using stacks........ so i'll be so glad if any one have any simple ideas that helps...we need to read equations from the keyboard or files with no spaces in between, we must separate the numbers from the operators … |