Search:

Type: Posts; User: Drew

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Thread: Bst

    by Drew
    Replies
    2
    Views
    1,278

    Bst

    How would a level order tranverse go for this BST?

    G
    / \
    ...
  2. Thread: Question

    by Drew
    Replies
    4
    Views
    888

    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
    992

    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
    1,277

    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
    1,046

    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,290

    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,339

    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
    3,168

    No

    No
  9. Thread: Selection Sort

    by Drew
    Replies
    16
    Views
    3,168

    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
    3,168

    No code

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

    by Drew
    Replies
    16
    Views
    3,168

    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
    2,516

    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
    2,516

    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
    2,516

    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,371

    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,371

    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
    3,373

    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,686

    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,686

    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,686

    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
    881

    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
    1,054

    Whats up

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

    by Drew
    Replies
    4
    Views
    1,054

    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,699

    Reply

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

    by Drew
    Replies
    5
    Views
    1,699

    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