Recent content by scorpion

  1. S

    Comp Sci C++ Pointers: Get Help Understanding Basics & Memory Savings

    I am now clear that we can save memory by dynamic allocation of memory by the example of array declaration. I would like to know more about 'vector' data type . Can you please send me a link or suggest any source to get more knowledge on C++.
  2. S

    Comp Sci C++ Pointers: Get Help Understanding Basics & Memory Savings

    I also doubt one more yhing that while declaring a pointer we allocate a memory location i.e we allocate the same amount of memory as the one to which yhe pointer points . So this means that we initially allocate memory for the pointer then again go for dynamic declaration of another variable...
  3. S

    Comp Sci C++ Pointers: Get Help Understanding Basics & Memory Savings

    Can you give me an example where I need to use pointer Just the example without any code.
  4. S

    Comp Sci C++ Pointers: Get Help Understanding Basics & Memory Savings

    Can anyone help me understand the basic use of pointers. I am aware of pointers,yet I feel that a program can be made more easier without using a pointer. My basic dout is that can pointers be used to save memory by dynamic declaration of variables. I thought over it but found that using...
  5. S

    Could use some, no, a LOT of help on my arrays assignment (C)

    how about using two arrays one for the student ID and one for the score Then bubble sort the scores Arrange student IDs then finally group them.
  6. S

    Comp Sci Mastering Palindromes: Understanding C++ Programming with Goto and For Loops

    how about finding reverse of a no by this logic and comparing it to the orignal one int sum,a,b; sum=0; cin>>a; b=a; while(a!=0) { sum=(sum*10)+(a%10); a=a/10; } if(sum==b) cout<<"palindrome";
  7. S

    Comp Sci Mastering Palindromes: Understanding C++ Programming with Goto and For Loops

    what is the use of the pow() function please specify another method just find reverse of a no and compare it to the orignal no
  8. S

    Confused by a Math Question? Find Answers Here!

    The answer is n+1 times The hint lies in the fact The nth differential of f(X)=x^n gives a constant And n+1th diffrential i.e of a constant gives us Zero
Back
Top