Search:

Type: Posts; User: bigmac(rexdale)

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds; generated 25 minute(s) ago.

  1. Replies
    9
    Views
    8,099

    any one can help me out?

    any one can help me out?
  2. Replies
    9
    Views
    8,099

    void...

    void StudentSingleListedLink::AddNode(StudentRecordDataNode *nd)
    {
    StudentRecordDataNode * current = root;
    StudentRecordDataNode * temp = nd;
    if(!root)
    {
    root = nd;
    }
    else...
  3. Replies
    9
    Views
    8,099

    anyone get a chance to check this out?

    anyone get a chance to check this out?
  4. Replies
    9
    Views
    8,099

    Fixed the following problems you stated and...

    Fixed the following problems you stated and uploaded the .dat to sendspace:

    http://www.sendspace.com/file/khr1rf
  5. Replies
    9
    Views
    8,099

    I checked up on insertion sort and got this so...

    I checked up on insertion sort and got this so far:

    void StudentSingleListedLink::AddNode(StudentRecordDataNode *nd)
    {
    if(!root)
    {
    root = nd;
    return;
    }
    else if...
  6. Replies
    9
    Views
    8,099

    Bubble Sort on a Singly Linked List

    Main:

    #include <iostream>
    #include <fstream>
    #include <string>
    #include <iomanip>

    #include "StudentRecordDataNode.h"
    #include "Course.h"
    #include "StudentSingleListedLink.h"
  7. Replies
    5
    Views
    1,361

    oh, makes sense now

    oh, makes sense now
  8. Replies
    5
    Views
    1,361

    i dont understand how it works though, does it do...

    i dont understand how it works though, does it do n-1 = 4 * 5 = 20 the first time? if so what does it do the second time?

    i put the static int num to see how much times the function is used but i...
  9. Replies
    5
    Views
    1,361

    Someone explain this to me

    how does this work:

    #include <stdio.h>

    int fact(int n){
    static int num = 0;
    if(n == 1)
    return 1;
    else{
    num++;
  10. Replies
    2
    Views
    1,098

    i actually put protected: class publication {...

    i actually put protected:

    class publication {
    protected:
    char title[60];
    char publisher[40];
    public:
    publication(char* t, char* p) {strcpy(title, t); strcpy(publisher,p);}
    ...
  11. Replies
    2
    Views
    1,098

    Inheritance Problem

    In the periodical derived class, i want to be able to output title and publisher on the base class publication where i output the description, how can i do that?


    #include <iostream.h>
    #include...
  12. ya, its working ok now. last time i did this is...

    ya, its working ok now. last time i did this is didnt make a project but it looks like i have to now.
  13. all i've dealt with so far is writing code and...

    all i've dealt with so far is writing code and compiling it, on dev-c++ and then importing it to linux to compile again, don't know how to make a project.
  14. anyways to fix that, or would you have to compile...

    anyways to fix that, or would you have to compile yourself
  15. oh alright i got it now, now that they all have...

    oh alright i got it now, now that they all have no syntax error i still get the "undefined reference to" that i was getting in the beginning.

    Every function called in main that is part of one of...
  16. like this? #include #include...

    like this?

    #include <cstdio>
    #include <cstring>
    #include <iostream>
    #include "ISBNPrefix.h"
    #ifndef ISBN_H
    #define ISBN_H
    int valid(const char* str);
    class ISBN{
  17. here is a screenshot of the errors ...

    here is a screenshot of the errors

    http://img296.imageshack.us/img296/8057/51693028ww2.png

    edit: dev-c++ is the program im using
  18. Getting a new problem now, my implementation...

    Getting a new problem now, my implementation files have no error anymore but now my main won't compile, i attached every file need to run this if anyone can see what i should omit or add.

    ill post...
  19. oh, i see know btw anon, thats how my prof...

    oh, i see know

    btw anon, thats how my prof wanted it made im just following his rules (in reponse to "why does something called ISBNPrefix have a FILE* member in the first place?")
  20. i was going to go the cheap way but my prof would...

    i was going to go the cheap way but my prof would probably want me to redo this assignment again. I don't know how to use the proper way i tried googling get() but i don't know exactly what i am...
  21. 'FILE fp is private within this context'

    i have two .cpp files (actually three but one isnt giving me this problem)

    in ISBN.cpp the decode function is calling ISBNPrefix's FILE fp
    ISBN.cpp: <<this is the implementation file where...
  22. yeah, thats what i've been doing so im looking...

    yeah, thats what i've been doing so im looking through and correcting any silly mistakes
  23. damn, thats alot of problems...how can i use...

    damn, thats alot of problems...how can i use ISBNPrefix's fp because without it this program is useless seeing i need to rewind and read from fp
  24. made the follwing changes: order.cpp: #ifndef...

    made the follwing changes:
    order.cpp:

    #ifndef Order_H
    #define Order_H
    #include "Order.h"
    #include "ISBN.h"
    #endif

    isbn.cpp:
  25. Yeah i added everything you'd need to compile it...

    Yeah i added everything you'd need to compile it in the code.txt, i probably should've bolded the headers that indicated a new .h or .cpp file
Results 1 to 25 of 118
Page 1 of 5 1 2 3 4