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: babusats
  • Order by date
  1. babusats

    ld.so.1: exefile: fatal: libstdc++.so.2.10.0: open failed:

    The library is not there in default paths were the ld searches or were the browser sees.. See whether libstdc++ is in the comp where u run browser..check LD_LIBRARY_PATH
  2. babusats

    *& in declaration

    C does not understand call by refernece..it is not the C compilers problem to underatnd C++!!!..char c,char &c,char *c,char * &c C will reject 2,4
  3. babusats

    Triple Pointer in C

    Both are pointers to pointers..but they are pointers that is what is requuired...you can easily infer the meaning from the context..internally they are both treated as pointers ..they point to different types of pointers..it may be stupidly confusing..but simplicity is like that
  4. babusats

    #pragma for catching errors in C compilers?

    Compiler gives you an error message if # include fails & stops compilation , this should alert the user. # pragma which sets compiler warning levels may not be applicable for this.
  5. babusats

    Merging n sorted arrays

    You can go on merging arrays from 1 to 2, 2 to 4 and so on. This the way merge sort works. R.Sathish. babusats@rediffmail.com
  6. babusats

    Errors upon running program

    Yeah in addition top that check for null returns with file i/o functions. R.Sathish. babusats@rediffmail.com
  7. babusats

    Formula problem

    here is what he and I have so far total = (principal * (1/12)*rate) / (1 - powf((1 + (1/12)*rate), -length)); double x = rate/12. x++; double y = - length; double denom = pow(x,y); denom = 1 - denom; double numer = princi /12. * rate; double a = numer / denom; This will work; R.Sathish...
  8. babusats

    Is it possible to name a variable with a stringname?

    You can if you write a program that change place holders to names, i mean you redirect all your names to a file , generate a template source file with place holders for variable names, run a program that replaces place holders with names from that file. I hope u understand. R.Sathish...
  9. babusats

    Help: Need to get string from data file

    You have to use functions feof() and ferror() in coherence to detect EOF correctly. Also after every file I/O function call is made , check for return value from that function. If it is NULL there may be error. You can use fread() and fwrite() if the file is a binary data file. sathish babu...
  10. babusats

    MTS Course but not books, manuals, videos etc.

    DevelopMentor contact at develop.com
  11. babusats

    Help on calloc and malloc

    /*hi haivan here is the solution */<br># include &lt;stdio.h&gt;<br># include &lt;stdlib.h&gt;<br># include &lt;conio.h&gt;<br># include &lt;assert.h&gt;<br><br>typedef struct paths<br>{<br>&nbsp;&nbsp;&nbsp;float flow;<br>&nbsp;&nbsp;&nbsp;struct paths *next;<br>}paths;<br><br>typedef struct...
  12. babusats

    Help on calloc and malloc

    Dear palbano,vali,haivan,<br>i answered in a hurry ,and i myself have not used calloc in my code ,i.e the reason for too many errors. i will work out and post my deatailed answer soon, palbano ur reply is indeed very funny,i can't stop laughing<br>thanks a lot
  13. babusats

    Help on calloc and malloc

    hi haivan,<br>basic difference between calloc and malloc is that calloc initializes the memory it allocates to zero,while malloc does not.so it is better to call calloc.<br><br>to initialize......<br><br>typedef k_paths * pstr;<br>pstr arr = (pstr)calloc(8*sizeof(k_paths));<br><br>to...

Part and Inventory Search

Back
Top