Search:

Type: Posts; User: smitsky

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,114

    Thanks - got it. Steve

    Thanks - got it. Steve
  2. Replies
    6
    Views
    1,114

    Hi. Thanks. No such option in either case. Steve

    Hi. Thanks. No such option in either case. Steve
  3. Replies
    6
    Views
    1,114

    I don't have this folder in my folder list. I...

    I don't have this folder in my folder list.

    I am probably being exteremly inept here, but I do not see anything in Options that would allow me to do this. There is an "Auto Archive" button, but I...
  4. Replies
    6
    Views
    1,114

    Outlook Issue on Win XP Pro

    Hi. Can someone help me with the fact that MS Outlook 2000, which is my email client, archived an important message that I need to retreive. I need some resources. Thanks, Steve
  5. Replies
    23
    Views
    2,269

    First Course in C++

    Hi. I recently took a first course in C++ a year or so ago (I had some prior experience).

    The professor used this book:

    Programming in C++: Lessons and Applications by Timothy D'Orazio of SF...
  6. Replies
    15
    Views
    1,737

    OK, here's my attempt at "using pointers and...

    OK, here's my attempt at "using pointers and value return:"


    #include<iostream>

    using namespace std;

    int f(int* i)
    {
    *i=(*i)+=40;
  7. Replies
    15
    Views
    1,737

    Well, as a beginner-to-intermediate student, I...

    Well, as a beginner-to-intermediate student, I was surprised to read this. I guess because I am moving into an intermediate level in my studies, I am coming across this. It doesn't seem to me (of...
  8. Replies
    15
    Views
    1,737

    Your ("Pass-By-Ref") Opinion Please

    Hi. I read something interesting in Bjarne Stroustroup's book. He discourages using functions that modify call-by-reference arguments. He claims that they make programs hard to read.

    I was...
  9. Thread: Analyzing Code

    by smitsky
    Replies
    13
    Views
    2,292

    Thanks

    I appreciate it. I'll try my best to learn from and understand this. ~Steve
  10. Thread: Analyzing Code

    by smitsky
    Replies
    13
    Views
    2,292

    Thanks. Yes - I used Mr. Stroustrup's code. I...

    Thanks. Yes - I used Mr. Stroustrup's code. I just didn't understand the concept. I'm still not sure I do. What exactly is happening here? I'm not used to seeing a function incremented. Why does it...
  11. Thread: Analyzing Code

    by smitsky
    Replies
    13
    Views
    2,292

    Thanks... but once I remove the ampersand from: ...

    Thanks... but once I remove the ampersand from:


    double& value(const string& s)
    ...

    As in:


    double value(const string& s)
  12. Thread: Analyzing Code

    by smitsky
    Replies
    13
    Views
    2,292

    I'm using Dev-C++ 4.9.8.0 As soon as I remove...

    I'm using Dev-C++ 4.9.8.0
    As soon as I remove the ampersand, I get that error message which points to:


    value(buf)++;

    Thanks, Steve
  13. Thread: Analyzing Code

    by smitsky
    Replies
    13
    Views
    2,292

    Analyzing Code

    Hi. I am studying Bjarne Stroustrup's book. He gives the following code while explaining references:


    #include<iostream>
    #include<vector>
    #include<string>
    using namespace std;

    struct Pair
    {
  14. Replies
    6
    Views
    2,211

    Output Polish Language Chars

    Hi. I am trying to write a program that outputs Polish language characters to the ms-dos console, but am running into trouble. Evidently, I have to use something outside the 256 ascii character-set....
  15. Replies
    5
    Views
    1,080

    Thanks folks. I got it eventually. Best, Steve

    Thanks folks. I got it eventually. Best, Steve
  16. Replies
    5
    Views
    1,080

    Huffman failing - stuck on traversal

    Well, I'm still stuck here. I thought that I would be able to create a copy of my values vector of Huff pointers, and start on them as a method of going from the leaves of this budding Huffman tree...
  17. Replies
    3
    Views
    1,031

    Hi. Thanks jlou ("hi again"), and terran9. I will...

    Hi. Thanks jlou ("hi again"), and terran9. I will try what you have said. terran9, just so you are aware, this program is meant to run from the command line. It does this fine. I could use debugging...
  18. Replies
    3
    Views
    1,031

    Close - But a Crash

    Hi. I just wrote the traverse function. No compile-time errors. The program crashes at run-time. Any idea why? I thought it should work. Thanks always, Steve


    #include<iostream>
    #include<vector>...
  19. Replies
    3
    Views
    991

    Thanks

    Glad you could see that! Wish I could have. Thanks again. Steve
  20. Replies
    3
    Views
    991

    Why do I need pointer

    Hi. I have a vector of pointers. When I try to return v[i] from the following function and then try to output the values to the console, the program crashes.


    Huff* findMinimum(vector<Huff*>& v)...
  21. Thread: Function Error

    by smitsky
    Replies
    3
    Views
    902

    Thanx

    Thanx Prelude. As always, I really appreciate it.

    ~S.
  22. Thread: Function Error

    by smitsky
    Replies
    3
    Views
    902

    Function Error

    Hi. I am getting the following error message when I try to call the function I have outlined below. Any one know what the problem might be. Can I write this stand-alone function: Huff*...
  23. Replies
    11
    Views
    1,817

    Hi Emotions. Do the following: Add this to your...

    Hi Emotions. Do the following:
    Add this to your list of includes:


    #include<string>

    Then change the type of "username" to string:


    string enteredname;
  24. Replies
    11
    Views
    1,817

    Hi Emotions. Let's take things one step at a time...

    Hi Emotions. Let's take things one step at a time here. For one thing, if you expect a user to enter his sex as either male or female (M or F), you need to add single quotes around M and F like this:...
  25. Replies
    5
    Views
    2,191

    Hi Barfchunk. I see that you have an error here:...

    Hi Barfchunk. I see that you have an error here:


    float readData(ifstream &inFile, float customer[], float balance[], float size)
    {
    for (int i = 0; i <size; i++)
    {
    if (!(inFile>>...
Results 1 to 25 of 81
Page 1 of 4 1 2 3 4