Jump to content
  • Advertisement

MzDay

Member
  • Content Count

    35
  • Joined

  • Last visited

Community Reputation

246 Neutral

About MzDay

  • Rank
    Member
  1. MzDay

    Effective C++ (book)

    Maybe I'll buy it used because non of the library's near me have those books.. (and i cant request them :\) What should I start with? And @Matt-D, do you know when the "Effective C++11" will come out?   Thanks.
  2. MzDay

    Effective C++ (book)

    So should i get both? :)
  3. MzDay

    Effective C++ (book)

    Which one is better? thanks.
  4. I am reading "C++ for the impatient" and I am going to finish this book soon so i figured I should get "Effective C++". So my question is, is this book updated? Should i get this book or there are other books that recommended and more updated than this book?   thanks in advance.
  5. MzDay

    2D array and pointers

    UPDATE: this seem to fixed it, im not sure way.. can you explain please?:   #include <iostream> void reset_2D_dbl_array(double *p, int nrows, int ncols); int main(){ double big_matrix[10][10]; reset_2D_dbl_array(big_matrix[0],10,10); std::cout << big_matrix[9][2]; std::cin.ignore(); return 0; } void reset_2D_dbl_array(double *p, int nrows, int ncols){ int n = nrows * ncols; while(n-- > 0){ *p++ = 1.0; } }
  6. MzDay

    2D array and pointers

      i didnt really understand much lol um.. if i make an array like this: int darr[10][10]; and pass it to a function, the function get an address to an array of 8 int's is that right? meaning that i will get the start address of the whole array ?   i really dont get it S: can you please explain it to me with my function? :\ thanks!
  7. i have bought a book called "c++ for impatient" (released few month's ago i think) and i came across this:   and then they give me a function example of using 2D array with pointers: void reset_2D_dbl_array(double **p, int nrows, int ncols){ int n = nrows * ncols; while(n-- > 0){ **p++ = 0.0; } } so i have been trying to run this code like so: #include <iostream> void reset_2D_dbl_array(double **p, int nrows, int ncols); int main(){ double big_matrix[10][10]; reset_2D_dbl_array(big_matrix,10,10); std::cout << big_matrix[0][0]; std::cin.ignore(); return 0; } void reset_2D_dbl_array(double **p, int nrows, int ncols){ int n = nrows * ncols; while(n-- > 0){ **p++ = 0.0; } } and the code doesn't seem to be working.. i get an error like this:   what should i do and how can i make the function run like it should?   *the function just reset all the cells in the array to 0.0*   thanks!
  8. Ok thanks! :) lol i cant wait i started already from other sites :P
  9. none of it is complete it.. what about the book i got? its not good? thanks
  10. I actually ordered already C++ for Impatient and i dont really mind reading 700 pages. i will practice and make mini projects and games :)   um.. you think the book i ordered isnt that good? i mean, will it teach me every thing i need to know on c++? (of course not everything but at least what i need)   after reading this book i will order the Effective C++ book and on the way will make mini games and try to improve them in time :) by the way, i got the book "Opengl programming guide 8th edition" that just came out and i will learn from it Opengl, do you think its good? or should i learn from other book or a good tutorial from the web?   thanks!
  11. i do have prior experience :) Yeah lol.. i think the 5 weeks thing is because im from Israel.   i hope i did a good choice by ordering this one :P   thanks for your help!
  12. im going to order "C++ For The Impatient" for 63$ and i found a full pdf version of Primer Plus 5th Edition, the primer plus 5th is a problem for me to buy because it will ship only in 5 weeks (not including the time it will take to get to my city) and it cost double if i select a faster delivery.. Thanks a lot for the help ! :)
  13. I think i order the Primer Plus 5th Edition but i dont really know what is better, should i order that book or c++ for the impatient? thanks for the help really!   i dont need a book from the complete beginning but thanks! :)
  14. thanks, i dont really have an access to see the books because in my city there isnt really a "computer" section, and i am pretty sure there isnt any books on c++ on my city, so if you could please tell me what book should be good that teaches the latest c++ version and techniques that would be great and im pretty much not just for me but for everyone who is looking for one so as I.   i will order from Amazon if that's possible and i would like to order the second book you suggested too so i will look for a book too if you guys cant find one and i will update you guys here :)   thanks for your help and i hope you will keep helping me and other's :)
  15. thanks a lot! is there any other books someone will recommend me?
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!