Search:

Type: Posts; User: Steve A.

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    55
    Views
    5,988

    Tater, I established a long time ago, that the...

    Tater, I established a long time ago, that the return value was a pointer.
    You choose to ignore that fact.


    {
    float *array; // pointer to an array
    array = ReturnFltArray(); //...
  2. Replies
    55
    Views
    5,988

    char *_ecvt() char *_gcvt() char *itoa() char...

    char *_ecvt()
    char *_gcvt()
    char *itoa()
    char *strchr()
    char *strcpy()
    char *strdup()
    char *strndup()
    char *strerror()
    char *strtobase64()
    char *strfrombase64()
  3. Replies
    55
    Views
    5,988

    Semantics. I have made that clear from the...

    Semantics.
    I have made that clear from the beginning.
    Technically, yes, you are returning a pointer. That has been well established.
    I'm not arguing anything different.
    Via the pointer, the array...
  4. Replies
    55
    Views
    5,988

    That is exactly my point.

    That is exactly my point.
  5. Replies
    55
    Views
    5,988

    Clearly, I supplied examples of how it does. ...

    Clearly, I supplied examples of how it does.


    ???
    More like I got flamed for treading on your turf.
  6. Replies
    32
    Views
    4,512

    That is a shame. I do at every opportunity. I...

    That is a shame.
    I do at every opportunity.
    I find it very enlightening to know exactly what the computer is doing at any given point.

    To me the computer is a thing of beauty, a thing to ponder....
  7. Replies
    55
    Views
    5,988

    Why does everything here (this forum) have to...

    Why does everything here (this forum) have to turn into a pi_ss_ing contest ?
    Tater, you and I both know your example is from page-1, chapter-1, of Pointers-101.

    Everyone who learns about...
  8. Replies
    32
    Views
    4,512

    Perhaps because everything "Windows" is based on...

    Perhaps because everything "Windows" is based on the API.
  9. Replies
    55
    Views
    5,988

    ???...listen... is that the sound of a bicycle...

    ???...listen...
    is that the sound of a bicycle being peddled backwards ?
  10. Replies
    55
    Views
    5,988

    What trick ?? Nowhere is "static" equated...

    What trick ??


    Nowhere is "static" equated with "trick".


    Because that's how you do it, Tater.


    What are you referring to here ??
  11. Replies
    55
    Views
    5,988

    As am I. I merely want to make it clear, that...

    As am I.
    I merely want to make it clear, that yes, you can return data via an array, as distasteful to some as it may be.
  12. Replies
    55
    Views
    5,988

    Not true. It's clearly in the code. No, it...

    Not true.
    It's clearly in the code.


    No, it is an array.
    It is clearly declared as an array.


    All that is clearly indicated within the code.
    I'm not keeping any secrets here.
  13. Replies
    55
    Views
    5,988

    Well, saying that is not exactly correct either....

    Well, saying that is not exactly correct either.
    From the perspective of the beginner, they don't care about the symantics.
    They just want to know if they can return multiple values.
    And, yes,...
  14. Replies
    55
    Views
    5,988

    Sure, have each option call a seperate function,...

    Sure, have each option call a seperate function, which collects and returns it's own value, or, performs its own task.

    Ninjafish, bear in mind that altho it may have been quite some time ago, we...
  15. Replies
    3
    Views
    1,947

    It appears that which ever version of VS you are...

    It appears that which ever version of VS you are using will only produce Console mode apps.
  16. Replies
    5
    Views
    8,417

    First, instead of: main() ---Use: int...

    First, instead of:


    main()

    ---Use:

    int main()
  17. Additionally, your main function should never...

    Additionally,
    your main function should never begin and end like this:


    void main(void)
    {
    ...
    }
  18. Replies
    6
    Views
    1,407

    Yes, you can use the system() function to execute...

    Yes, you can use the system() function to execute an external executable or system (dos) command.
    It's relatively simple, you just use:


    system("xx.exe");

    --- such as ---
    ...
  19. Replies
    7
    Views
    1,581

    @Phenax and ekosix: Please inform your...

    @Phenax and ekosix:

    Please inform your instructors that Dev-C++ is obsolete at this late date.
    Please share with them the following information:

    "Unless you are using Dev-C++ in Win-XP, you...
  20. Replies
    5
    Views
    1,453

    Unless you are using Dev-C++ in Win-XP, you are...

    Unless you are using Dev-C++ in Win-XP, you are beating a dead horse.
    Dev-C++ 4.9.9.2 is nearly six (6) years old and without updates or bug fixes during that time.
    In 2005, the developer abandoned...
  21. Replies
    5
    Views
    6,334

    No need to be rude in your response. I fail to...

    No need to be rude in your response.
    I fail to see where my question was answered, anywhere.
    And yes, I am completely new to bitmaps, I thought that was clear in my preface.
    I am beginning to get...
  22. Replies
    5
    Views
    6,334

    @adeyblue: I couldn't quite figure how to get...

    @adeyblue: I couldn't quite figure how to get your example to compile in C.
    I'm not sure I understand the code example itself to be able to play around with it.



    I was trying to find out just...
  23. Replies
    5
    Views
    6,334

    Hey adeyblue, I'll look at your code. I have...

    Hey adeyblue, I'll look at your code.

    I have noticed that if I switch-out these two lines:


    // hbitmap = CreateBitmap(SBitmap.cx, SBitmap.cy, 1, bpp, NULL);
    hbitmap =...
  24. Replies
    2
    Views
    802

    If you want an array of 5 elements, then you have...

    If you want an array of 5 elements, then you have to declare an array with 5 elements.
    i.e:


    int myArray[5];

    myArray[0]
    myArray[1]
    myArray[2]
    myArray[3]
  25. Replies
    5
    Views
    6,334

    Bitmap, save to file problem.

    Hey guys,
    I've been reading up on working with bitmaps and getting a good feel for it.
    Using the Win32 API, I can create a bitmap, load a bitmap from file and I can even save to file a previously...
Results 1 to 25 of 69
Page 1 of 3 1 2 3