Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++
HI,
 
I am new on a c++.
 
I want a c++ code which will detect the connected hardware and shows the information
 
I am using turbo c++
 
I want to develop a code which will detect the square device and want to take the information of a credit card which will be swap using this device .
 
So can any one give me the sample code for detecting this hardware and read the information of a credit card such as person name, bank a/c no and the credit card no etc
 
Thanks
Mahesh Nawale
Posted 20-Feb-13 18:50pm
Comments
Sergey Alexandrovich Kryukov at 21-Feb-13 0:54am
   
What is a "square device"? I'm afraid this question is too vague and general to be answered in this forum.
—SA
maheshnawale at 21-Feb-13 2:24am
   
square device is the device by using we can swap the credit card . if u search on google u get the image for it
Sergey Alexandrovich Kryukov at 21-Feb-13 2:31am
   
Well, thanks for clarification. Never heard of such square...
—SA
enhzflep at 21-Feb-13 4:42am
   
Well, that's just not gonna happen.
 
For starters, the device plugs into the _audio jack_ of smart-phones, both android and iphone. It quite possibly communicates with the phone using wifi or bluetooth - I'm not aware of the audio port on either platform being bi-directional. I suspect the audio jack is merely used to provide power and commands to the device, _NOT_ to actually get information back from it.
 
Second, it's not a supported device for window/mac/linux etc. Clearly, the website states that supported platforms are android and iphoneiOS.
 
Third it's a payment system, so the security is going to be (hopefully) sealed up tighter than a fish's bum.
 
Your best bet would be to reverse-engineer the app that comes with it - either the android or iphone version. But again, re-read point #3.
Try Hexrays IDA Pro Advanced for reversing the app, if you must.
 
Oh, and for the love of god, allah, vishna and all that is holy, take your copy of Turbo C outside and shoot it! That compiler has no valid place this millenium. Get a decent one - i.e Visual Studio or MinGW with Eclipse, Code::Blocks or :gasp: even DevCpp - they're all a zillion lightyears better than TurboC (which was past it's use-by date in about '96 or '97)
 
Try allocating a GB of memory using TurboC :laugh:

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I don't think you are in the right forum for this question
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 655
1 OriginalGriff 453
2 CPallini 239
3 CHill60 180
4 Peter Leow 175
0 OriginalGriff 6,092
1 Sergey Alexandrovich Kryukov 4,898
2 Maciej Los 3,159
3 Peter Leow 3,129
4 DamithSL 2,490


Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 21 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100