User Profile

Collapse

Profile Sidebar

Collapse
jrjan1
jrjan1
Last Activity: Apr 24 '07, 06:21 PM
Joined: Sep 19 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jrjan1
    started a topic need to delete dataset

    need to delete dataset

    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...
    See more | Go to post

  • jrjan1
    replied to vb.net and month calendar
    in .NET
    Do you have to use two calendars? Is there a way to only use 1?...
    See more | Go to post

    Leave a comment:


  • jrjan1
    started a topic help reading file in and sorting it
    in C

    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.

    Code:
    while (!inData.eof())
    {
          readDataItem(inData, partNum, dept, price);
    }
    After I read the file in how can I get it into separate arrays so I can sort it?...
    See more | Go to post
    Last edited by Banfa; Dec 15 '06, 03:18 PM. Reason: Corrected [code]...[/code] round the code

  • jrjan1
    started a topic reading from infile
    in C

    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*...
    See more | Go to post

  • jrjan1
    replied to Confusion with homework .. infile
    in C
    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?
    See more | Go to post

    Leave a comment:


  • jrjan1
    replied to error missing ; but can't find where
    in C
    Oh brother! I can't believe it was so simple! Thank you so much. I've been staring at this code for hours! :-)
    See more | Go to post

    Leave a comment:


  • jrjan1
    started a topic error missing ; but can't find where
    in C

    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...
    See more | Go to post
No activity results to display
Show More
Working...