Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by shamuntoha

  1. shamuntoha

    How to get hex correctly.

    How to get the output 0X33 not 0X334 ? (gcc compiler) code: #include <cstdlib> #include <iostream> #include <string> using namespace std; int main(int argc, char *argv[]) { int arr[256] = {1,0x23,0x6C,0x1,0x2}; string leg1 = "324856789"; int leg2 = leg1.length(); for (int...

Part and Inventory Search

Back
Top