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!

Search results for query: *

  1. tjroamer

    How to pass arguments to printf?

    Hi xwb, these functions are exactly I am looking for. It helps me to wrap the error message I want to control. Thanks for your post. Hi cpjust, yes, you are right. I was very suprised that I got the compile error when I did not put a parenthesis like this: pn_report(("%d", var)); thanks for...
  2. tjroamer

    How to pass arguments to printf?

    Hi, I would like to write a function which wraps the printf(const char*, ...), in order to turn off it accroding to a macro definition, since I have a lot of debug information to be printed out, but it affects the performance of the program if I don't need debug any more. The following function...
  3. tjroamer

    why sscanf does not work for reversed array address

    yes, exactly. I got it. Thanks a lot for your help. /Kenny
  4. tjroamer

    why sscanf does not work for reversed array address

    Hi gurus, a behavior of sscanf is confusing me: I wrote a program like this: char *mac = "00:12:34:5a:6b:8f"; unsigned char da[6]; sscanf(mac, "%2x:%2x:%2x:%2x:%2x:%2x", da+5, da+4, da+3, da+2, da+1, da); I found only the first byte of da is scaned correctly, but if I wrote the program like...
  5. tjroamer

    VMWare time synchronization problem.

    hello, SjrH, Just now I checked the .vmx file, this code is over there. Yes, I installed VMWare tool and also selected the option: "Time synchronization between the virtual machine and the host OS". The clock in the Linux is still running faster than WinXP. The CPU in my computer is Intel...
  6. tjroamer

    VMWare time synchronization problem.

    Hi SjrH, Thanks, but I tried to add this line to the bootloader file "/etc/grub.conf", then I restarted the vmware, unfortunately it did not work. Kai
  7. tjroamer

    VMWare time synchronization problem.

    Hi all, I installed the Linux Workstation 4 in the WinXP via VMWare. Now I have a problem with the clock. The time in my linux is always running faster than normal. That is, when I log in in the morning 8:00, the time is the same as the WinXP. When I see the time in the afternoon, for instance...
  8. tjroamer

    Tools finding to evaluate Ethernet Architecture?

    Hello, everybody, My task is to find some Electric System Level (ESL) Design tools available on the market to build different 1000Mb/s architectures. Evaluate them and get best solution of them. Anybody knows which tools I can use? I know one tool called VisualSim from Mirabilis Corporation...

Part and Inventory Search

Back
Top