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 SkipVought 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: *

  • Users: lehe
  • Order by date
  1. lehe

    Debug and Library Questions

    Hi, I have two questions. Thanks in advance for pointing out what you think about them! 1. This is a question of GDB. How to step over instead of stepping into in the following code: for(int i = 0; i < argc; i++) cout << (i > 0 ? " " : "") << argv << (i < argc - 1 ? " \\" : "")...
  2. lehe

    Know Into

    What does Know Into mean in this sentence "Sometimes we know into how many clusters our data should fit." How does it differ with Know and Know Of
  3. lehe

    uncertain results from &quot;printf&quot; with &quot;%g&quot;

    Hi, When using "..printf Functions" with Conversion specifier type "%g", it gives different results under different environment. For example, "sprintf(string,"%g",1e-6);" gives "1e-006" in Windows (Visual C++) and "1e-06" in Linux (gcc). Maybe I am wrong about it. Is it possible to get the same...
  4. lehe

    memory allocated within function and passed out of it

    Thanks for pointing out what I was not unware of. Besides that, let's move back to my original question. Will it cause runtime memory error using "malloc" to allocate memory within a function and then pass on to its outside?
  5. lehe

    memory allocated within function and passed out of it

    Hi, I am asking for using "malloc" to allocate memory within a self-written function and then pass on to the outside of the function. I did it this way but guess that it might be the reason that caused run-time memory error. Could you please point out if it is wrong and give the correct way...

Part and Inventory Search

Back
Top