Search:

Type: Posts; User: space_ferret

Search: Search took 0.01 seconds.

  1. thanks brewbuck, that is a good idea. i don't...

    thanks brewbuck, that is a good idea. i don't think i would be able to do it quite as you wrote however, because many of the fields i will be writing aren't persistent variables, but rather...
  2. thanks a lot laserlight. i see the benefit of...

    thanks a lot laserlight.

    i see the benefit of your function now (and why mine was messed up). the only thing i don't like about it is that you can't mix and match format (ie 30 doubles followed...
  3. not sure if using the variable arg list saves me...

    not sure if using the variable arg list saves me any work, so i ended up writing a function that builds the format string. in my case i wanted tab separated scientific notation:

    insert

    int...
  4. the reason i don't want to put the vars into an...

    the reason i don't want to put the vars into an array or structure is that, other than printing them out once, i don't have any reason to group them together. also many of the fields that will be...
  5. i think using a loop to build the format string...

    i think using a loop to build the format string is a good solution for me, i will try that out, thanks.

    as far as putting the vars into an array, wouldn't be good for my program. (btw it's more...
  6. for my case, each variable i will be printing...

    for my case, each variable i will be printing will have a unique name (ie won't be part of an array), so not sure that a loop would be appropriate, unless i'm misunderstanding how the loop would be...
  7. multiply sections of printf format specifier?

    Wondering if there is a built in way to multiply sections of the printf format field in cases when you want a particular part to repeat. In other words lets say you want to print 100 integers with...
Results 1 to 7 of 7