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

Search:

Type: Posts; User: UNHCoder

Search: Search took 0.01 seconds.

  1. Class.forName(...,...,...) isnt finding my .class files

    Hello.
    Im using Class.forName to find .class files within my jar file, but its complaining with a ClassNotFoundException. I cant tell why this is happening because its displaying in my output that...
  2. Replies
    6
    Views
    895

    Re: I need help with C errors :-\ please

    oh, should i do like
    struct label_address_pair *cur = &hashtable[hashVal]; ???, seems legit
  3. Replies
    6
    Views
    895

    Re: I need help with C errors :-\ please

    lol, im sorry. between classes and work, im jumping inbetween java, perl and C all at this time, so im getting pointer syntax with java's syntax.
    Im not too sure what your trying to say here. Am i...
  4. Replies
    6
    Views
    895

    Re: I need help with C errors :-\ please

    I think I see what your saying, i shouldn't be de-referencing it. Im still confused about the other error however, the error: incompatible types in initialization error. Its calling that on the...
  5. Replies
    6
    Views
    895

    I need help with C errors :-\ please

    I was hoping you could help me out with a bug that I cant figure out :-\.
    Im getting an error saying "passes.c:99: error: incompatible types in assignment" for my line
    " *cur = malloc(sizeof(struct...
  6. Re: Im getting a 'memory corruption' with malloc

    im sorry, i just found out i had to use %c :-D

    Thank you so much for all the help Lindley
  7. Re: Im getting a 'memory corruption' with malloc

    Hmm. actually I think i took a different route from the malloc method.. rather than making a string, i just simply printed 1 character at a time, visually doing the same thing my program needs to.
    ...
  8. Re: Im getting a 'memory corruption' with malloc

    Im kind of new to malloc, my professor pretty much just told us to use it earlier in the program for a different case, so i took what we did there, and just changed around some values... Im confused...
  9. Im getting a 'memory corruption' with malloc

    Hi.
    Im trying to malloc memory so that I can create an array of characters, making a word, but when the execution gets to my malloc line, it complains hardcore. (This is C btw, not C++)

    Here is...
  10. Re: How do i check if a Field type of a variable is an array type?

    oh my god thank you dlorde, u nailed it first try. thanks so much, i tried emailing my professor and he didnt help jack squat so you really helped out ^_^.
    (i used the
    if (f.get(target) instanceof...
  11. How do i check if a Field type of a variable is an array type?

    So yeah, im using reflection, and im getting every variable within my class. So I start with Field f being equal to some field i have, then depending on whether the variable is an array or normal...
Results 1 to 11 of 11





Click Here to Expand Forum to Full Width

Featured