Search:

Type: Posts; User: matsharp

Search: Search took 0.00 seconds.

  1. Replies
    21
    Views
    2,371

    If you are only assigning the value once then...

    If you are only assigning the value once then there should be no problem. If you want to assign multiple values and reference them at a later time then you need to use a character array of pointers...
  2. Quzah - Remember I am new to this....

    ....so how do I make the space available for the strcpy to work? The lr_eval_string command appears to be working fine but if there is a something that I have still misunderstood then I need to get...
  3. Thanks, its sorted

    All,

    Thanks for your help. Although the strcpy didn't work, it did help me understand where I was going wrong. As the code is inside the Mercury LoadRunner product I used the lr_eval_string...
  4. Reading a file into an array for fast access later

    I am fairly new to C and would like to read a file into an array so that I can access the data quickly. I think that I should be using pointers (or an array of pointers) to make effecient code. I...
Results 1 to 4 of 4