Recent content by Mr Virtual

  1. M

    Why does the induced emf in an inductor increase when the circuit is opened?

    Though I don't have the practical experience of getting hit by high voltage shocks, I agree with the explanation offered by Bob S. When the switch is closed, the current takes its own time in rising to its max limit. Whereas when the switch is opened, we are manually opening the switch and thus...
  2. M

    What is the best way to learn Windows programing?

    I have got the book and will take a peek in it. Thanks for the suggestion. Mr V
  3. M

    C/C++ C++: How is the data type 'string' defined?

    Bingo! I found it in <bits/basic_string.h> Thanks for the help and sorry for the trouble. Mr V
  4. M

    Medical How to give CPR (in case of a heart attack) to an elderly person?

    Thanks a million to you all for clearing my doubts. Mr V
  5. M

    C/C++ C++: How is the data type 'string' defined?

    I looked in <string> but all I found there was as shown below: #ifndef _GLIBCXX_STRING #define _GLIBCXX_STRING 1 #pragma GCC system_header #include <bits/c++config.h> #include <bits/stringfwd.h> #include <bits/char_traits.h> #include <memory> // For allocator. #include...
  6. M

    Medical How to give CPR (in case of a heart attack) to an elderly person?

    And you are right: being alive with a fractured rib is better than being dead. So, one should press as hard as he/she can. But I am still confused. You are not taking into account the variable strengths that different people possess. I mean you can't instruct The Undertaker to press as hard...
  7. M

    Medical How to give CPR (in case of a heart attack) to an elderly person?

    Ha, Ha. No, it is not because I view Baywatch (I just searched in wiki to find out what it is: turned out it is a popular TV show). I got this idea because I have a clip in which a person is performing CPR on a dummy, and he removes the shirt it is wearing before giving CPR. Mr V
  8. M

    Medical How to give CPR (in case of a heart attack) to an elderly person?

    Hello everyone I am asking this question because I haven't joined any CPR course yet. The normal procedure requires a lot of force to be applied on the chest. But isn't such a huge pressure harmful for extremely aged people, whose bones are fragile and who may develop other complications in...
  9. M

    C/C++ C++: How is the data type 'string' defined?

    I read somewhere that 'string' is basically a class having certain functions. I looked into string.h and _mingw.h but could not find its defintion. Can anyone guide me as to where to look, or give me an idea of how it may be defined? Warm regards Mr V
  10. M

    What is the best way to learn Windows programing?

    I don't know anything about MFC. But I want to know if there is a tutorial that teaches Windows programing the same way as C++ is taught i.e. starting with data types and basic things and then building functions, structures, classes etc. with them. Mr V
  11. M

    What is the best way to learn Windows programing?

    Hello Everyone I have just finished learning C++ in my +1 and +2 classes. Now I want to proceed to GUI programing (or Windows programing). However I find that there are too many functions and other things to remember, for a beginner. I mean Windows programing is a whole lot different from...
  12. M

    C/C++ Why Does My OpenGL Code Show a Linker Error in Dev C++?

    I tried this but nothing happened. Never mind because I found out what was causing the error: the linker section of the project had a file called -lglu32 missing. On includeing this file, the program ran perfectly. For anybody who faces a similar problem in OpenGL and is using Dev C++: 1. Go...
  13. M

    C/C++ Why Does My OpenGL Code Show a Linker Error in Dev C++?

    I am using Dev C++ compiler version 4.9.9.2 When I compiled my OpenGL code, the compiler gave the following error: [Linker error] undefined reference to `gluPerspective@32' ld returned 1 exit status [Build Error] [Project1.exe] Error 1 I am taking NeHe tutorials, where a function...
  14. M

    Max Initial Separation for Meeting of Two Moving Bodies

    Homework Statement Two bodies move in a straight line towards each other at initial velocities v1 and v2 and with constant retardation a1 and a2 respectively at the initial instant. What is the max initial separation between the bodies for which they will meet during the motion? (sqr ->...
  15. M

    Max. Height Insect Can Crawl in a Bowl: u & r

    Homework Statement If the coefficient of friction between an insect and bowl surface is u (mu) and the radius of bowl is r, what is the max height upto which the insect can crawl in the bowl? a) r/root(1 + u2) b) r [ 1 - 1/root(1 + u2)] c) r [root(1 + u2)] d)r [ root(1 + u2) -1 ]...
Back
Top