Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
0 Endorsements
~4K People Reached
Favorite Tags
Member Avatar for msr

Hello, I need a sorted stack/queue. I mean, the element removed from the stack must be the one with great priority. Stack dimension varies a lot (becomes bigger very fast). I need also to search and REMOVE elements in that stack. Does Java give some good implementation for this? What …

Member Avatar for ~s.o.s~
0
89
Member Avatar for msr

Hello, I would like to have a PriorityQueue whose elementes are instances of different subclasses. For example: Event is an abstract superclass. Event1, Event2, Event3 are subclasses. Xpto<> is an interface and PriorityQueueXpto<> is a class that implements Xpto and extends PriorityQueue. [CODE]Xpto<? extends Event> a = new PriorityQueueXpto<????>();[/CODE] Is …

Member Avatar for msr
0
98
Member Avatar for msr

Hello, I would like to declare a class atribute so I wrote something like this: [CODE] class Xpto{ private static int value; }[/CODE] However, once is private, I cant access it like Xpto.value nor a.value ("a" is a Xpto instance) Declaring it protected I can access it through class and …

Member Avatar for BestJewSinceJC
0
73
Member Avatar for msr

Hello, How can I disable beep sound in KeyDown event? I already tried using "e.Handler = true" but it doesn't seem to work. I have used it sucessfuly with KeyPress events, but now with KeyDown I can't get it work... This is my code: [CODE] private void msg_textbox_KeyDown(object sender, KeyEventArgs …

Member Avatar for jonsca
0
500
Member Avatar for msr

Hello, Im using threads in a recent project. I would like to know whats the difference between: pthread_kill() and pthread_cancel() What are the effects of each one? Thank you!

Member Avatar for Vijikumar
0
2K
Member Avatar for msr

Hello, In order to introduce myself to C# and, in particular, Visual C# I decided to make a small program with 'windows forms'. At the moment I have some questions: 1) Im using a grid (dataGridView). I'd like a menuStrip (I dont know if is exacly that component) to appear …

Member Avatar for msr
0
132
Member Avatar for msr

Hello, Could you please give me some info about sharing data between forms? I have a variable List<component> component_list; which "component" class is declared in a "Component.cs". How to make that two forms see that class? (if I have to make something..) And how to create "List<component> component_list" that it …

Member Avatar for Diamonddrake
0
96
Member Avatar for msr

Hello, I want to search for a given char sequence in a string. For example: I have these strings: "xpto1", "asdxpto123" If the input is "xpto", the method I called "search" should have at its ouput a list with the strings that matched the input "xpto". In this case, both …

Member Avatar for msr
0
86
Member Avatar for msr

Hello, Im trying to open a new windows form by clicking in a menustrip item. Its not the first time I make that but now it doesn't work and I dont know why. Here it is the code I have: [CODE] private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { AboutBox about …

Member Avatar for msr
0
160
Member Avatar for msr

Hello, I would like to know where I can get extra webgallery templates (flash based) to use in Photoshop CS3 Extended? I dont even know if it is possible, but it would be great. Any one know something about it? Thanks in advance!

Member Avatar for jtemplates
-1
98
Member Avatar for msr

I know this thread is "a little bit" old, but i would like if you can help me. Im using sprintf(). This is my code: [CODE] int countDigits(int inteiro,int max){ char *string; string = (char *) calloc(max+1,sizeof(char)); sprintf(string,"%d",inteiro); return strlen(string); }[/CODE] However if the first digit of "inteiro" is a …

Member Avatar for mcldev
-1
339