Search:

Type: Posts; User: jrfall349

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    991

    Formating output

    Hey, I'm trying to make a nice looking output, but some of the information I'm outputting is too long. I know %8s will give you 8 characters minimum, but is there anyway to do a max?
    Never mind, got...
  2. Replies
    8
    Views
    2,751

    Hrmm, still gives me problems, but thanks for the...

    Hrmm, still gives me problems, but thanks for the help.
  3. Replies
    8
    Views
    2,751

    Woops, meant to give a line number on that......

    Woops, meant to give a line number on that...
    Are you saying I don't need to cast it at all?
  4. Replies
    8
    Views
    2,751

    Pointer types

    I'm having a problem with incompatible pointer types

    [Warning] assignment from incompatible pointer type


    struct CD {
    unsigned int ID;
    char *Title;
    char *Artist;
    char *Genre;
  5. Thread: Reading hex

    by jrfall349
    Replies
    5
    Views
    1,279

    I can't believe I forgot that frackin '&' again!...

    I can't believe I forgot that frackin '&' again! Thanks. And I meant I wasn't concerned about the string for now.... But thanks for the heads up on it anyway.
  6. Thread: Reading hex

    by jrfall349
    Replies
    5
    Views
    1,279

    I'm not concerned about the string grab, as it is...

    I'm not concerned about the string grab, as it is working.
    I'm not sure what you mean with the pointer...
  7. Thread: Reading hex

    by jrfall349
    Replies
    5
    Views
    1,279

    Reading hex

    Okay, I've got a small problem going on. Here goes.


    struct CD {
    unsigned int ID;
    char *Title;
    char *Artist;
    char *Genre;
    int Year;
    int Time;
  8. Replies
    8
    Views
    2,432

    Okay, I think I get it... I don't want to add to...

    Okay, I think I get it... I don't want to add to point, I want to add to the value of point...
    Only problem I get now is

    [Warning] assignment makes pointer from integer without a cast

    And my...
  9. Replies
    8
    Views
    2,432

    Guess I'm just not sure what dereferencing is...

    Guess I'm just not sure what dereferencing is actually doing. We haven't covered that yet.
  10. Replies
    8
    Views
    2,432

    I'm not sure if that's going to work for my...

    I'm not sure if that's going to work for my particular problem
    point is the beginning of a dynamically allocated array, and as such I don't really want to change it, or its contents.
  11. Replies
    8
    Views
    2,432

    Invalid operands to binary *

    This is probably a pretty simple problem to fix, but it is causing me a great deal of concern. The problem appears in the line

    spot = (point+place)*y;

    Where spot is an integer pointer, point is...
Results 1 to 11 of 11