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 gmmastros 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. greatkingrat

    Path name for Mac

    Thank you for your answer, it is helpful. Hee S. Chung heesc@netian.com http://www.netian.com/~heesc
  2. greatkingrat

    math.h implementation

    Sure, http://www.netlib.org/cephes/ Actually it was needed to make a program for PalmOS. I'm not using CodeWarrior and currently PRC tools doesn't support math.h for double precision floating point. Only single precision version of math.h is present. So I downloaded the source code of PRC and...
  3. greatkingrat

    math.h implementation

    Finally I got it. Thanks. Hee S. Chung heesc@netian.com http://www.netian.com/~heesc
  4. greatkingrat

    math.h implementation

    Can I get a reliable and accurate source code in C for math.h which doesn't use harware FPU instructions? Thank you so much. Hee S. Chung heesc@netian.com http://www.netian.com/~heesc
  5. greatkingrat

    problems with gcc on multi-proc sparc?

    Maybe you think the standard C++ library has some problem in multi-threading environment and it is evidently possible. Then what do you think about this test? The idea to lock mutex for every doubtful place, for example, a pseudo code : mutex_lock cout << &quot;my message&quot; mutex_unlock...
  6. greatkingrat

    .DAT and .KYS files

    Though a file has .dat as extension, .dat is very commonly used, so I don't know .dat and .kys format. But I suggest a internet site which supplies the great file format informations : http://www.wotsit.org/ Thanks. Hee S. Chung heesc@netian.com http://www.netian.com/~heesc
  7. greatkingrat

    Is there a WinCE Emulator?

    I couldn't get any reply from Windows CE forum for this problem. It was possible to use PalmOS emulator to develop an application for it. And now I want to develop an application for WinCE, but I don't have a hardware with WinCE. So I hope I can get Windows GE emulator but I couldn't find it...
  8. greatkingrat

    problems with gcc on multi-proc sparc?

    I cannot figure out your exact situation because I think your problem is not simple. But please consider this scenario. You said an element added and signaled by a thread ( I'll call it thread 1 ). And when it is signaled, another thread (I call it thread 2 ) uses the queue. At this time, if...
  9. greatkingrat

    Is there a WinCE emulator?

    Hello, Is there a Windows CE emulator like PalmOS emulator? Thank you so much! Hee S. Chung heesc@netian.com http://www.netian.com/~heesc
  10. greatkingrat

    regarding school project

    Then, is there a reason why we learn programming? There are so many great DBMS which are commercially or freely available. Programming is experience. Hee S. Chung heesc@netian.com http://www.netian.com/~heesc
  11. greatkingrat

    Clock() and TImes() problem!!! (URGENT)

    The standard c function printf is not Printf. So I thought you redefined Printf instead of printf. But what is Printf you used? I don't think it is option or system dependent. Then pleast test following things : 1. %u or %lu instead of %f without casting for 'start' and 'finish' printf(...
  12. greatkingrat

    Clock() and TImes() problem!!! (URGENT)

    Then, what is Printf? Is it redefined printf? Try again using 'printf' instead of 'Printf'. I tested your example and it works well for me when printf is used and casting is applied to 'start' and 'finish'. Thanks. Hee S. Chung heesc@netian.com http://www.netian.com/~heesc
  13. greatkingrat

    Clock() and TImes() problem!!! (URGENT)

    Please try : Printf(&quot;\n start= %f finish=%f &quot;,(float)start,(float)finish); Hee S. Chung heesc@netian.com http://www.netian.com/~heesc
  14. greatkingrat

    regarding school project

    Sorry, I mistyped... DMS -----> DBMS Hee S. Chung heesc@netian.com http://www.netian.com/~heesc
  15. greatkingrat

    regarding school project

    If you want to make a DMS, you need to know data structure. B-tree is frequently used for DB systems. Sometimes AVL tree is used with mmap like mSQL. I think the step will be : 1. Fully understand C language. 2. Fully understand linked list. 3. Study tree data structure and select a suitable...
  16. greatkingrat

    glut32.lib for borland

    I think it is o.k. to generate glut32.lib for borland compiler by using implib. implib destpath\glut32.lib srcpath\glut32.dll If it doesn't work correctly, you can download the source files and compile it using borland c++. http://www.xmission.com/~nate/glut.html Hee S. Chung...
  17. greatkingrat

    moving shape

    Maybe you defined two coordinates to move the shape, i.e. 'x' and 'y'. And now we can define increment for each directions by defining 'dx' and 'dy'. Now we have, int x=INITIAL_X, y=INITIAL_Y, dx=1, dy=0; 1. Assume INITIAL_X and INITIAL_Y are predefined constant. I assumed dx=1 because you...
  18. greatkingrat

    PAM

    If you think there is no method which supports '\n', you can support it. you can use 'strtok' to get a sub-string specified by '\n'. Whenever you meet '\n', you should increase y coordinates properly ( generally, the height of the current font + some intervals ). Hee S. Chung heesc@netian.com...
  19. greatkingrat

    Object size

    If so, my source code can give some help. As you see in my source, plain method contained in a C++ class is not actually contained it. You can see that in the equivalent C code. Only data members and virtual functions affect the size of a class. My source code proves it. Thank you so much...
  20. greatkingrat

    Object size

    I'm sorry maybe my source cannot be answer for you... Maybe I couldn't fully understand your question - English is not my native language. And for your new question, do you mean sizeof(string) is 200 or more bytes? I tested it but it say it is 16 bytes. cout << sizeof(string); By the way, how...

Part and Inventory Search

Back
Top