usb port programming in c/c++

usb port programming in c/c++ for intel pentium dual core T2080,x86 ar

Page 1 of 1

3 Replies - 33368 Views - Last Post: 12 February 2009 - 08:19 AM Rate Topic: -----

#1 er_amehra  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 11-February 09

usb port programming in c/c++

Post icon  Posted 11 February 2009 - 02:10 AM

I wanna do usb port programming in c/c++.......i m using intel pentium dual core T2080 processor,x86 archit..........Plz help me to start writing programs to access usb ports nd other hardware of my laptop through c/c++ programs.I m gud in c/c++ but had nver wrkd with hardwre interactn prgrms
Is This A Good Question/Topic? 0
  • +

Replies To: usb port programming in c/c++

#2 ccubed  Icon User is offline

  • It's That Guy
  • member icon

Reputation: 164
  • View blog
  • Posts: 1,416
  • Joined: 13-June 08

Re: usb port programming in c/c++

Posted 11 February 2009 - 09:43 AM

View Poster_amehra, on 11 Feb, 2009 - 01:10 AM, said:

I wanna do usb port programming in c/c++.......i m using intel pentium dual core T2080 processor,x86 archit..........Plz help me to start writing programs to access usb ports nd other hardware of my laptop through c/c++ programs.I m gud in c/c++ but had nver wrkd with hardwre interactn prgrms



In what way? If you mean interacting with them, then it's the same as interacting with C:. IF you mean enumerating them, then that's dependant on the OS you're coding for. So define "USB Port Programming."
Was This Post Helpful? 0
  • +
  • -

#3 er_amehra  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 11-February 09

Re: usb port programming in c/c++

Posted 12 February 2009 - 01:28 AM

View Postccubed, on 11 Feb, 2009 - 08:43 AM, said:

View Poster_amehra, on 11 Feb, 2009 - 01:10 AM, said:

I wanna do usb port programming in c/c++.......i m using intel pentium dual core T2080 processor,x86 archit..........Plz help me to start writing programs to access usb ports nd other hardware of my laptop through c/c++ programs.I m gud in c/c++ but had nver wrkd with hardwre interactn prgrms



In what way? If you mean interacting with them, then it's the same as interacting with C:. IF you mean enumerating them, then that's dependant on the OS you're coding for. So define "USB Port Programming."




by usb port programming hereby i mean i wanna write programs like cntrolling the printer attached to my laptop,turning it on/off or snding command to printer to print text entered through c/c++ program and all the other related stuff.....


** Edit ** Fixed quote tags
Was This Post Helpful? 0
  • +
  • -

#4 Plus  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 41
  • View blog
  • Posts: 414
  • Joined: 24-November 08

Re: usb port programming in c/c++

Posted 12 February 2009 - 08:19 AM

::
:: if you study assembly
:: you will be able to control IO with Peripherals
::
:: if you don't want to bother your self with assembly language
:: there are defined functions to control,configure, and modify
:: USB port .. well, it depends on the OS you use
::
:: in Windows i would look for windows API
::
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1