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 strongm 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. borkut

    receiving strings from keyboard and storing base address in array of pointers...

    to XWB, using ur code(modification) my program is executing well.but i want to know why my code is not doing well. char *names[6] in this cose 'names' is an array of pointers to string. so whwn i m using scanf("%s",names[i]); this...
  2. borkut

    receiving strings from keyboard and storing base address in array of pointers...

    output screen is coming and then when i am entering a string, a window is coming and its saying that myprogram.exe has stoped working.
  3. borkut

    receiving strings from keyboard and storing base address in array of pointers...

    the code that i have given is not giving any compile time error.but at execution time it is failing to execute.why?
  4. borkut

    receiving strings from keyboard and storing base address in array of pointers...

    void main() { char *names[6]; int i; for(i=0;i<6;i++) { scanf("%s",names[i]); } getch(); } i am writing this code and compiller is not giving any error.i am using dev c++.why error?
  5. borkut

    new to java and have a question about getters and setters

    public void setMyNumber(int d) { this.myNumber = myNumber; } in your code above you are not using the value that you have passed in "d". you are simply assigning a non-static int variable to itself. and the reason behind why it is printing value "0" is that when a primitive veriable gets a...

Part and Inventory Search

Back
Top