Search:

Type: Posts; User: Zeus_

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. > How to print details of lucy's ? Exactly the...

    > How to print details of lucy's ?

    Exactly the way you do. Again consider using std::string as that's what you should be doing if you want to learn C++. Read a little further in the Wikiversity...
  2. Not really, Wikiversity is a really good source...

    Not really, Wikiversity is a really good source to learn from. @abhi143 rewrote the code in a different way, probably for practice, and that's what has produced him his errors. You can see the...
  3. Replies
    5
    Views
    90

    You need a change of learning material in that...

    You need a change of learning material in that case. Try an online website or free, reliable PDF (there's a tonne of good material out there).
  4. Replies
    1
    Views
    54

    What would help you the most is a google search....

    What would help you the most is a google search. There are tonnes of really good material on "volatile" keyword (as per my reading). You will never understand "volatile" by reading a tonne about it....
  5. Not exactly, it is not stored only at 0061FF24....

    Not exactly, it is not stored only at 0061FF24. 35 is an integer and integers are stored as 4 bytes of memory in this case. So, 35 is stored over 0061FF24 to 0061FF28. Similarly, 1 is stored over...
  6. Replies
    2
    Views
    115

    If you are going to be reading line by line and...

    If you are going to be reading line by line and if you know how many different lines(with different names, surnames etc) exist in your file, you could use a random number generated in a range (say...
  7. Replies
    3
    Views
    117

    You should read more about scopes in case you...

    You should read more about scopes in case you want to be returning pointers. You cannot be returning a local pointer as it remains on your stack only till the end of your function scope or things...
  8. Replies
    4
    Views
    140

    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...
  9. Replies
    4
    Views
    140

    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.
  10. & 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...
  11. Replies
    4
    Views
    225

    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:...
  12. Replies
    2
    Views
    139

    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...
  13. 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...
  14. Replies
    4
    Views
    197

    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...
  15. Replies
    14
    Views
    232

    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;
  16. 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...
  17. Thread: FPN math

    by Zeus_
    Replies
    55
    Views
    847

    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...
  18. Replies
    6
    Views
    151

    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...
  19. Replies
    6
    Views
    151

    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 };...
  20. Thread: FPN math

    by Zeus_
    Replies
    55
    Views
    847

    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?
  21. Replies
    6
    Views
    151

    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*...
  22. Replies
    2
    Views
    361

    > 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...
  23. Replies
    2
    Views
    361

    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...
  24. Replies
    5
    Views
    197

    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 -...
  25. Replies
    5
    Views
    197

    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...
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4