User Profile

Collapse

Profile Sidebar

Collapse
arunmib
arunmib
Last Activity: Sep 2 '08, 05:31 PM
Joined: May 3 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • arunmib
    replied to using threads with C++
    in C
    thanks weaknessforcats , that has made things clear for me.... :-)
    See more | Go to post

    Leave a comment:


  • arunmib
    started a topic using threads with C++
    in C

    using threads with C++

    Hi all,
    Following is my program,

    My header file,
    Code:
     
    
    class Test
    {
       private:
            ........ some declarations......
        public:
           Test();
           ~Test();
    
         int AnotherFunc();
           
          //my thread function
          static DWORD WINAPI threadFunc(LPVOID);
    }
    my CPP file
    Code:
    
    
    ...
    See more | Go to post

  • arunmib
    replied to execution time
    in C
    many ways to do it....

    1) record the time(t1) at the start of 'main' . After finishing all execution, record the time again (t2). Now t2-t1 is the execution time of the program.

    2) if you are using something dev. tools like DevCpp, i think you can find the program execution time using 'profile analyser'....

    i hope this post is of some help and informative to you....
    See more | Go to post

    Leave a comment:


  • arunmib
    replied to which GNU/Linux distro to choose?!
    I am not sure why or how there where problems? I was pretty impatient during that time (so obviously less interested too) and hence dropped the idea. May be I can try the newer versions now....
    See more | Go to post
    Last edited by arunmib; Dec 7 '07, 04:00 AM. Reason: added comments

    Leave a comment:


  • arunmib
    replied to which GNU/Linux distro to choose?!
    thanks sicarie for making weaknessforcats 's point clear :-) . Sure this forum is where I mostly post if I am stuck....

    @drhowarddrfine - I actually didn't try FreeBSD, but I tried PCBSD and DesktopBSD some time back. One, I was not even able to install in my laptop and with other there were problems. So, i just dropped them.....
    See more | Go to post

    Leave a comment:


  • arunmib
    replied to Replacing Windows with Linux
    my suggestions would be,

    Damn Small Linux - runs even on a 486 based (would like to meet somebody using it) with 16MB of RAM. So your system must be abundantly resourceful...

    I don't exactly know how to rate the difference in performance you would see.....

    Others that could be considered are,
    Puppy Linux
    Zenwalk Linux
    See more | Go to post

    Leave a comment:


  • arunmib
    replied to which GNU/Linux distro to choose?!
    thanks for the suggestion sicarie....
    i think i will mostly settle with Debian...but ppl. suggest to try Ubuntu for some more time. I also found this suggestion valid, cause there is a new release of Ubuntu for every 6 months. it's also based on Debian (my fav. except the Text based installer when setting up) so can use it's software packages.....Le ts see.....

    I found this following link of some interest to me,

    ...
    See more | Go to post

    Leave a comment:


  • arunmib
    started a topic which GNU/Linux distro to choose?!

    which GNU/Linux distro to choose?!

    Hi all,
    I have a unique problem...I don't know which distro to choose from? I have tried the following,
    1. Redhat first, Since I was a kid in computers at that time, got vexed and dropped it.
    2. Used Suse for some time in official works. Used versions 9.3 and then 10.2 for some time on my personal laptop.
    3. Experimented with Debian version 3 and 4. Liked this very much
    4. Finally tried Freespire and live CD of Ubuntu....

    Now, I m totally...
    See more | Go to post

  • arunmib
    replied to Forgot Login Password, Locked Out
    Just, where did you get this information from????...
    See more | Go to post

    Leave a comment:


  • arunmib
    replied to how turbo c++ program connect with database
    in C
    C++ can connect with database using SQL. So, try some SQL library available on the net. For eg:
    http://www.sqlapi.com/OnLineDoc/index.html
    See more | Go to post

    Leave a comment:


  • arunmib
    replied to Implementing Drag-And-Drop in c/c++
    in C
    What do you want to know? what have you done? Some thing like this can act as a guideline,

    1) Register the mouse1 press event.
    2) Record the properties of the item selected.
    3) Register the mouse1 release event.
    4) Get the location(of the destination), properties etc..etc.. that you may need to do while moving.
    5) Create a copy of the item in the new location and if it's successful remove the old item....
    See more | Go to post
    Last edited by arunmib; Nov 29 '07, 07:21 AM. Reason: modified comments

    Leave a comment:


  • arunmib
    replied to Read the whole hard disk
    in C
    There is one more reason I wanted you take a look at the code. I assume it will give you a fair idea about the amount of work you need to put in. You had mentioned in one of your posts that you need to read the entire contents of hard drive in 40 odd lines of code. You will get to know whether the target is atleast possible or not....
    See more | Go to post

    Leave a comment:


  • arunmib
    replied to Read the whole hard disk
    in C
    As all have mentioned there is a lot you need to do before doing programming.

    In Linux, I think you have deleted files recovery option if the file system is ext2 under midnight root. Get a hang of that code and may be you can use that as a starter.
    See more | Go to post

    Leave a comment:


  • arunmib
    replied to wav files using C
    in C
    AFAIK wav files are in Resource Interchange File Format Services(RIFF) format by MS.

    Following link will provide some insight about that format.

    http://msdn2.microsoft.com/en-us/library/ms713231.aspx

    I think this link will be a good directive for programming,

    http://msdn2.microsoft.com/en-us/library/Bb206370.aspx.

    Try a simple search in any one of your favorite search engine,...
    See more | Go to post
    Last edited by arunmib; Nov 19 '07, 11:35 AM. Reason: edited comments

    Leave a comment:


  • arunmib
    replied to online or any manual for DEC VAX
    in C
    http://biophyrs.bp.dal .ca/OpenVMS/83final/5841/5841pro_content s.html - Open VMS programming concepts

    http://h71000.www7.hp. com/DOC/os732_index.htm l - OpenVMS system documentation link from HP

    http://www.2cool4u.ch/operating_syste ms/vms/6489ptoc.htm - Open VMS manual.

    http://www.itec.suny.e du/scsys/vms/vmsdoc/72final/5932/5932pro_content s.html - OpenVmS RTL library manual.

    Adding this,...
    See more | Go to post

    Leave a comment:


  • arunmib
    replied to #pragma dictionary directive in Linux?
    in C
    Thanks for the reply weaknessforcats .....The #dictionary that I have mentioned refers to the Common Data Dictionary(CDD) concept of OpenVMS. The "#pragma dictionary" that I have asked is the ANSI C equivalent, but my question was whether the CDD concept is present in Linux. I think I didn't frame my question clearly....I posted the same question in another forum and following is a reply I got,

    The #pragma dictionary directive...
    See more | Go to post

    Leave a comment:


  • arunmib
    started a topic #pragma dictionary directive in Linux?
    in C

    #pragma dictionary directive in Linux?

    hi,
    I would like to know whether "#pragma dictionary" exists in Linux. I have read that this is an ANSI equivalent of "#dictionar y" concept present in OpenVMS system. In the following link it has been mentioned that "#pragma dictionary" is ANSI C complaint,

    http://docshare.isti.cnr.it/cgiplus-...er=http%3A/www...
    See more | Go to post
    Last edited by arunmib; Nov 14 '07, 05:15 PM. Reason: added extra information.

  • arunmib
    replied to operator overloading/destructor problem
    in C
    I think you will know that "a destructor is called for a class object when that object passes out of scope" . You are certain this is not your case.....This is a simple thing, but many of us (rather me) tend to forget this often....
    See more | Go to post

    Leave a comment:


  • arunmib
    replied to online or any manual for DEC VAX
    in C
    running VMS....
    actually there are two headers specific for it, they are "starlet.h" and "rms.h" (rms has some 4 different header files included in it). Need to figure out some equivalents for them in linux?

    I also would like to know, other than these two are there anymore header files specific for VMS....
    See more | Go to post
    Last edited by arunmib; Oct 26 '07, 03:56 AM. Reason: corrected improper sentence construction.

    Leave a comment:


  • arunmib
    replied to online or any manual for DEC VAX
    in C
    Found this,

    http://h71000.www7.hp. com/DOC/os732_index.htm l

    although not much of use to me, thought might be of use to somebody else in TSDN.... :)
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...