Search:

Type: Posts; User: Zeus_

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    119

    Why are you doing this anyway? I'm guessing it...

    Why are you doing this anyway? I'm guessing it came in a school test that wants to check if one has understood pre-increment and post-increment.
    I've learnt by being on this forum that this results...
  2. My homework problem: Write a menu driven...

    My homework problem:

    Write a menu driven program to implement Adding and Deletion of Records in a binary file. (Note: Deletion to be performed without a temporary file). Use the following class:
    ...
  3. I got it to work with a temporary file but I...

    I got it to work with a temporary file but I don't know how to set EOF one record before (from the end) every time I delete a record.

    Here's my code for deleting with a temporary file:



    ...
  4. Deleting Record in Binary File without Temporary File

    I'm trying to implement a program that Deletes a Record in a binary file without the use of a temporary file.




    class Manager
    {


    private:
  5. Thread: Nice Forum

    by Zeus_
    Replies
    6
    Views
    131

    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...
  6. Replies
    33
    Views
    1,000

    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...
  7. 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...
  8. 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...
  9. 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
    ...
  10. Thread: sizeof()

    by Zeus_
    Replies
    7
    Views
    378

    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...
  11. Replies
    9
    Views
    592

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

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

    by Zeus_
    Replies
    7
    Views
    378

    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,...
  13. Replies
    4
    Views
    255

    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...
  14. Thread: sizeof()

    by Zeus_
    Replies
    7
    Views
    378

    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...
  15. Thread: sizeof()

    by Zeus_
    Replies
    7
    Views
    378

    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...
  16. Replies
    5
    Views
    431

    @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...
  17. Replies
    9
    Views
    592

    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
  18. Replies
    4
    Views
    255

    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...
  19. Replies
    4
    Views
    255

    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...
  20. Replies
    2
    Views
    452

    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,...
  21. Replies
    2
    Views
    452

    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...
  22. Thread: Overloading <<

    by Zeus_
    Replies
    3
    Views
    229

    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...
  23. Thread: Pointers

    by Zeus_
    Replies
    6
    Views
    265

    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...
  24. Thread: Pointers

    by Zeus_
    Replies
    6
    Views
    265

    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...
  25. Thread: Pointers

    by Zeus_
    Replies
    6
    Views
    265

    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...
Results 1 to 25 of 39
Page 1 of 2 1 2