Search:

Type: Posts; User: Zeus_

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Nice Forum

    by Zeus_
    Replies
    6
    Views
    101

    Seems like you've spent 30+ years wasting your...

    Seems like you've spent 30+ years wasting your time and learning nothing then. Seeing your posts around here I believe that you, sir, should never have started programming...
  2. Replies
    32
    Views
    630

    First, just because you know how to do something...

    First, just because you know how to do something doesn't mean you just provide everyone else (who don't know how to do it) with an entire source code. If you ever have the time, which I believe...
  3. Oh, I see. It's saddening to know that I've been...

    Oh, I see. It's saddening to know that I've been learning and implementing C in the name of C++ at school. Thanks for pointing that out Adrian. Also, thanks for the link. Will be going through it...
  4. Thanks for the tips, jim. I'm yet to learn...

    Thanks for the tips, jim. I'm yet to learn std::vector at school but as I'm ahead of class, I do have some idea about it. I will work on learning more about std::algorithm and smart pointers. After...
  5. How close is my program to an ideal modern C++ program?

    Hello!

    So, I recently started watching videos on YouTube by OneLoneCoder (Javidx9). He's really great in the way he explains things out about modern C++.

    Here's a few links:

    YouTube
    ...
  6. Thread: sizeof()

    by Zeus_
    Replies
    7
    Views
    365

    Nah, I do know it's an operator like, say, +, -,...

    Nah, I do know it's an operator like, say, +, -, etc. I think I mentioned stating what I know about sizeof clearly in my first post (7th word). Also, I know that operators have a different colour on...
  7. Replies
    9
    Views
    587

    Oh yeah, sorry! I forgot that I switched between...

    Oh yeah, sorry! I forgot that I switched between the programming boards :redface:
  8. Thread: sizeof()

    by Zeus_
    Replies
    7
    Views
    365

    I tried a few examples last night and realised...

    I tried a few examples last night and realised that sizeof() behaves differently compared to what I was expecting. Your explanation supports the outputs I noticed.

    > If str is a pointer to char,...
  9. Replies
    4
    Views
    251

    Edit: I read a lot more about it in the past hour...

    Edit: I read a lot more about it in the past hour and all I can say is it's a shame we are not taught basic things like this in school. I've been learning C++ for over a year and I had no clue about...
  10. Thread: sizeof()

    by Zeus_
    Replies
    7
    Views
    365

    Curiosity to learn? Well, obviously not just that...

    Curiosity to learn? Well, obviously not just that but because I actually want to know how operators are actually used. sizeof() seemed to be an interesting choice to me. Also, I started looking at...
  11. Thread: sizeof()

    by Zeus_
    Replies
    7
    Views
    365

    sizeof()

    I've always wondered how the
    sizeof() operator works. So, I googled how it works but everything that I saw in the first two pages was basically useless to what I mean by my question. All websites...
  12. Replies
    5
    Views
    428

    @sash_007's question from: c++ - Need help...

    @sash_007's question from: c++ - Need help understanding gotoxy() | DaniWeb

    As stahta01 said and I suggest "Still need to improve web searching skills"

    c - How To Use SetConsoleCursorPosition...
  13. Replies
    9
    Views
    587

    I'm still reading through this but I really like...

    I'm still reading through this but I really like the way many things are explained in it. Might be helpful to you...

    C++ Core Guidelines
  14. Replies
    4
    Views
    251

    I haven't learnt how to do use binary...

    I haven't learnt how to do use binary representations and neither do I know what (1 << n) means but I'm definitely gonna look it up now.

    Also, even though I didn't understand the working, I...
  15. Replies
    4
    Views
    251

    Random Password Generator

    Arnab has an online account which requires him to change
    his password every month. He wants to create a program to
    help him generate the password.
    He comes up with an algorithm to generate all...
  16. Replies
    2
    Views
    446

    I know I was dumb as hell when I copy pasted it....

    I know I was dumb as hell when I copy pasted it. I definitely thought of making a function but that was after I finished copy-pasting all of it so I never actually returned to rewriting it. Although,...
  17. Replies
    2
    Views
    446

    2048 - Slightly Different Behaviour

    A few days back, at school, I saw a friend of mine playing 2048, which at that time I hadn't heard of but I liked the game so I made a similar version of it that behaves almost similarly to the...
  18. Thread: Overloading <<

    by Zeus_
    Replies
    3
    Views
    225

    When I was learning basics about operator...

    When I was learning basics about operator overloading, I came across this and it's really good.

    Operator Overloading in C++ - GeeksforGeeks

    Stroustrup: C++ Style and Technique FAQ

    Operator...
  19. Thread: Pointers

    by Zeus_
    Replies
    6
    Views
    263

    Makes sense. It also explains why I had two...

    Makes sense. It also explains why I had two garbage values being shown when I first ran my linked list program and displayed the contents of each object. I later changed the code by adding a...
  20. Thread: Pointers

    by Zeus_
    Replies
    6
    Views
    263

    Well, in my program above, I'm not assigning the...

    Well, in my program above, I'm not assigning the last objects data member pointer to NULL or neither am I linking it back to first object, so... I still feel there should be an error when there's...
  21. Thread: Pointers

    by Zeus_
    Replies
    6
    Views
    263

    That makes sense but I still don't understand...

    That makes sense but I still don't understand that if objects are allocated memory at run-time and each object stores the address of another object of the same type, isn't the existence of the other...
  22. Thread: Pointers

    by Zeus_
    Replies
    6
    Views
    263

    Pointers

    Last night, I was writing a program to implement a Stack using Linked Lists which I learnt about recently at school but only had a vague idea about before that. Upon thinking (I might be overthinking...
  23. Thread: GA nasty bug

    by Zeus_
    Replies
    4
    Views
    460

    3. When posting code, do not post your entire...

    3. When posting code, do not post your entire program if you only need help with one function. Post as little as possible. People are much more likely to read small amounts of code and help you, than...
  24. Replies
    5
    Views
    284

    Thanks a lot @stahta01! The return value of...

    Thanks a lot @stahta01! The return value of opendir helped me do what I wanted to :)
  25. Replies
    5
    Views
    284

    Trust me, I know. But I can't help it.... ...

    Trust me, I know. But I can't help it....



    Yes, it does. But isn't it for checking if a file exists? I guess I know what you're thinking but I may be wrong. Do you mean to say "when you create...
Results 1 to 25 of 35
Page 1 of 2 1 2