Search:

Type: Posts; User: sweets

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,380

    What about : int *num; int i; ...

    What about :



    int *num;
    int i;

    num.val=10;
    i=num.val;
  2. Replies
    9
    Views
    1,380

    Simple pointer question

    Isnt this how I would dereferrence a pointer



    int *num;
    ...
    ...
    int i;
    i = #
  3. Thread: virtual memory

    by sweets
    Replies
    6
    Views
    5,926

    Gotcha....thanks for everything Great feedback...

    Gotcha....thanks for everything

    Great feedback ;)
  4. Thread: virtual memory

    by sweets
    Replies
    6
    Views
    5,926

    Where did you figure out the page table offsets...

    Where did you figure out the page table offsets to be 2^9? Is it because it is 2 pages, so you just divided the remaining 18 bits???
  5. Thread: Arrays

    by sweets
    Replies
    6
    Views
    966

    sorry :( wasnt thinking when I...

    sorry :(

    wasnt thinking when I answered....busy stressing out about my finals
  6. Thread: virtual memory

    by sweets
    Replies
    6
    Views
    5,926

    - How did you figure out that 16 kbytes was 2^14?...

    - How did you figure out that 16 kbytes was 2^14? :blush:

    - I dont know why they are using 9 for the page table offset. I was hoping someone could tell me that

    The question has other parts,...
  7. Thread: Arrays

    by sweets
    Replies
    6
    Views
    966

    const int MAX=12; int printArray (int []) ...

    const int MAX=12;
    int printArray (int [])


    int main ()
    {
    int numArray[MAX];

    cout << "Please enter 12 numbers";
  8. Thread: virtual memory

    by sweets
    Replies
    6
    Views
    5,926

    virtual memory

    I am studying for my OS finals and there is something I just cant understand. The question is as follows:

    Consider a virtual memory system with the following parameters:
    - 32 bit virtual...
  9. Replies
    4
    Views
    1,170

    Thanx ;) does anyone have any other ideas or...

    Thanx ;) does anyone have any other ideas or suggestions :confused:
  10. Replies
    4
    Views
    1,170

    Sorry...I didn't want to overflow you all with...

    Sorry...I didn't want to overflow you all with too much info.



    A 'new mail' UI is displayed when the user clicks the email button. The user enters the email address and file and hits the send...
  11. Replies
    4
    Views
    1,170

    Emailer prob -- Can this be done??

    I dont know if this is possible or not, but what I need to do is create a list of email addresses and the filenames to be sent with the email. Later this list will be sent to outlook for mailing.
    ...
  12. Replies
    3
    Views
    2,450

    Being a beginner, I would have never picked it...

    Being a beginner, I would have never picked it up.

    :D Thanx guys
  13. Replies
    3
    Views
    2,450

    qsort not sorting

    I have been going through the qsort questions/responses and still cannot figure out what Im doing wrong. The following is what I have:



    int compareface(const void* c1, const void *c2)
    {
    ...
  14. Thread: objects

    by sweets
    Replies
    3
    Views
    1,120

    This code is for sample purposes....normally if...

    This code is for sample purposes....normally if in a condition where a list, tree etc is created using a obj declared within the class, would the contents within that object cease to exist when the...
  15. Replies
    3
    Views
    1,799

    all strings need to end with '\0'...try ...

    all strings need to end with '\0'...try



    len = strlen(strTemp);
    strTemp[len] = '\0';
  16. Thread: objects

    by sweets
    Replies
    3
    Views
    1,120

    objects

    Something I am very confused about..assuming I had the class and functions found below.

    When the printTestData() fnct starts running, will the listObj contain anything in it? or am I suppose to...
  17. Replies
    4
    Views
    1,423

    The thing is...I actually want the object within...

    The thing is...I actually want the object within the node returned,so I can use the object in the calling function. The returned objects data are to be written to a file and used elsewhere....that's...
  18. Replies
    4
    Views
    1,423

    Returning a node

    I want to save the data found within my tree but I am not sure how to do this. I was thinking that my printInOrder() function could be changed to be generic and return the data to the calling...
  19. Replies
    4
    Views
    1,128

    You could try using kbhit()...for example ...

    You could try using kbhit()...for example



    int main ()
    {
    cout << "\nThis is a test to see kbhit()";
    cout << "\n Prog. will not continue until you press enter";

    ...
  20. Replies
    4
    Views
    3,992

    I have attached the txt file I am trying to...

    I have attached the txt file I am trying to store. Here is the dictionary struct. I keep getting the error at 8801.



    const int LEN = 150;

    struct Dictionary
    {
    long ID;
    char key[LEN];
  21. Replies
    4
    Views
    3,992

    I am sending the tree an object that contains...

    I am sending the tree an object that contains information such as :

    Essendon 3040 <-- This line is used as the key
    27234

    Essendon North 3041
    27235

    Essendon West 3040
    27236
  22. Replies
    4
    Views
    3,992

    AVL tree balancing problem

    I have created an avl tree which seems to work if the information stored is only in the hundreds. The problem begins when the information to be stored in the tree is in the thousands. The tree...
  23. Thread: include problem

    by sweets
    Replies
    4
    Views
    1,212

    The actual files are separated..but I just kept...

    The actual files are separated..but I just kept it as one for example purposes. As for the merged headers...what is a merged header??
  24. Thread: include problem

    by sweets
    Replies
    4
    Views
    1,212

    include problem

    I need to include a .h file that has already been included in another file. Because I cant include the same .h files in two different classes, I am stuck.

    The following is an example of what I...
  25. Thread: clearscreen

    by sweets
    Replies
    3
    Views
    1,163

    clrscr(); Please also check the FAQ....you...

    clrscr();

    Please also check the FAQ....you will find the answers to alot of similar questions

    http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1031963460&id=1043284385
Results 1 to 25 of 94
Page 1 of 4 1 2 3 4