Search:

Type: Posts; User: Drew

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: Bst

    by Drew
    Replies
    2
    Views
    966

    Bst

    How would a level order tranverse go for this BST?

    G
    / \
    ...
  2. Thread: Question

    by Drew
    Replies
    4
    Views
    762

    Question

    Given 2 programs to accomplish a task both are correct which one do we pic the smallest or the fastest?
  3. Thread: ADT's

    by Drew
    Replies
    1
    Views
    837

    ADT's

    I am not looking for code just definitions

    What would be an example of how a Linked List would be used in a operating system?
    What would be an example of how a Queue would be used in a operating...
  4. Thread: Suggestions

    by Drew
    Replies
    1
    Views
    919

    Suggestions

    This program works but it looks like crap. Any suggestions on how to make it better and how to make the output look better

    The output looks like this:
    Symbol 1 / does match Symbol 2 *
    Symbol 1 *...
  5. Replies
    2
    Views
    902

    Why is my program no dequeueing?

    Why is my code not dequeueing here:



    if(arrive != i)
    {
    Queue.Enqueue(customer);
    //i = arrive;
    }
  6. Replies
    2
    Views
    1,008

    Can anyone find why I am getting this error?

    Why am I getting this error c:\documents and settings\andrew\desktop\important stuff\acs 279\program1\new folder\queue.h(3) : error C2011: 'IntQueue' : 'class' type redefinition in this code?

    ...
  7. Replies
    3
    Views
    1,053

    Function call not working

    Why isn't this function call working?
    time = CalculateTime(service);




    //******************************************************************//
    //Program Queue client file ...
  8. Thread: Selection Sort

    by Drew
    Replies
    16
    Views
    2,312

    No

    No
  9. Thread: Selection Sort

    by Drew
    Replies
    16
    Views
    2,312

    yes It was in my notes as a example but I do not understand how it is working

    yes I do not understand how it is working
  10. Thread: Selection Sort

    by Drew
    Replies
    16
    Views
    2,312

    No code

    I am just trying to figure out how the sort works
  11. Thread: Selection Sort

    by Drew
    Replies
    16
    Views
    2,312

    Selection Sort

    If you had this array to do a selection sort G B A H C
    the first pass would be ABGHC
    the 2nd pass would be ABGHC
    the 3rd pass would be ABCHG
    the 4th pass would be ABCGH

    Why is the first and...
  12. Thread: Need Suggestions

    by Drew
    Replies
    3
    Views
    1,693

    So it will loop 720 times so each loop will be a...

    So it will loop 720 times so each loop will be a minute but what will be happening in the loop
  13. Thread: Need Suggestions

    by Drew
    Replies
    3
    Views
    1,693

    My question I guess

    I have the Queue Linked List already written but I am clueless on how to write the client file.
  14. Thread: Need Suggestions

    by Drew
    Replies
    3
    Views
    1,693

    Need Suggestions

    Can anyone give me suggestions how how they would go about writing the code for this problem. I am not looking for actual code just suggestions and or pseudo code algorithm?


    Queue program:...
  15. Thread: Output Question

    by Drew
    Replies
    2
    Views
    1,161

    the code that I think is suspect

    switch (Number)
    {
    case 1: OutFile<<"Symbol 1 "<<InputChar1<<" does match Symbol 2 "<<InputChar2<<endl;
    Number =0;
    break;
    case 2 :OutFile<<" End of program reached when unmatched...
  16. Thread: Output Question

    by Drew
    Replies
    2
    Views
    1,161

    Output Question

    How can I get my output that is this
    Symbol 1 / does match Symbol 2 *
    Symbol 1 * does match Symbol 2 /
    Symbol 1 ( does match Symbol 2 )
    Symbol 1 [ does match Symbol 2 ]
    Symbol 1 ( does match...
  17. Replies
    2
    Views
    2,696

    linked list stack question

    A more specific question: Why isn't my program pushing and poping correctly?
    Stack program: Develop a stack class using a linked list representation and string data and use it in a program that...
  18. Replies
    4
    Views
    1,247

    New Question

    A more specific question: Why isn't my program pushing and poping correctly?
    Stack program: Develop a stack class using a linked list representation and string data and use it in a program that...
  19. Replies
    4
    Views
    1,247

    Ok here is the LL and the errors

    :\Documents and Settings\Andrew\Desktop\Important stuff\ACS 279\Program1\stackLLClient.cpp(36) : error C2676: binary '==' : 'class std::basic_string<char,struct std::char_traits<char>,class...
  20. Replies
    4
    Views
    1,247

    Why do I get these errors in the If statements?

    #include<iostream>
    #include<fstream>
    #include<iomanip>
    #include<cstdlib>
    #include<string>
    #include"StackLLImple.cpp"

    using namespace std;

    int main()
  21. Replies
    2
    Views
    762

    Inputting a string and a char

    How do I input a string to compare it to a character?
    Like I want to input '}' and input '*/' and compare them.
  22. Thread: Code Question

    by Drew
    Replies
    4
    Views
    865

    Whats up

    Nobody can answere this question!!!!!!!!!!!!!!!!!!!!!!!!!!!
  23. Thread: Code Question

    by Drew
    Replies
    4
    Views
    865

    Code Question

    What is ther difference between these two functions


    List::List(): head_(0)
    {}

    AND

    List::List()
    {
  24. Thread: Executable File

    by Drew
    Replies
    5
    Views
    1,005

    Reply

    C++ 6.0 is the only compiler I have..:)
  25. Thread: Executable File

    by Drew
    Replies
    5
    Views
    1,005

    Reply

    I am using C++ 6.0 on windows 2000:D
Results 1 to 25 of 84
Page 1 of 4 1 2 3 4