Search:

Type: Posts; User: Jesdisciple

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    19
    Views
    4,087

    Hmm... I'll probably need to keep correcting...

    Hmm... I'll probably need to keep correcting myself on this, so I found a nice bookmark for it:

    tabstop: Do you know of a technique for finding the type of an argument?

    I don't have much meat...
  2. Replies
    19
    Views
    4,087

    ??? const char *fmt_begin; Number should be...

    ???
    const char *fmt_begin;

    Number should be really easy - just compare the length of the two, depending on how the length of the argument array is determined.

    On the other hand, I didn't know...
  3. Replies
    19
    Views
    4,087

    Thanks for that. I feel a bit guilty that I...

    Thanks for that. I feel a bit guilty that I haven't made an attempt yet, but maybe I'm better off learning from yours.

    Why is fmt_begin constant? And being so, how does it change at the...
  4. Replies
    19
    Views
    4,087

    Ronix: Yeah, I'm going for a void**. Although...

    Ronix: Yeah, I'm going for a void**. Although the combination of void** and unlimited length may be too ambitious for anyone who's not a genius and/or billionaire.

    Quzah: I was really hoping to...
  5. Replies
    19
    Views
    4,087

    Looks like I need a new name for my function,...

    Looks like I need a new name for my function, instead of 'asprintf'... C99-snprintf Ronix: That links says (v)snprintf is in C99.

    Ronix and Quzah: What am I gaining over the standard functions if...
  6. Replies
    19
    Views
    4,087

    nonoob: Inverted, that could be (EDIT: Well,...

    nonoob: Inverted, that could be (EDIT: Well, there would have to be some safety checks):
    void asprintf(char *result, char *format, void **array){
    sprintf(result, format, array[0], array[1],...
  7. Replies
    19
    Views
    4,087

    I didn't mean to imply that strings are all the...

    I didn't mean to imply that strings are all the function takes; I would rather allow any data type, probably by using the real sprintf. But both of you interpreted me that way, so I obviously messed...
  8. Replies
    19
    Views
    4,087

    sprintf and arrays

    I have a function which takes a format string and an array of unknown length, then needs to format the array into the string. For example, the calling code could look like this:
    char *result =...
  9. Replies
    42
    Views
    4,660

    Never mind about waiting till tomorrow... When I...

    Never mind about waiting till tomorrow... When I tried to extract my archive with tar -xpPf it gave errors about insufficient space in the device. EDIT: Does it matter that the archive was at /...
  10. Replies
    42
    Views
    4,660

    I forgot and wrote without changing types; I'll...

    I forgot and wrote without changing types; I'll just run it again when Ubuntu is installed so I don't have to remember when I install Windows. I'll try to post an update tomorrow.

    Thanks!
  11. Replies
    42
    Views
    4,660

    I can't find any way to input Gb/GB; the closest...

    I can't find any way to input Gb/GB; the closest I see is the 'u' command which uses sectors instead of cylinders.

    The fdisk 'l' (lower L) command hints that NTFS is possible, but I don't see any...
  12. Replies
    42
    Views
    4,660

    mats: Yeah, I was still typing when you posted. ...

    mats: Yeah, I was still typing when you posted. Anyway, here's a correction for the first section of my previous post. Does the index of each bootable partition matter? Should the home partition...
  13. Replies
    42
    Views
    4,660

    Then that means I have to calculate the number of...

    Then that means I have to calculate the number of cylinders from that of MB, right? Either I'm being dense about the conversion factor or something's messed up in fdisk. EDIT: Yup, I was being...
  14. Replies
    42
    Views
    4,660

    According to...

    According to https://help.ubuntu.com/community/SwapFaq the swap partition should be at least 999MB (my RAM) because I do sometimes hibernate, so here's my new arrangement:

    I tried to accomplish...
  15. Replies
    42
    Views
    4,660

    After failing to boot from a burned DVD-RW, I...

    After failing to boot from a burned DVD-RW, I finally got a new disk from Canonical. Reviewing the conversation, I'd like some clarification...

    I've decided that I'm using a separate /home...
  16. Replies
    42
    Views
    4,660

    Do you really think I would ever fill this thing,...

    Do you really think I would ever fill this thing, or even 20 GB of it, up? I know I have almost 5 as it is, but I don't install new programs very often and the data I directly generated needs to be...
  17. Replies
    42
    Views
    4,660

    ...? What exactly does that measure, then? This...

    ...? What exactly does that measure, then? This is the only computer in the network, and I would think "Connection Information" on the connection icon which indicates Internet connectedness would...
  18. Replies
    42
    Views
    4,660

    I guess I'll extend the CD burning trip to look...

    I guess I'll extend the CD burning trip to look for a key at Wally World, maybe Radio Shack. (My town doesn't have much tech industry.) I don't usually think of keys as permanent storage, though......
  19. Replies
    42
    Views
    4,660

    No, the 4.4 gigs is just the home directory, with...

    No, the 4.4 gigs is just the home directory, with my profile and a 'sandbox' profile... that I didn't use much and which takes about 0.8 gigs. I can only find one connection speed, which is 100 Mb. ...
  20. Replies
    42
    Views
    4,660

    (bump)

    (bump)
  21. Replies
    42
    Views
    4,660

    Update: I have the data transfers all planned...

    Update: I have the data transfers all planned out; now I just need to go over the partitioning.

    I'm going to use a business computer to download and burn the Live CD, as I don't have a burner. I...
  22. Umm... Not that I'm one of the folks you should...

    Umm... Not that I'm one of the folks you should be excited to have help from, but I'm not touching that while the indentation is all over the place. If you clean it up I can at least start getting...
  23. Replies
    2
    Views
    8,974

    I only see two problems (with something other...

    I only see two problems (with something other than indentation). The first is on line 27:
    Line(char array[SIZE][SIZE]);That's an array initialization inside the parens; it's a statement and not an...
  24. Replies
    24
    Views
    2,616

    J, whenever you see strange output you should...

    J, whenever you see strange output you should copy it from the terminal to your post rather than try to describe it... A picture paints a thousand words; while we aren't talking about pictures, the...
  25. Replies
    12
    Views
    1,183

    I probably won't be one of the ones helping with...

    I probably won't be one of the ones helping with code, but...

    EDIT: Oh, never mind that post if you read it. You're counting the number of "continents," or contiguous blocks of cells >k, in the...
Results 1 to 25 of 129
Page 1 of 6 1 2 3 4