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. vdsouza

    Findign a file

    How do i find a file on the same day and that has been modified between a particular time period. For example. I wish to find a file today i.e. 19 th Jan between 0900 and 1700 hours.
  2. vdsouza

    Basic question

    Hi!! I would like to know the difference between Java 1.2 and 1.4 for the certifcation purpose. any good link for the same. thanks
  3. vdsouza

    strcmp

    There are quite a few probs in ur prog 1. scanf - U hav declared a 2 dim array so scanf shud be scanf("%d",&salary[0][0]); scanf("%d",&salary[0][1]); scanf("%d",&salary[0][2]); ...... scanf("%d",&salary[1][11]); 2. Also the while (!match) loop is never...
  4. vdsouza

    Linkers

    I am looking out for a linker to link my object files. These files are compiled using Microsoft C 6.0 compiler under SCO UNIX environment . I have a linker called xlink which is a dos linker. Currently I am facing some probs linking my object files. The error is MEMORY BUFFER FULL. Can anyone...
  5. vdsouza

    Comparison of Object Files

    Is there any dos utility to compare 2 object files in COFF format. Thanks in advance
  6. vdsouza

    "do while" loop problem

    i think guestgulkan is right about the temp being declared as float. Also the loop will have to be modified a bit(logically). At present if the first value entered is a -ve one then the loop will not be exited.
  7. vdsouza

    Compare int with character

    int strcnt(char *str, int x) { int y = 0; while (*str++) { if (*str == (x+48)) { y++; } } return y; } void main() { char abc[] = "12343212343212"; int n = 2; printf("%d\n", strcnt(abc, n)); } Here *str gives the ASCII value...
  8. vdsouza

    passing by reference

    I think that this is a very trivial discussion going on abt passing variables. I'm sure that passing by address (or reference) can be checked out in any C book.
  9. vdsouza

    passing by reference

    in ur program &x is the addresss or the reference of x, thats y it is called passing by address or passing by reference
  10. vdsouza

    Filling a 2-d array of pointers

    I think that the o/p wil contain garbage, because positionX and positionY may not be 0 at all (due to rand() %SIZE)
  11. vdsouza

    Graphics library in Linux

    hav u tried curses .h
  12. vdsouza

    passing by reference

    i was talking abt passing by reference in C. in C++ passing by reference means passing the alias of a variable using an '&'.
  13. vdsouza

    passing by reference

    Passing by reference means passing a pointer. The reference or the address of a variable is passed to a function. void f1(int a) { a=5+a; } void f2(int *a) { *a=5+(*a); } void main() { int m=5; f1(m);//pass by value printf("%d",m);//will print 5 f2(&m);//pass by reference...
  14. vdsouza

    piping "find" output to a script. how to do this

    alternative in 'd_script.sh' for i in `find . -name $1` do echo $i #ur work done pass what u want to find as a command line argument e.g. d_script.sh *.bak
  15. vdsouza

    Deleting a line from a file

    grep -v ^foreign filename > output file

Part and Inventory Search

Back
Top