Recent content by scorpion
-
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++.- scorpion
- Post #12
- Forum: Engineering and Comp Sci Homework Help
-
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...- scorpion
- Post #10
- Forum: Engineering and Comp Sci Homework Help
-
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.- scorpion
- Post #3
- Forum: Engineering and Comp Sci Homework Help
-
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...- scorpion
- Thread
- C++ Doubt Pointers
- Replies: 13
- Forum: Engineering and Comp Sci Homework Help
-
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.- scorpion
- Post #2
- Forum: Engineering and Comp Sci Homework Help
-
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) count<<"palindrome";- scorpion
- Post #9
- Forum: Engineering and Comp Sci Homework Help
-
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- scorpion
- Post #4
- Forum: Engineering and Comp Sci Homework Help
-
S
Which Derivative of f(x) = x^n Is Zero?
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- scorpion
- Post #5
- Forum: Precalculus Mathematics Homework Help