Search:

Type: Posts; User: Rossco

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    80,051

    Would that be an 'if any' key or an 'else any'...

    Would that be an 'if any' key or an 'else any' key? :)
  2. Replies
    6
    Views
    1,541

    I had a look at the site you suggested, code was...

    I had a look at the site you suggested, code was in C++ tho' Thanx Salem. I'm still persevering, and revueing previous programs. There's a key somewhere near.
  3. Replies
    12
    Views
    80,051

    On my keyboard that symbol lives above the...

    On my keyboard that symbol lives above the backslash symbol. Shift + \ (twice) gets me the 'OR'. cheers
  4. Replies
    6
    Views
    1,541

    Well! Giving this problem further consideration,...

    Well! Giving this problem further consideration, I find it more prudent to focus on a C algorithm to include into the Fn rather than trying to learn a new application and language. If other languages...
  5. Replies
    6
    Views
    1,541

    I am using Dev-C++ compiler to all my work. As a...

    I am using Dev-C++ compiler to all my work. As a beginner I haven't yet progressed to windows app. to do any work. Thus far I think this compiler with C coding will meet my needs. The more I think...
  6. Replies
    6
    Views
    1,541

    Hi-lighting Or Similar

    Given a 2D array which is initialised with the following numbers:

    int list[3][8] = 1, 2, 3, 4, 5, 6, 7, 8;
    9,...
  7. Thread: Newbie question

    by Rossco
    Replies
    7
    Views
    1,010

    only ar[2] has two "2" digits ar[0] = 12342;...

    only ar[2] has two "2" digits
    ar[0] = 12342;
    ar[1] = 111;
    ar[2] = 1341122;
    ar[3] = 12345;
    Is that clearer? :)
  8. Thread: Newbie question

    by Rossco
    Replies
    7
    Views
    1,010

    int ar[2]; ar[0] = 2' ar[1] =2; (ar[2] =...

    int ar[2];
    ar[0] = 2' ar[1] =2; (ar[2] = '\0')
    Is this what you were trying to understand....
  9. Replies
    2
    Views
    1,031

    I posted a qsort program a few days ago, under...

    I posted a qsort program a few days ago, under the heading Golf Clubs, Cash. There may be something there to help you.
    Rossco
  10. Thread: Golf Clubs

    by Rossco
    Replies
    5
    Views
    1,005

    Are you saying the FillArray Fn is not necessary...

    Are you saying the FillArray Fn is not necessary Tab?
  11. Thread: Golf Clubs

    by Rossco
    Replies
    5
    Views
    1,005

    I spent the weekend looking further at this...

    I spent the weekend looking further at this program and your right Mac. The array
    needs to be initialised inside the Fn. I used 'const' also but the output still does not
    copy 'list[]' correctly....
  12. Thread: Golf Clubs

    by Rossco
    Replies
    5
    Views
    1,005

    Golf Clubs

    When I run this, 'list[]' does not come up as it is written. I did a previous version with data type double and it ran fine, (different list) so I changed double to int and the numbers and now...
  13. Thread: Saving output

    by Rossco
    Replies
    16
    Views
    2,605

    I'm changing bad habits by the tips you ppl give...

    I'm changing bad habits by the tips you ppl give me and am grateful for your help. Thanks dwks
    .....I find it difficult to pronounce your name....lol :) I ran the program 3 times and came up with...
  14. Replies
    160
    Views
    1,200,430

    Sticky: I found C++ for Dummies...

    I found C++ for Dummies a liitle overwhelming for a beginner. Trying to figure out what 12, 23, 34, meant, when in fact it should have read 1/2, 2/3, 3/4. Proof reading was not complete in places....
  15. Thread: Saving output

    by Rossco
    Replies
    16
    Views
    2,605

    I followed your directives Tab and it worked, I...

    I followed your directives Tab and it worked, I figured the fprintf() Fn was the key. Another problem arose tho' When I sent the mother array to a .txt file it produced a file of 117MB and when I...
  16. Thread: Saving output

    by Rossco
    Replies
    16
    Views
    2,605

    Thanks tab.. I appreciate your help.. I'll try it...

    Thanks tab.. I appreciate your help.. I'll try it out and let you know ...cheers
  17. Thread: Saving output

    by Rossco
    Replies
    16
    Views
    2,605

    As you can see the 2D array0 will produce an...

    As you can see the 2D array0 will produce an output of 3 lines with 6 numbers on each line. Being a simplified version of the mother array which will output tens of millions of numbers. i need to...
  18. Thread: Saving output

    by Rossco
    Replies
    16
    Views
    2,605

    No.... Save OUTPUT of the 2D array to a file!

    No.... Save OUTPUT of the 2D array to a file!
  19. Thread: Saving output

    by Rossco
    Replies
    16
    Views
    2,605

    It appears that you don't know either Mac!

    It appears that you don't know either Mac!
  20. Thread: Saving output

    by Rossco
    Replies
    16
    Views
    2,605

    Saving output

    Compiling a 2d array that produces an output, how can I save that
    output to a file. Using "r" and "w" only transfers the the file, not . the output
    redirection operators < > also transfersn the...
  21. Thread: Redirection

    by Rossco
    Replies
    3
    Views
    1,129

    As you can tell I have no formal training...C++...

    As you can tell I have no formal training...C++ compiler is the only one I have, and I have found
    C language easier to understand for a beginner.
  22. Thread: Redirection

    by Rossco
    Replies
    3
    Views
    1,129

    Redirection

    I'm teaching myself C programming for a personal project, and when I run
    this program, the file (array1.cpp) is sent to the destination file
    (LIST E.cpp) but not the output of the array. I tried...
Results 1 to 22 of 22