Forum: VB.NET Mar 10th, 2006 |
| Replies: 0 Views: 1,291 I'm currently working on an enhanced audio project but the only class I found was built in 97', and has limited functionality. Does anyone know where I can get a class that will allow me to control... |
Forum: C++ May 2nd, 2005 |
| Replies: 4 Views: 15,370 For this assignment we are required to use a pointer to search through an array (or vector) of accounts. Why doesn't this work?
vector<account> vec_account; //creates a vector of accounts... |
Forum: C++ May 2nd, 2005 |
| Replies: 4 Views: 15,370 I have a project where I must use pointers to do a search on some accounts I've built up into a vector. My problem is whenever I try to pass the vector to a pointer I get an error. I've tried many... |
Forum: C++ Apr 28th, 2005 |
| Replies: 6 Views: 5,302 Okay I fixed some things and now the only errors I'm getting now are:
UPDATED CODE:
#include <iostream>
#include <string> |
Forum: C++ Apr 28th, 2005 |
| Replies: 6 Views: 5,302 Okay, I fixed prototypes and then took away that semicolin I had after the function head (oops)
errors: |
Forum: C++ Apr 28th, 2005 |
| Replies: 6 Views: 5,302 Class definition:
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
using namespace std; |
Forum: C++ Apr 28th, 2005 |
| Replies: 6 Views: 5,302 Okay, this is driving me insane...
The compiler error I'm getting says I am trying to convert a void to an account? I don't see why it thinks I'm trying to do that... Maybe you guys can help me... |
Forum: C++ Apr 28th, 2005 |
| Replies: 8 Views: 35,401 Thanks man! I wish I would have known that a couple programs ago, lol.
In my CS class, we haven't learned istringstream yet, so I don't know how I would have known how to do that.
So all... |
Forum: C++ Apr 28th, 2005 |
| Replies: 8 Views: 35,401 Okay, sorry, I'm still learning about all this stuff and I thought if you knew how many items were going to be used, then use an array?
So you think I should do something like this...
double... |
Forum: C++ Apr 28th, 2005 |
| Replies: 8 Views: 35,401 ^yeah but what if the line can't be treated as a string?
On the line, I am wanting to get, there is going to be 1 to 5 double's. Since I don't know how many doubles are going to be on that line,... |
Forum: C++ Apr 28th, 2005 |
| Replies: 8 Views: 35,401 I'm wanting the program to read a line out of file. I wish c++ had .eoln()!
I get: test.cpp:10: no match for `std::ifstream& != char' operator
obviously because I'm comparing the wrong data... |