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 Mike Lewis 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. glathaa

    mshtml documentation

    Is anybody having mshtml documentation/samples in VC++ (msdn does not have enough samples)? -L
  2. glathaa

    Beep in Unix client

    Have you tried like this? #include <stdio.h> int main() { printf(&quot;%c&quot;, 0x07); return 0; } -Latha
  3. glathaa

    Beep in Unix client

    use beep() function
  4. glathaa

    Qt Libraries

    Can anyone tell me about the tutorials available to learn Qt Libraries quickly? Thanks in advance, Latha.G
  5. glathaa

    Ownership and User name....

    Use this program ..... #include <iostream.h> #include <fstream.h> #include <stdlib.h> #include <unistd.h> #include <string> int main() { string users[4] = {&quot;jill&quot;,&quot;gorege&quot;,&quot;joe_blow&quot;,&quot;john&quot;}; string me; // One way of finding the user...
  6. glathaa

    strtok with comma delimited string

    John, you have given the separators as &quot;,&quot; and &quot; &quot; in the strtok(). That is why you did not get the expected result. strtok() function accepts a single character delimiters. Write your own program using strstr() to do the name separation.
  7. glathaa

    Ownership and User name....

    getlogin() used to get the current user name. Use strcmp() function to compare two strings. For more information, see the man pages of those two functions.
  8. glathaa

    Ownership and User name....

    Use the following program... #include <iostream.h> #include <stdlib.h> #include <string.h> int main() { char username[20]; cin >> username; //getting the username if ( ! strcmp(username, &quot;jstreich&quot;)) { \\ do some code if the username is jstreich }...
  9. glathaa

    How to find CPU Time of a process

    Hi, 1. which function in C used to find CPU time of a process? 2. time utility in UNIX gives 3 results called real time, user time and system time? Can anybody give me the definition of those times? -GL
  10. glathaa

    Finding the memory usage of a particular application

    Hi, I am testing the performance of one of my application. Is there any built-in command line utility available in Windows (98/XP) to find the memory usage of an application? I want to have it in a batch file such that I can automate my testing. What are the functions in VC++ used to find the...
  11. glathaa

    Check harddisk size info

    I don't know the exact function/class in VC. But u can try it with CFile or related classes. I am also searching the answer. If i got anything, I will post it.
  12. glathaa

    something not a structure or union

    This error is due to accessing a structure pointer member variable with &quot;.&quot; operator. Use &quot;->&quot; operator. -Latha
  13. glathaa

    Check harddisk size info

    sorry &quot;quotactl&quot; function
  14. glathaa

    Check harddisk size info

    use quotactl command
  15. glathaa

    parameter `p' has just a forward declaration

    You are referencing a member variable by &quot;.&quot; operator. Its wrong. Use arrow opertor &quot;->&quot; in those places . Corrected Code: #include <stdio.h> #include <stdlib.h> #define NAME 10 typedef struct { char name[NAME]; int timeForExecution; int timeLeft; int...
  16. glathaa

    Device driver programming

    Linux or any RTOS. Thanks for ur response. GL
  17. glathaa

    Device driver programming

    Hi, I am interested in learning Device Driver programming. Could anyone of give me some tips to start it? Thanks in advance, GL
  18. glathaa

    Can yo explain this...

    hi hnd, using strcpy will lead to &quot;Segmentation fault&quot;. Because no memory allocated for the character pointer &quot;p&quot;. As you said this direct assignment is compiler dependent only. The literal strings are normally stored in the stack only. So the pointer &quot;p&quot; will...
  19. glathaa

    Doubt in STL map

    Hi, Is it possible to have a structure as a key in stl-map? Let us consider the following declaration. struct key { int a; int b; }; struct compare { bool operator()(const struct key k1, const struct key k2) const { return ((k1->a < k2->a) && (k2->a < k2->b)); } }...
  20. glathaa

    Doubt regarding the member function declaration

    What is meant by const class? Can you give a small example for it? Thanks in advance

Part and Inventory Search

Back
Top