Search:

Type: Posts; User: aliaseer

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    9,043

    I appreciate the tip. Is this what you are...

    I appreciate the tip. Is this what you are talking about?

    #ifndef _extras_h_
    #define _extras_h_

    #include <vector>
    #include <string>

    using std::vector;
  2. Replies
    12
    Views
    9,043

    Actually, that didn't fix the issue, but I tried...

    Actually, that didn't fix the issue, but I tried adding a
    using namespace std; to the top and it worked. Also, that fixed the linking error that I mentioned.
    Thanks.
  3. Replies
    12
    Views
    9,043

    including my extras.h file. errors

    Hi. I'm having some issues with compiling my program. I have several files: hw4-ffnn.cpp, network.{h,cpp}, neuron.{h,cpp}, and an extras.h file with a struct and some typedefs that I want common to...
  4. Replies
    3
    Views
    1,107

    ...yes...yes it should. Thanks for pointing that...

    ...yes...yes it should. Thanks for pointing that out, and boy do I feel stupid for missing that. At least I know that my understanding of pointers isn't drastically off.
  5. Replies
    3
    Views
    1,107

    pointer mayhem

    Hi.

    I'm trying to understand how pointers work. I have an algorithms implemented in two ways: one using pointers, the other not so much. The thing is, the second implementation works, the first...
  6. Replies
    6
    Views
    1,588

    Thanks, that worked.

    Thanks, that worked.
  7. Replies
    6
    Views
    1,588

    N_BUCKETS and N_DATA are globally defined...

    N_BUCKETS and N_DATA are globally defined variables. They have 10 and 1000 assigned to them (respectively).


    d is decremented from 3 to 0 and I've made sure that str.at(d) is a valid index.
    As...
  8. Replies
    6
    Views
    1,588

    vector shenanigans

    Hi.

    I had to implement a bucket sort algorithm for my class and am running into trouble with vectors.
    I've already implemented the program (so I'm not asking for others to do it for me) and have...
Results 1 to 8 of 8