CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ncs

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds.

  1. Thread: calloc 2D array

    by ncs
    Replies
    2
    Views
    2,822

    that is what I thought......but wasn't 100% sure....

    that is what I thought......but wasn't 100% sure. Thanks.

    I would love to use vectors, but the program is a C application, so no way around it.

    Thanks again
  2. Thread: calloc 2D array

    by ncs
    Replies
    2
    Views
    2,822

    calloc 2D array

    I am trying to allocate memory for a 2D array of unsigned char[4]

    Is this the correct way to do this, and if not can someone please help:

    unsigned char **myArray;
    row = 4;
    colum = 50;
    ...
  3. Thread: byte swapping

    by ncs
    Replies
    8
    Views
    1,302

    ohh ok thanks Alex!!

    ohh ok thanks Alex!!
  4. Thread: byte swapping

    by ncs
    Replies
    8
    Views
    1,302

    reason I ask is that I am converting some...

    reason I ask is that I am converting some floating point values along with some other data to a binary file. This is done on a windows system. Then the file is ported to a unix system and read as...
  5. Thread: byte swapping

    by ncs
    Replies
    8
    Views
    1,302

    what do you mean by: // make what you need...

    what do you mean by: // make what you need with obj.b[i]
  6. Thread: byte swapping

    by ncs
    Replies
    8
    Views
    1,302

    byte swapping

    I have a float that I want to byte swap, does anyone know how to do this in c?

    (going from windows to unix)

    thanks in advance
  7. Replies
    1
    Views
    579

    HELP! JDBC and MySQL

    If anyone has ever used MySQL with JDBC please respond, I have a question to ask

    thanks in advance
  8. Replies
    7
    Views
    937

    Ok, I give up........tried that too and it still...

    Ok, I give up........tried that too and it still didn't work:confused:

    Did you actually test the code that I posted????


    If so, could you send it back so that I can try to run your version.
    ...
  9. Replies
    7
    Views
    937

    All I am trying to do with ImagePanel is display...

    All I am trying to do with ImagePanel is display an Image in a GUI. perhaps I'm going about it the hard way. What I was thinking is that the image is displayed in the image panel, and all I would...
  10. Replies
    7
    Views
    937

    Thank you for your reply, but I'm sad to say this...

    Thank you for your reply, but I'm sad to say this did not work...........anymore thoughts?????????

    Thanks in advance
  11. Thread: JList

    by ncs
    Replies
    3
    Views
    872

    Thanks for your reply, I did end up using a...

    Thanks for your reply, I did end up using a JTable and that seemed to work better than the JList.............thanks for the advice
  12. Thread: JList

    by ncs
    Replies
    3
    Views
    872

    Well apparently this post did not support the...

    Well apparently this post did not support the spacing I had set up in the example. The example in this post looks like what I currently have in the JList, I want spaced out columns How do I get...
  13. Thread: JList

    by ncs
    Replies
    3
    Views
    872

    JList

    I am trying to populate a JList with String representations of records with 3 varient length fields. I want the fields to be lined up in columns in the Jlist. For example if I have the following...
  14. Replies
    7
    Views
    937

    problem displaying an image

    I am having a problem displaying an image !!!

    Could anyone take a look at the following code and explain to me why the image is not being displayed in jPanel2.

    The attachment is the Frame, the...
  15. Thread: images and dialogs

    by ncs
    Replies
    1
    Views
    522

    images and dialogs

    Is it possible to put an image in a dialog. I tried it using the same code I had for a frame, but when the dialog was displayed, the image was not there.

    What I did was put an image in a panel,...
  16. Replies
    1
    Views
    598

    images inside of panels

    Problem: I have inside of a JFrame, a JPanel and a JButton. I want to put an image inside of the JPanel, so that it takes up the entire Panel. I have read many things about this and have gotten no...
  17. Thread: indexers

    by ncs
    Replies
    7
    Views
    1,039

    ok, you really lost me with that one.......could...

    ok, you really lost me with that one.......could you possibly give more explanation......or should I just give up?????????
  18. Thread: indexers

    by ncs
    Replies
    7
    Views
    1,039

    thank you very much for your reply, but still not...

    thank you very much for your reply, but still not quite there yet.......

    So are you saying that with an indexer you can access an object compontents via the []?

    or that the indexer creates an...
  19. Replies
    2
    Views
    504

    thanks, that worked

    thanks, that worked
  20. Thread: indexers

    by ncs
    Replies
    7
    Views
    1,039

    Ok, didn't help.....I guess a better question for...

    Ok, didn't help.....I guess a better question for me to ask is how is an object indexed like an array, I don't understand that whole concept, what is indexed??????

    thanks for any help
  21. Replies
    2
    Views
    504

    installing Java on Solaris

    I have installed Java onto my computer (Unix) It compiles .java files fine, but when I try to execute them it gives me a java.lang.NoClassDefFoundError. The class files are there in the directory. ...
  22. Thread: indexers

    by ncs
    Replies
    7
    Views
    1,039

    indexers

    I understand that indexers are used so that you can access an object like an array, but why would you ever want to do that???? What are the purpose of indexers :confused:
  23. Thread: Abstract classes

    by ncs
    Replies
    2
    Views
    724

    Yes, I know.....I thought of that after I posted...

    Yes, I know.....I thought of that after I posted the question. Thanks for the response
  24. Thread: Abstract classes

    by ncs
    Replies
    2
    Views
    724

    Abstract classes

    Can a method inside on an abstract class have an implementation located inside of the abstract class

    ex. is this legal

    abstract class A{

    public void print(String s){
    ...
  25. Replies
    3
    Views
    1,082

    Thank you for the response............ So let me...

    Thank you for the response............
    So let me see if I understand......you can define a class without a main, but when you compile, you must use a compiler switch to tell what main function goes...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured