Search Results

Showing results 1 to 40 of 47
Search took 0.04 seconds.
Search: Posts Made By: Blackeagle
Forum: Assembly 15 Days Ago
Replies: 6
Views: 604
Posted By Blackeagle
Thx for everyone's help.
but i've came up with something that served me in my program. hope it helps others as well.
the number is stored in al .. in this example, i've stored 25 in al aqnd printed...
Forum: Assembly 25 Days Ago
Replies: 6
Views: 604
Posted By Blackeagle
i'm really new to Assembly and we just took a small assignment about it. so i'd dont know anything about libraries. all i know is that we are using TASM.
does that help?
Forum: Assembly 26 Days Ago
Replies: 6
Views: 604
Posted By Blackeagle
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...
Forum: Shell Scripting Mar 17th, 2009
Replies: 3
Views: 452
Posted By Blackeagle
Thx for the help.
what i did is as following:
in the /etc/share/gdm/defaults.conf file, you will find
0=standard
#1=standard

simply i removed the comment sign next to the 1=standard and it...
Forum: Shell Scripting Mar 15th, 2009
Replies: 3
Views: 452
Posted By Blackeagle
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...
Forum: Windows NT / 2000 / XP Feb 5th, 2009
Replies: 2
Views: 259
Posted By Blackeagle
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...
Forum: Shell Scripting Jan 20th, 2009
Replies: 6
Views: 908
Posted By Blackeagle
i actually did read the man pages but couldnt understand anything from this:
-n, --quiet, --silent
suppress automatic printing of pattern space.

i've tried the following and it worked for...
Forum: Shell Scripting Jan 20th, 2009
Replies: 6
Views: 908
Posted By Blackeagle
Thx for the quick answer Salem.
i looked the man pages for those command, but couldnt figure out how to use them for my purpose.
could you add an example on one of those commands?
Forum: Shell Scripting Jan 20th, 2009
Replies: 2
Views: 909
Posted By Blackeagle
Could someone help me to understand what File descriptors are in Linux?
Forum: Shell Scripting Jan 20th, 2009
Replies: 6
Views: 908
Posted By Blackeagle
Hello,
i'm trying to print specific lines from a file using only one command
for example:
a file contains 30 lines , i wish to print the content of lines 13, 14, 15, 16??
what command to use...
Forum: C++ Jan 4th, 2009
Replies: 9
Views: 367
Posted By Blackeagle
yeah i have different values for t1 and t2.
i also tried to cast it to float and print out but still the same.

(t2-t1)/ CLK_TCK) .. does this give seconds? or milli seconds ? or sth else?
Forum: C++ Jan 4th, 2009
Replies: 9
Views: 367
Posted By Blackeagle
no .. i just told you to ignore that huge nubmer.
s still need to get the time in seconds.
am i using the wrong methods??
Forum: C++ Jan 4th, 2009
Replies: 9
Views: 367
Posted By Blackeagle
i was trying to enlarge the value by multiplying it by 1000 first and then increesed it to that number .. but yet i got zero.
so u can ignore it.
Forum: C++ Jan 4th, 2009
Replies: 9
Views: 367
Posted By Blackeagle
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:
clock_t t1,t2;
t1=clock();
clock_t IT
I.insertion(A,200000);
...
Forum: Java Jan 4th, 2009
Replies: 3
Solved: JTextArea
Views: 476
Posted By Blackeagle
oh yeah it worked. many thanks to you ;)
everything is in order now. thanks again
Forum: Java Jan 4th, 2009
Replies: 3
Solved: JTextArea
Views: 476
Posted By Blackeagle
and i cant even post them under each other in my my post here as well.
i hope u got what i'm asking for?
Forum: Java Jan 4th, 2009
Replies: 3
Solved: JTextArea
Views: 476
Posted By Blackeagle
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...
Forum: Shell Scripting Dec 31st, 2008
Replies: 12
Views: 1,422
Posted By Blackeagle
all what salem recommended to use, did work perfectly for me, and my script is running well.
i was also told by others that file cant be edited in place .. but if such way exists, i would like to...
Forum: Shell Scripting Dec 25th, 2008
Replies: 12
Views: 1,422
Posted By Blackeagle
Salem, what if the user enters a certain color like this:
echo enter color
read choice

and if i write the following:
sed '/$choice/d' file > newfile

it doesnt really work!
how can i put the...
Forum: Shell Scripting Dec 25th, 2008
Replies: 12
Views: 1,422
Posted By Blackeagle
i used
echo text >> file

and it adds to the end of file .. Thank you for helping Salem. this thread is solved.

Thx again
Forum: Shell Scripting Dec 25th, 2008
Replies: 12
Views: 1,422
Posted By Blackeagle
aha .. i see .. i understand and it work fine with me.

just one more and last question, how can i add to the end of the file a certain row? can i use the sed command as before?
i tried to write:...
Forum: Shell Scripting Dec 25th, 2008
Replies: 12
Views: 1,422
Posted By Blackeagle
yeah i want to delete the line with word green.

your command did work well but it doesnt change the original text file, it rather sends the new edited text to the newfile.
is there any way i can...
Forum: Shell Scripting Dec 25th, 2008
Replies: 12
Views: 1,422
Posted By Blackeagle
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
Forum: Java Dec 8th, 2008
Replies: 8
Views: 933
Posted By Blackeagle
no i didnt mean the panel is from other classes .. but this frame i use is started from a different frame.
for the button stretching thing .. see lines 170 - 218 .. thats where i declare and add...
Forum: Java Dec 8th, 2008
Replies: 8
Views: 933
Posted By Blackeagle
may i ask another question related to panel?

i'm using the removeAll() method to clear the panel from all buttons. but it doesnt take any effect on the screen .. how can i update it?
Forum: Java Dec 8th, 2008
Replies: 8
Views: 933
Posted By Blackeagle
the setSize() didnt work ... instead i used setPreferedSize() and it did the desired job.
but the problem now is that i have some buttons stretched in the panel .. i think maybe setting a proper...
Forum: Java Dec 8th, 2008
Replies: 8
Views: 933
Posted By Blackeagle
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...
Forum: Java Dec 7th, 2008
Replies: 4
Views: 428
Posted By Blackeagle
ok sorry .. but it wasnt resolved for me at that time and i simply avoided what i was doing then.
this post can be deleted if considered as multiple posting.
Forum: Java Dec 7th, 2008
Replies: 4
Views: 428
Posted By Blackeagle
Why does the actionPerformed only deal with Final variables ??
Forum: Java Dec 7th, 2008
Replies: 4
Views: 428
Posted By Blackeagle
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...
Forum: Java Dec 6th, 2008
Replies: 6
Views: 1,215
Posted By Blackeagle
yep .. the queries i'm writing are retrieving data now ..
i'm making a small database for a supermarket .. its a small project for my database course in uni .. and the example i provided up is for...
Forum: Java Dec 6th, 2008
Replies: 6
Views: 1,215
Posted By Blackeagle
Oh many thanks to you !! .. it worked well as u described.
Forum: Java Dec 6th, 2008
Replies: 6
Views: 1,215
Posted By Blackeagle
yeah i think i might missed adding the class path ... do you know how it may be added?
The driver is added for sure .. just did that a moment ago.
Forum: Java Dec 6th, 2008
Replies: 6
Views: 1,215
Posted By Blackeagle
Hello,
i'm working on netbeans and want to access my database using this code:

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import...
Forum: Java Oct 17th, 2008
Replies: 8
Views: 1,501
Posted By Blackeagle
OH great ... many thanks
Forum: Java Oct 17th, 2008
Replies: 8
Views: 1,501
Posted By Blackeagle
i didnt know if to open a new thread .. but i'm having another problem .. probably casting will do it, but i'm not sure.

i'm filling a stack with many variable: Strings and int
when i pop, it...
Forum: Java Oct 17th, 2008
Replies: 8
Views: 1,501
Posted By Blackeagle
Your suggestion is working well ... i had a problem with the declaration of my matrix.

Thank you v.much for your help.
Forum: Java Oct 17th, 2008
Replies: 8
Views: 1,501
Posted By Blackeagle
I've tried it bu it gave me an exeptions as follows:
ValueEntryFrame.<init>(ValueEntryFrame.java:83)

This is wut i wrote: ( trying to copy content of a table into a matrix of type int)
...
Forum: Java Oct 16th, 2008
Replies: 8
Views: 1,501
Posted By Blackeagle
Hey,
i'm trying to use the method getValueAt(int row, int column) from Class DefaultTableModel.
This method returns Object value, but i want to get an int value.

so can anyone suggest what...
Forum: Java Oct 10th, 2008
Replies: 2
Views: 407
Posted By Blackeagle
OH i see .... don't know how i missed that one, probably of tiredness.
Thanks a lot
Showing results 1 to 40 of 47

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC