Search:

Type: Posts; User: kashifk

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,790

    thanks man !!!!

    thanks man !!!!
  2. Replies
    2
    Views
    1,790

    progarm doesnt compile

    Hi I wrote this code with MSVC, but our code is graded based on it compiling on linux machines.

    I was using these two compilers on 2 diff machines and gave me error abt the default constructors ...
  3. Replies
    2
    Views
    1,988

    lemme try that. worked thanks a bunch

    lemme try that.


    worked thanks a bunch
  4. Replies
    2
    Views
    1,988

    extra word printing

    HI, in the output of this program an extra word is being printed .

    Enter File Name:trial.txt
    Average search length in hash table = 19
    Frequency Word
    6 the
    1 ====> wrong
    Press any...
  5. Replies
    5
    Views
    2,008

    inputting words from a file

    hi, working on a hash table here. the nextword function has to enter words from a file into the hash table. For some reason it doesnt do anything. Please someone help me out.....is there something...
  6. Thread: rehash help

    by kashifk
    Replies
    1
    Views
    4,191

    i came up with this but cant figure out how to go...

    i came up with this but cant figure out how to go further, any ideas??



    template<class KeyType, class DataType>
    void hashTable<KeyType, DataType>::rehash()
    {
    //The rehash function remembers...
  7. Thread: rehash help

    by kashifk
    Replies
    1
    Views
    4,191

    rehash help

    Hi, working on this code, Im unsure about as to how to write the code for the rehashing, any hints pls??



    #ifndef _hashTable_h
    #define _hashTable_h

    #include <iostream>
    #include <string>
  8. Replies
    1
    Views
    1,361

    dammit figured it out myself !!!!

    dammit figured it out myself !!!!
  9. Replies
    1
    Views
    1,361

    help with operator

    Hi, I am having some trouble with the operator < . When i build it it gives me the following error " error C2804: binary 'operator <' has too many parameters " . I think it is fine, any ideas?
    ...
  10. Replies
    1
    Views
    1,523

    hash table explanation

    Hi , do you guys know any good links or tutorials on hash tables since our proffessor didnt do a good job explaining that concept and I have this program to do
    ...
  11. thanks, is there a way to get projects that i...

    thanks, is there a way to get projects that i make as empty, bec when i create them i get all this other junk. I dont get the window asking me the type of options that i want with it.
  12. compile c programs with visual studio .net 2003

    Hi, the problem here is that i can open c files with microsoft visual studio .net 2003, but I dont get any option to compile and run the program??? Is there anything else to now with the new program...
  13. Replies
    1
    Views
    977

    question abt getline

    what does getline do in this case:

    suppose i have a file of ppl who have borrowed cd's like this

    bubba
    2 //number of cd's
    cd1
    cd2
    foo
    0
  14. Replies
    1
    Views
    922

    sort function help

    hi, in this sort function i need some help.....is this sort function sorting by swapping the values in the nodes, or does a swap by swapping the nodes itself , after comparing the values?



    void...
  15. Replies
    2
    Views
    857

    links for data structures

    Hi,
    i will be taking datastructures in c++ next semester. i need some suggestions and online links that you guys suggest that will help me out with understanding the subject which will cover linked...
  16. Replies
    4
    Views
    902

    so that means when in a class i do this ...

    so that means when in a class i do this



    class X
    {
    public:
    some constructor(values)
    {
    }
  17. Replies
    4
    Views
    902

    thanks, but brain and name were objects and had...

    thanks, but brain and name were objects and had constructors, how does this workout?
  18. Replies
    4
    Views
    902

    initializer list help

    HI, im just getting a grasp on initializer lists, and learnt that const should be iniatilized in there, how do i go about doing that.
    How do i iniatilize dateofbirth,
    i tried birthdate=dateOfbirth,...
  19. Replies
    3
    Views
    860

    when the code leaves the scope isnt the...

    when the code leaves the scope isnt the destructor called on automatically........but why when i remove delete from the last line the destructor isnt called????
  20. Replies
    3
    Views
    860

    aah thanks alot, so if display would take a &...

    aah thanks alot, so if display would take a & then there would be call to the constructor or destructor, makes perfect sense, thanks for the excellent explanation.
  21. Replies
    3
    Views
    860

    need help with out

    this code has an output which is kinda confusing me. Before enterig the scope why does it call the copy contructor before the display, and then before entering a scope why is the destructor called....
  22. Replies
    29
    Views
    2,233

    I thought as soon as the program starts the...

    I thought as soon as the program starts the constructor is called, then again 2 more times for the objects created. Then everytime i called delete(2 times) and once when the program ended.
  23. Replies
    29
    Views
    2,233

    I made the class file with the help of the new...

    I made the class file with the help of the new class function of Microsoft Visual C++. Thats how it makes the constructors. i put everything into the main file to post here.
  24. Replies
    29
    Views
    2,233

    destructor & constructor question

    Hi, i made this program that does nothing to see when the constructor and destructor are called. I have a question, shouldnt the contructor and destructor have been called 3 times each instead of...
  25. Replies
    17
    Views
    2,181

    im a n00b at c++ so please excuse the questions...

    im a n00b at c++ so please excuse the questions if they might seem too n00bish(lol):-
    so by allocating at the start of the program and deallocating at the end there wont be any memory leaks right????
Results 1 to 25 of 75
Page 1 of 3 1 2 3