Search:

Type: Posts; User: malooch

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,124

    need assistance....

    How do you search command line arguments for input or output files?
  2. Replies
    3
    Views
    1,680

    Command line arguments

    #include <cstdlib>
    #include <iostream>
    using namespace std;

    int
    main(int argc, char *argv[] )
    {
    cout << "argc is: " << argc << endl;
    if (argc >= 1)
    cout << "This program was...
  3. Thread: Recursion

    by malooch
    Replies
    2
    Views
    990

    Wow, you're fast. Thank you very much!

    Wow, you're fast. Thank you very much!
  4. Thread: Recursion

    by malooch
    Replies
    2
    Views
    990

    Recursion

    void
    countup(int num)
    {
    if (num >= 0)
    {
    countup(num - 1);
    cout << num << " ";
    } else cout << endl;
    }
    Here is a recursive function that out puts numbers in an...
  5. Replies
    2
    Views
    2,471

    Help with dynamic memory allocation

    #include <cstdio>
    #include <cstdlib>
    #include <iomanip>
    using namespace std;

    const int MaxHolidays = 25;
    const int MaxDescLength = 40;
    const char HOLIDAY_FILE[] = "holidays.txt";

    struct...
  6. Replies
    4
    Views
    1,595

    I/O stream files

    #include <iostream>
    #include <fstream>
    #include <iomanip>
    using namespace std;

    const int MaxHolidays = 25;
    const int MaxDescLength = 40;
    const char HOLIDAY_FILE[] = "holidays.txt";

    struct...
  7. Thread: Word Find

    by malooch
    Replies
    2
    Views
    1,309

    Word Find

    Does anyone know the source code in C for the simple wordfind program?(The one only capable of seraching words within a file in a horizontal and reversed horizontal direction)
    I'm supposed to add...
Results 1 to 7 of 7