C++ & system programming

This is a discussion on C++ & system programming within the C++ Programming forums, part of the General Programming Boards category; I have a small project : " access all Partitions of hard disk,find all the files have tail is *.EXE. ...

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    2

    C++ & system programming

    I have a small project : "access all Partitions of hard disk,find all the files have tail is *.EXE. Then display them as menu drog down. Program allows use keyboard and mouse to control,select the files from menu. After select a file, must show information of file as : created date, attributes, size file...."

    What I want to ask here is :

    1. Documents about system programming with C++ (or about assembly language that can add on a program C++),with them, I can examine with myself.
    2. How to control mouse with C++ environtment?
    3. How to access the partitions of hard disk to find files...!
    4. Final, have what the ways to show information of file on system ?

    thanks ! please help me...(with the way that I can do with myself)

    sorry,my English is bad!
    Last edited by ossvn; 07-02-2006 at 05:03 AM.

  2. #2
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    1. www.microsoft.com or www.msdn.microsoft.com

    2. write a win32 api program. http://www.winprog.org/tutorial/

    3. partitions have drive letters, if your computer has a partition that does not have a drive letter (e.g. it has linux installed on it) than your program will not be able to access it.

    4. with a win32 program you can put all the information into a gui list box, which will handle all the arrow events for you. Since there could be hundreds or thousands of files that you need to display, simply printing them on a console window is not a good idea

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,505
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  5. #5
    Registered User
    Join Date
    Jul 2006
    Posts
    2
    thanks everybody !

    I'll try ! And then,I'll notice result for everybody! hope it's good!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File System Implementation
    By dodgeviper in forum C Programming
    Replies: 9
    Last Post: 11-16-2007, 12:04 PM
  2. Using system icons
    By @nthony in forum Windows Programming
    Replies: 1
    Last Post: 01-13-2007, 06:56 PM
  3. Linux database system needed
    By BobS0327 in forum Tech Board
    Replies: 7
    Last Post: 06-11-2006, 03:56 PM
  4. BIOS system and memory allocation problem
    By beely in forum Tech Board
    Replies: 9
    Last Post: 11-25-2003, 06:12 AM
  5. Number system base M, print numbers N digits wide...
    By biterman in forum C Programming
    Replies: 12
    Last Post: 11-19-2001, 03:31 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21