Jump to content

precisys

Member
  • Posts

    24
  • Joined

  • Last visited

Awards

This user doesn't have any awards

1 Follower

About precisys

  • Birthday Nov 06, 1993

Profile Information

  • Gender
    Not Telling
  • Member title
    Junior Member

precisys's Achievements

  1. My favorite is the keyboard, since I love stealthy looking keyboards.
  2. That skin looks outstanding! Oh, and the phone is nice too.
  3. I'd like to add that Windows 7 Home Premium 64-bit supports up to 16GB of ram.
  4. Right now I'm using rainmeter with a customized version of Elegance2 to check cpu and gpu usage and tempetature. It's quite simple and minimalist.
  5. Have you tried to download and manually install the updates?
  6. Make sure you have the Java SDK installed on your system and try again.
  7. You're welcome. Pointers are not a simple thing to learn, but once you fully understand it, you'll love it :D
  8. I added some comments and fixed some things. If there's something you don't understand feel free to ask. #include <iostream>using namespace std;void copyArray(int *a, int *b, int n);int main (){ const int ARRAY1 = 3; int a[ARRAY1]; //If you add * here you'll be declaring a vector of pointers to int. const int ARRAY2 = 3; int b[ARRAY2]; int i = 0; for(i = 0; i < ARRAY1; i++) { cout << "Please input your number\n"; cin >> a [i]; //Here you don't need to put the * because when you do a[i] you're doing *(a+i) } copyArray(a, b, ARRAY1); //a and b are already vectors, if you do *a and *b you're actually passing the first value of each vector. Also you can use ARRAY1 instead of n (there's no need to declare an extra variable) for(i = 0; i < ARRAY1; i++) //this prints each element of the b vector cout << b[i]; cout << '\n'; return 0;} void copyArray(int *a, int *b, int n){ int i; for(i = 0; i < n; i++) *b++ = *a++;}/* another way of implementing this function would be the following *//*void copyArray(int *a, int *b, int n){ while(n-- > 0) *b++ = *a++;}*/ // Also, you dont need ARRAY1 and ARRAY2. You'll be copying the contents of the first to the second, so they'll have the same size. You could use more meaningfull names for constants, for example, ARRAY_SIZE This compiles, runs and produces the expected output.
  9. A pointer is a memory address. You use "&" to get the address where a variable is stored and "*" to get the value stored on a specified address. About the code (adding to what the above user said): I would use a for loop instead of a while which would remove the need for an extra variable with a sum of mixed types (a pointer and an int). Also, vectors are pointers and pointers are vectors, which means pointers can be indexed. When you declare a vector you are declaring a special type of pointer, which cannot be modified itself (you can modify the values it contains).
  10. The thing is that he already started. When you decide to learn a language by yourself you probably have a bigger goal behind that than just learn a language. But after you decide to learn, keeping your big objective in mind, it's probably a good idea to create smaller objectives to keep you going. This is in my opinion, obviously.
  11. So, my small history of programming languages: Scheme (yeah, I know) C Assembly (gotta love the MOVes) Java C++ (with OpenGL) Common Lisp PHP Javascript If someone wants to get into programming I think that the best one to start is C.
  12. If you want to be motivated set a goal. For example: I want to build a game or a program that can run on Windows. Then you should think about how you'd like it to be, the functionality you want in your project. Feel free to step away from your computer at this time. Just think and write down your ideas. After you write your ideas, or if you find yourself lacking information, then there is a reason for you to go learn a bit more. Search for ways to do certain stuff. Just keep something in mind: you can do almost everything you can imagine. While you're still learning it's a good idea to set easier and simpler goals than set unrealistic goals, because each time you achieve a goal you'll get motivation, even if you're writting some simple stuff look at it as "the first step". A simple goal would be: I want to build a program that can take a string and split it every time it finds a space. An unrealistic goal would be: I want to write a game with a sick multiplayer mode. (Not that it's impossible, but if you start with this kind of stuff you will get frustated really fast) Also, once you learn one language, learning other languages takes almost no time (unless it's a lower level language). One more thing you should consider is learning programming metodologies. Creating an application is not just coding. In fact, the more time you take to think about dividing your problem into multiple smaller problems, and finding the best solution for each of those problems, the less time you'll spent coding and debugging. Hope this helps.
  13. I have the SteelSeries 7h and music sounds good. I'm not much of an audiophile though.
×