Well, the global variable isn't a problem. The whole thingy lies in a class and I could make a member which is actually an empty vector(I am actually dealing with vectors instead of ints) and make it...
Type: Posts; User: hardi
Well, the global variable isn't a problem. The whole thingy lies in a class and I could make a member which is actually an empty vector(I am actually dealing with vectors instead of ints) and make it...
oh, ok. thanks for explaining.
would this work:
somefunc(int& a = 4 [a not to compiler: I will not change the literal, honestly. Please, don't whine :) ])
actually, it's a bit more complicated, a vector gets passed, but i brought a simple example with int.
when no vector is passed, an empty, default, vector is given and the for cycle(that handles...
Is there a solution for it that isn't playing with pointers?
My aim is to have a function that would take an int as a parameter by reference, but when no int is passed, a default int is given, but...
yup, that axiom just doesn't work on a sphere.
very possible - i just need to recheck them :D
I think this is an example(though i am not sure, maybe my definitions are errenous).
Given a straight line and a point, there is only one line that goes through that point and is parallel to the...
Umm, i think of it as getting the most exact amount as possible...
We are creating laws that work in certain circumstances... But possibly, not in all...
but the prob is, that even maths contains conflicts between facts derived directly from axioms...
And brewbuck, I did not understand your questions, sorry :(
First of all, I consider this a discussion, not arguing. I am not trying to convince anyone in anything - just trying to share my experiences and views.
And secondly, it would not be a proof,...
I agree with you both... Thanks.
I just meant that the formula A = I * I * R * t might be proven wrong in the future, and for now it's good enough, beacause in practice, it works good enough.
Yup, they are accepted...
But for me, it's just hard to accept things that don't seem "natural"/"proven"/"imaginable". Maybe I just need to educate myself and open my eyes, so as to see, that there...
I know that in physics, we have no axioms on which to build up our formulas and thigs. Because our physics is still in its infancy - the are things we are not even aware of yet.
The formula i...
It is sometimes hard to... understand. To look at a formula and not "understand" it is like a torture for me. The questions that run around in my mind are: "Is it proven/Where does it come from/How...
http://www.cplusplus.com/doc/tutorial/files.html
btw. dev-c++ is not a compiler. dev-c++ is an IDE (it's just a graphical window where you can enter your code and process it and stuff like that). the compiler that comes with dev-c++ is gcc (I don't...
yep, It didn't work. sorry
Maybe only Square** pointer_to_current_2d_array; will do the trick :)
you could evaluate it like this: pointer_to_current_2d_array = &Matrix1;
Imho it should work.
I think you should parse the input. that means, you have to extract the data that you can put in the 'data' structure. then you should write a sorting function by hand or use the sort() from STL(if...
I am not sure of my definition of abstract data types, but here's something on it:
http://g.oswego.edu/dl/libg++paper/libg++/node2.html
Wikipedia also offers a nice definition:...
I don't recommend using addresses of vectors' or strings' elements - there are other ways to do that. check http://www.sgi.com/tech/stl/Iterators.html
thanks
how can I make my own collections of .o files?