Search:

Type: Posts; User: Zeus_

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    116

    What are you even trying to do? Take a notebook...

    What are you even trying to do? Take a notebook and try to solve the problem at hand by analysing what your algorithm should be doing for a simple input.

    Understand the problem at hand. Don't jump...
  2. Replies
    4
    Views
    116

    Post the code where we can see that you've tried...

    Post the code where we can see that you've tried to solve the problem! No one here will solve your HW for you.
  3. & is the 'reference' operator. Your function...

    & is the 'reference' operator. Your function expects integer pointers. Now, if you have learnt what pointers are, then you'd be correct if you thought that they are just a variable that hold a memory...
  4. Replies
    3
    Views
    182

    If xey pays me, I might as well do it, who...

    If xey pays me, I might as well do it, who wouldn't? But xey is stupid and is on the wrong forum if xey expect someone else to write code for them. xey buddy, have a look at:...
  5. Replies
    2
    Views
    118

    Or if you don't wanna do any of the above as...

    Or if you don't wanna do any of the above as @laserlight says and just want to get stuff done for hw, which is a bad thing if you wanna be a 'good' programmer and I recommend not to, hit google up...
  6. Each time you call the 'pass' function, two...

    Each time you call the 'pass' function, two variables called x and y with static scope are created. As you pass the value of 'a' to 'x' and 'b' to 'y', you essentially end up creating two aliases aka...
  7. Replies
    4
    Views
    184

    Why don't you try writing your own function to do...

    Why don't you try writing your own function to do that? It's pretty straightforward....

    There are solutions all over the internet, google em up.

    C++ - Decimal to binary converting - Stack...
  8. Replies
    14
    Views
    229

    The same way you'd initialise a normal array. ...

    The same way you'd initialise a normal array.



    p [0] = 5;
    p [1] = 15;
    p [2] = 5;
    p [3] = 53;
    p [4] = 101;
  9. C++ Pointers and Arrays...

    C++ Pointers and Arrays

    Read more about Arrays and Pointers and you'll easily understand what's happening.

    When you declare "array", you create a pointer called 'array' which know it's size is...
  10. Thread: FPN math

    by Zeus_
    Replies
    45
    Views
    664

    Yes, #18, sorry I forgot mentioning that. I use...

    Yes, #18, sorry I forgot mentioning that. I use the Hybrid view so all replies look nested in my screen but for those who may not be viewing it in this way will find this post towards the end of the...
  11. Replies
    6
    Views
    149

    Your ReplyToQ, MsgID and Format are all char...

    Your ReplyToQ, MsgID and Format are all char arrays, and you haven't passed them as their & equivalent so it only makes sense to do the same for Persistence. As everything is already a pointer, and...
  12. Replies
    6
    Views
    149

    Ignore my message in #2. I realised I'm wrong in...

    Ignore my message in #2. I realised I'm wrong in my explanation as I confused myself a bit... Sorry about that.

    Let's say you have an array A.



    int A [] = { 1 , 2 , 3 , 4 , 5 , 6 , 7 };...
  13. Thread: FPN math

    by Zeus_
    Replies
    45
    Views
    664

    It shows the site cannot be reached on my end.......

    It shows the site cannot be reached on my end.... What's the books name?
  14. Replies
    6
    Views
    149

    You should be using a & (reference) operator when...

    You should be using a & (reference) operator when you want, maybe, an alias or to prevent copying of the contents of one location in memory into another. memcpy's second argument takes a const void*...
  15. Replies
    2
    Views
    325

    > Not an ML expert. But a small dataset like that...

    > Not an ML expert. But a small dataset like that will probably not yield the best results. You need more samples.

    That's true, the more data sets I provide for each type of flower, the better the...
  16. Replies
    2
    Views
    325

    Flower Classification Problem

    The Flower Classification Problem is like the classic "Hello World" introduction to the world of Machine Learning and Artificial Intelligence or so I believe.

    Basically, the problem statement says...
  17. Replies
    5
    Views
    184

    If you insist on a solution without trying first...

    If you insist on a solution without trying first (i.e. provide us a code where we can see what you've tried), then I agree to what @Hodor has to say....

    Here you go:

    Look-and-Say Sequence -...
  18. Replies
    5
    Views
    184

    I think I recognise that pattern from a TED-ed...

    I think I recognise that pattern from a TED-ed Video that I saw a long time ago.... I can't find the actual video right now but I this is a similar copy of the video by someone else that popped up...
  19. I did mention something else ahead of "...err, 25...

    I did mention something else ahead of "...err, 25 is prime cuz remainder is 1, 35 is prime cuz remainder is 1, 49 is prime, 55 is prime...." that completely agrees with what you said...
  20. Describe your problem... I'm pretty sure I didn't...

    Describe your problem... I'm pretty sure I didn't understand what you meant in your question. If it's something related to calculating your distance or finding your field of view etc, have a look at...
  21. Thread: OpenGL

    by Zeus_
    Replies
    2
    Views
    244

    O Craaaapp.... I didn't think looking in the...

    O Craaaapp.... I didn't think looking in the About section would do me any good cuz I thought it'd probably just be listing the Contributors etc... Thanks for pointing it out :)
    I'll remember to...
  22. Thread: OpenGL

    by Zeus_
    Replies
    2
    Views
    244

    OpenGL

    Does anyone know any good reference material for OpenGL? One that contains information on every function that is callable by the programmer? I've tried searching on google and all I end up with is...
  23. > So if n % 6 doesn't equal 1 or 5 then it can't...

    > So if n % 6 doesn't equal 1 or 5 then it can't possibly be prime.

    ...err, 25 is prime cuz remainder is 1, 35 is prime cuz remainder is 1, 49 is prime, 55 is prime....

    No, this check isn't...
  24. Well, you've done it yourself already... All you...

    Well, you've done it yourself already... All you need to do is add your Largest and Lowest numbers and store it in a variable, say Sum, and print it. 'if' statements can contain more than one line of...
  25. Replies
    18
    Views
    653

    > I suggest keeping track of both size (number of...

    > I suggest keeping track of both size (number of elements in use, whether or not the null character is included is up to you) and capacity (number of elements for which memory has been allocated)....
Results 1 to 25 of 112
Page 1 of 5 1 2 3 4