Search:

Type: Posts; User: hardi

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Well, the global variable isn't a problem. The...

    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...
  2. oh, ok. thanks for explaining. would this...

    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 :) ])
  3. actually, it's a bit more complicated, a vector...

    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...
  4. somefunc(int& a = 4) -> default argument for ‘int& a’ has type ‘int’

    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...
  5. Replies
    26
    Views
    7,389

    yup, that axiom just doesn't work on a sphere.

    yup, that axiom just doesn't work on a sphere.
  6. Replies
    26
    Views
    7,389

    very possible - i just need to recheck them :D

    very possible - i just need to recheck them :D
  7. Replies
    26
    Views
    7,389

    I think this is an example(though i am not sure,...

    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...
  8. Replies
    26
    Views
    7,389

    Umm, i think of it as getting the most exact...

    Umm, i think of it as getting the most exact amount as possible...
  9. Replies
    26
    Views
    7,389

    We are creating laws that work in certain...

    We are creating laws that work in certain circumstances... But possibly, not in all...
  10. Replies
    26
    Views
    7,389

    but the prob is, that even maths contains...

    but the prob is, that even maths contains conflicts between facts derived directly from axioms...

    And brewbuck, I did not understand your questions, sorry :(
  11. Replies
    26
    Views
    7,389

    First of all, I consider this a discussion, not...

    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,...
  12. Replies
    26
    Views
    7,389

    I agree with you both... Thanks.

    I agree with you both... Thanks.
  13. Replies
    26
    Views
    7,389

    I just meant that the formula A = I * I * R * t...

    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.
  14. Replies
    26
    Views
    7,389

    Yup, they are accepted... But for me, it's just...

    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...
  15. Replies
    26
    Views
    7,389

    I know that in physics, we have no axioms on...

    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...
  16. Replies
    26
    Views
    7,389

    Understanding formulas, shapes, algorithms etc

    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...
  17. Replies
    20
    Views
    20,822

    http://www.cplusplus.com/doc/tutorial/files.html

    http://www.cplusplus.com/doc/tutorial/files.html
  18. Replies
    5
    Views
    1,261

    btw. dev-c++ is not a compiler. dev-c++ is an IDE...

    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...
  19. Replies
    6
    Views
    1,123

    didn't work

    yep, It didn't work. sorry
  20. Replies
    6
    Views
    1,123

    Maybe only Square** pointer_to_current_2d_array;...

    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.
  21. Thread: storing data

    by hardi
    Replies
    4
    Views
    1,073

    I think you should parse the input. that means,...

    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...
  22. Replies
    4
    Views
    2,465

    I am not sure of my definition of abstract data...

    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:...
  23. Replies
    6
    Views
    1,192

    I don't recommend using addresses of vectors' or...

    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
  24. Replies
    4
    Views
    4,580

    thanks

    thanks
  25. Replies
    4
    Views
    4,580

    how can I make my own collections of .o files?

    how can I make my own collections of .o files?
Results 1 to 25 of 132
Page 1 of 6 1 2 3 4