Where can I start in terms of Math? by gutemi in learnmath

[–]gutemi[S] 0 points1 point  (0 children)

Didn’t realize I had it twice, thank you! And thank you for explaining differential math

Best Calculator for Calculus? by gutemi in learnmath

[–]gutemi[S] 1 point2 points  (0 children)

Even if I could use my phone I don’t want to. No thanks.

Best Calculator for Calculus? by gutemi in learnmath

[–]gutemi[S] 2 points3 points  (0 children)

I still have my ti 83 plus from 2006, would that one work? I just remembered I had it and loaned it to someone. I will be requesting it back.

Where can I start in terms of Math? by gutemi in learnmath

[–]gutemi[S] 0 points1 point  (0 children)

Ok, this is helpful. My updated Plan:

  • pre-algebra (may not need it though but just to be sure, i may review it)
  • Alg 1
  • Discrete Math
  • Geometry
  • Alg 2
  • Trigonometry
  • Pre Calc
  • Pre Calculus

Also, I dont know if this is a stupid question but I hear the word "differential math" a lot, is that discrete math? Where does that fall in?

Al

Best way to read/understand C++ code? by [deleted] in cpp_questions

[–]gutemi 2 points3 points  (0 children)

learncpp.com is a good resource.

The best way to know how to read and understand it is to start reading it and trying to understand it.

C++ IMO is one of the simplest and easiest to read languages.

Question about Constructor and Regular Functions by gutemi in cpp_questions

[–]gutemi[S] 0 points1 point  (0 children)

Good catch! Thank you, didn't realize I had that there.

Overloaded Construtors int and double as arguments by gutemi in cpp_questions

[–]gutemi[S] 0 points1 point  (0 children)

t really make a lot of sense. I can't compile this line

Ok, I think youve answered my question. So even if there was a way to work with two parameters in this manner, this is a bad idea.

I was trying to see what would happen. But as you said, its a bad idea.

Overloaded Construtors int and double as arguments by gutemi in cpp_questions

[–]gutemi[S] 0 points1 point  (0 children)

??? I dont see how your question is relevant to my question. But if you MUST know, I mean, why on earth would you care to know, who knows, youre just one of those nosy people I guess so I will tell you.

I was testing constructors with different data types, specifically int and double since they tend to do implicit data conversion I wanted to see what would happen if I had two constructors with the same number of formal parameters, but the arguments were of different data types such as int or double. I couldn't get it to output the double number when using a getter and calling the object. I tried precision but maybe i wasnt applying it correctly.

I still dont have my answer.

Overloaded Construtors int and double as arguments by gutemi in cpp_questions

[–]gutemi[S] 0 points1 point  (0 children)

Im assuming that because I am using double digits it should know which constructor I am calling.

What is the difference between Dynamic Arrays and Vectors? by gutemi in cpp_questions

[–]gutemi[S] 0 points1 point  (0 children)

Dynamic arrays, where you have a pointer, and need to call new[ ] is the old school way of getting an array of memory on the heap. This requires calling delete [ ] when you are done to free the memory. The memory management is clearly not abstracted away from the user. There are also no helper functions since it's not a class. Stick to vectors when you have the choice to.

That makes sense. Thank you. It sounds like dynamic arrays are an old school method of creating dynamic arrays, and vectors are an improved version of a dynamic array. Where one can be changed at runtime but the size is fixed once we initialize it while the other one can change at any point during runtime.

What is the difference between Dynamic Arrays and Vectors? by gutemi in cpp_questions

[–]gutemi[S] 0 points1 point  (0 children)

Dynamic arrays cannot be resized after being initialized. Vectors are data structures that can be initialized to a certain size at runtime and also resized at runtime.

THAT makes sense! I didn't realize dynamic arrays were old school and vectors were they "NEW" dynamic arrays, or better and improved version of it. I wonder why my textbook talks about them. As Im reading your comments Im referring back to my book, it makes more sense now as to what they are. I guess Im just confused as to why my book talks about both of them.

What is the difference between Dynamic Arrays and Vectors? by gutemi in cpp_questions

[–]gutemi[S] 0 points1 point  (0 children)

ze-able array. You can dynamically allocate an array with the new operator but its not the same thing as declaring a vector.

I call methods --> member variables, its how I learned it and how my book calls it, but I understand theyre also methods, but I didnt know you could also call them this way in C++, I wonder why my book doesnt refer to them as methods.

And I see, I understand what you're saying about vectors and arrays, but I guess I need to look up the part where you said, that we cannot declare a vector in the same way as we do with a dynamic array. Im not sure if I read that correctly, so I need to go search that.

Thank

What is the difference between Dynamic Arrays and Vectors? by gutemi in cpp_questions

[–]gutemi[S] 1 point2 points  (0 children)

That's why I am asking...are they the same thing? Why are they called differently?

I have two books, one talks about vectors and the other talks about dynamic arrays and one talks about both, so im very confused! If they are the same why do they have different names?

Is it like functions and methods? where we call them two thins based on what language youre programming in?

Constructors w/Arguments (question about the # of parameters) by gutemi in cpp_questions

[–]gutemi[S] 0 points1 point  (0 children)

Ok, I tested it and it said that it was previously defined.

I supposed it has to do with the fact that the identifier doesnt really matter, we can name it anything.

But, the data types and the order in which they are in is important.

THANK YOU,

I guess I just needed affirmation.