I'm a vb newbie and I successfully added a dataset to my program, then I closed it down. Next day, I didn't realize I had to actually go in and start it, so when nothing was working, I entered a new connection. Then realized my error. Now I have 2 datasets in the program, both connections are pointing to the same thing. How can I get rid of one of them.
Also, while I have your attention. I added a column to the one dataset called...
User Profile
Collapse
-
need to delete dataset
-
Do you have to use two calendars? Is there a way to only use 1?... -
help reading file in and sorting it
I thought I understood how to do this, but have spent all weekend and haven't gotten anywhere, can someone please help?? I'm desparate.
This is my main: partNum and dept are strings, price is a double.
After I read the file in how can I get it into separate arrays so I can sort it?...Code:while (!inData.eof()) { readDataItem(inData, partNum, dept, price); } -
reading from infile
I am confused about looping through an infile for my homework.
in my header file I have:
class Item
{
friend istream& operator>>(istr eam&, Item&);
public:
void print() const;
Item(string *p, string *d, double *pr);
private:
string *part;
string *deptNo;
double *itemPrice;
};
in my cpp file I have:
Item::Item(stri ng*... -
Can I ask a question on this thread?
What if you have no idea how big the infile is? How do you set MAXBOOKS and MAXLENGTH?Leave a comment:
-
Oh brother! I can't believe it was so simple! Thank you so much. I've been staring at this code for hours! :-)Leave a comment:
-
error missing ; but can't find where
I'm new to c++ and am getting a syntax error: missing ; before }
Any help would be greatly appreciated!
This is the code - where am I missing the ; ?
#ifndef H_addressType
#define H_addressType
#include<string >
#include<fstrea m>
using namespace std;
class addressType
{
public:
void print(ostream& fout) const;
//function...
No activity results to display
Show More
Leave a comment: