No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm a Computer Science senior at Seattle University, spending my summer working on a research grant for Architectural Reliability Analysis of Product Lines.
- Interests
- If I'm not doing school and or hanging out with my beautiful wife or two dogs, I'm likely brewing or…
I'm pretty sure there's just a small bug I'm missing, but I can't seem to find it. Error: g++ -Wall Proj3.cpp -o proj3 -pthread Proj3.cpp: In function âvoid initLockVar()â: Proj3.cpp:52: error: expected primary-expression before â{â token Proj3.cpp:52: error: expected `;' before â{â token Proj3.cpp:256: error: expected `}' at end of … |
|
I'm having problems with unique(). I have some code that goes something like this: [CODE]std::map<int, CompCont> sysRelMap; for each(pair<int, CompCont> comp in sysRelMap) { list<pair<string,string>>::iterator newEnd = unique(comp.second.connList.begin(), comp.second.connList.end(), equalPair); comp.second.connList.erase(newEnd,comp.second.connList.end()); }[/CODE] equalPair is a small, simple function: [CODE]bool ScriptWriter::equalPair(const pair<string, string> first, const pair<string, string> second) { return (first.first.compare(second.first) … |
|
I'm working with some objects given to me by the API for an architectural modeling program. When navigating the model, I get a set of Component objects. One of the data members of these Component objects is a set of Interface objects. I'm looking to search for a specific Interface … |
|
I've got a small project that I'm working on, and the core *.exe that I'm building has a decent amount of dependancies. I keep this, right now, in a folder of all the includes and a *.lib file for all the implementations. My question is, is there a way to … |
|
I've got a program that has three different classes, all of which have their own pointer to an class called ObsFileName, who's main functionality is to store the name of an output file individual to the class, and return it with a function value(). All throughout the program, when a … |