User Profile

Collapse

Profile Sidebar

Collapse
Osoascam
Osoascam
Last Activity: Jun 1 '08, 12:48 AM
Joined: Feb 26 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Osoascam
    started a topic String array in C
    in C

    String array in C

    Hi! I was looking for some help on this matter and found this: http://bytes.com/forum/thread643133.ht ml which... I didn't 100% got.

    So... I'll try to explain what I need:
    array[0] = "First string"
    array[1] = "Second string"
    array[2] = "This is the third one"
    .
    .
    .
    array[n] = "Hola"
    I have a dynamic array of fixed-length strings. At the very...
    See more | Go to post

  • Osoascam
    replied to Hash function
    in C
    Ok, thank you very much.
    That's all I needed to start my B+-tree... That is, if I can do it ;-)
    See more | Go to post

    Leave a comment:


  • Osoascam
    started a topic Hash function
    in C

    Hash function

    Hi there!
    I have to do a B-tree, which can use strings or ints as keys. Anyway, keys can be repeated, and I have to use a has function in order to converto from string to int...

    My teacher said he doesn't care about the function we use, and that he wouldn't care if we used an already done one. He even told us we didn't loose time in implementing one ourselves.

    The thing is, I haven't find one... COuld you help...
    See more | Go to post

  • Osoascam
    replied to How to install QT
    in C
    Thank you very much for your help. i decided better to work on Linux... I hope it works... hasta luego!!
    See more | Go to post

    Leave a comment:


  • Osoascam
    replied to How to install QT
    in C
    Well, than you very much
    I joined the community of Qt.
    But I already downloaded and installed Qt. What I can't do, is to be able to use Qt libraries with Dev-C++.
    See more | Go to post

    Leave a comment:


  • Osoascam
    replied to JDOME: Could not load default SAX parser
    in Java
    Hi! I'm trying to do a simple JDOM example, as I have to uste it for a homework... The thing is, it just doesn't work...

    See, this is the code:

    Code:
    public class Ejemplo 
    {
    
      public static void main(String[] args) 
      {
       try 
       {
          SAXBuilder builder=new SAXBuilder(true); 
          
          Document doc=builder.build(new File("liga.xml")); //here's
    ...
    See more | Go to post

    Leave a comment:


  • Osoascam
    started a topic How to install QT
    in C

    How to install QT

    Hi!!
    I'm new (completely new) at C++. I'm trying to use QT for a homework. I can ONLY use QT or GTK, and I think QT is a lot simpler. I got only two week for this project, so there's no time I can waste.

    The thing is... How do I install QT?

    I followed all of the steps in this page: http://darkhack.googlepages.com/qttutorial

    It didn't work. At all, so I entered to this page This site is in french......
    See more | Go to post

  • Osoascam
    started a topic JDOME: Could not load default SAX parser
    in Java

    JDOME: Could not load default SAX parser

    Hi! I'm trying to do a simple JDOM example, as I have to uste it for a homework... The thing is, it just doesn't work...

    See, this is the code:

    Code:
    public class Ejemplo 
    {
    
      public static void main(String[] args) 
      {
       try 
       {
          SAXBuilder builder=new SAXBuilder(true); 
          
          Document doc=builder.build(new File("liga.xml")); //here's
    ...
    See more | Go to post

  • Another thing I noticed...
    If I put, ont he button "Accept" to call eventoColores (or colorEvents, I changed the name in here for it to be in English), the windows appear for player 1,2,4,8,16... you get the picture...

    Why is that?
    What can I do?

    Also, everything appears, except some combo Buttons...

    While I was writing this, the answer came... I will write what I did, it may help...
    See more | Go to post

    Leave a comment:


  • Osoascam
    replied to Eliminate Flickering // Eliminar parpadeo
    in Java
    Thank you so much... I almost had a heart atack when I saw the Runnable and SwingUtilities thing... I'll take a look at it!!

    THANK YOU VER VERY VERY MUCH!!!

    :D...
    See more | Go to post

    Leave a comment:


  • Somebody?
    Please, this thing is freaking me out!! T_T
    See more | Go to post

    Leave a comment:


  • Osoascam
    replied to Eliminate Flickering // Eliminar parpadeo
    in Java
    But I'm using swing components!!
    All of them!!
    This gives me the creeps T_T
    See more | Go to post

    Leave a comment:


  • Osoascam
    replied to Eliminate Flickering // Eliminar parpadeo
    in Java
    Well, I think I discovered the reason. It seems the mouse gets the label (where the board is drawn) pixels, but the label is drawn according to the frame pixels, which messes it all up.

    The thing is... How to change it?

    The mouseMotionList ener is on boardLabel...
    Wait... Got it!!

    Anyway... How could I eliminate the flickering?
    See more | Go to post

    Leave a comment:


  • Display a frame N times // Desplegar una ventana N veces

    Hi!
    Well, this is my question.
    I have a Chinesse Checkers game, so there's a comboBox to choose number of players. A global variable named numJug (number Of Players) gets that number. So far, so good.

    The problem starts when you click "Accept" on that window, as it calls N times (numJug times) the window for chosing the color for every player. The thing is, it doesn't work. For 6 players, the window only appears...
    See more | Go to post

  • Osoascam
    started a topic Eliminate Flickering // Eliminar parpadeo
    in Java

    Eliminate Flickering // Eliminar parpadeo

    Hello!
    I'm doing a chinese checkers program. What I want to do is the selected marble to "follow" the mouse pointer. The thing is, When I try to use labels, the label doesn't follow the mouse. I thought that problem would be solved by adding n to x and to y, but that's not the case.

    Let me explain myself. If the mouse draws a big circle, the label draws a small one (imaginary, of course). It kinda follows the mouse,...
    See more | Go to post

  • Osoascam
    replied to Escape from a program
    in C
    Well, she needed it, but we asked and the teacher explained her, thank you anyway
    See more | Go to post

    Leave a comment:


  • Osoascam
    replied to Escape from a program
    in C
    Mmm... well, I ask her about her code
    But I don'r think she joins, as she only has one programming course in her carrer, so...
    See more | Go to post

    Leave a comment:


  • Osoascam
    started a topic Escape from a program
    in C

    Escape from a program

    Hi there!
    A friend of mine that's learning C++ needs to know how to make Escp work on her program. That means, whenever you press ESCP, the program finishes. How van her do that?

    ¡Gracias de antemano!
    See more | Go to post

  • Osoascam
    replied to How to make a buffer?
    in C
    Thank you, but... It still doesn't work
    The problem is it keeps reading forever
    See more | Go to post

    Leave a comment:


  • Osoascam
    started a topic How to make a buffer?
    in C

    How to make a buffer?

    Hi! I made this code in order to "create" a buffer...
    It works perfectly when reading from console, but it just doesn't work for redinf from files.
    (Read after the function for the code explanation)
    NAME is a class variable, char*

    Code:
    void buffer(FILE* entrada, char separador)     //entrada is input (sdtin for consol)
    {
    	int numChars = 2;                                //# of characters read
    ...
    See more | Go to post
No activity results to display
Show More
Working...