I appreciate the tip. Is this what you are talking about?
#ifndef _extras_h_
#define _extras_h_
#include <vector>
#include <string>
using std::vector;
Type: Posts; User: aliaseer
I appreciate the tip. Is this what you are talking about?
#ifndef _extras_h_
#define _extras_h_
#include <vector>
#include <string>
using std::vector;
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.
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...
...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.
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...
Thanks, that worked.
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...
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...