Search:

Type: Posts; User: Zeus_

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    116

    My bad. I should have written (*a).x++ ++ has...

    My bad. I should have written (*a).x++
    ++ has higher precedence than dereferencing a pointer. I was busy with something else at the time you posted and I happened to write wrong code. Sorry :)...
  2. Replies
    5
    Views
    116

    When you pass arr[0] to Fun, you pass it by copy....

    When you pass arr[0] to Fun, you pass it by copy. So, the change you make to the copy is not reflected back in main. If you want it the change to be reflected back in main, pass your value by...
  3. Replies
    6
    Views
    158

    > If someone could develop this code, so that I...

    > If someone could develop this code, so that I might understand it then itwould greatly help me.

    No one will write your code for you. You can have your code reviewed and language related concepts...
  4. Replies
    9
    Views
    155

    Just to correct you, Code::Blocks will be the IDE...

    Just to correct you, Code::Blocks will be the IDE i.e. Integrated Development Environment that you're using. Your compiler is most likely going to be GNU GCC *some version*.
  5. That's false, wherever you heard it. As long as...

    That's false, wherever you heard it. As long as your code is correct, you won't face any problems. Either your code is badly written or your code is badly written. That's the only reason why your...
  6. Replies
    12
    Views
    472

    > so if you wanted to add Meddle Monkey back and...

    > so if you wanted to add Meddle Monkey back and try editing your list of user scripts, that might work too!

    Nah, it probably won't in my case. I was using an userscript that allows a few CP sites...
  7. Replies
    12
    Views
    472

    Well, that fixed it. I removed an extension...

    Well, that fixed it. I removed an extension called Meddle Monkey and now I have no problem. Don't understand how all of it works though :(
  8. Time complexities of standard data structures and algorithms

    Hey!

    So, I've been practicing a lot of Graph Theory and related algorithms recently and am trying different interpretations and implementations. I wanted to brush up on my memory of time...
  9. Replies
    2
    Views
    182

    > I do not see any problem in my code but can I...

    > I do not see any problem in my code but can I make it better.

    I believe not. It depends on what you want to "do" with your calculator program, what your target audience is and why do you think...
  10. Being a C/C++ expert has no correlation with...

    Being a C/C++ expert has no correlation with knowing everything about IDEs. You should probably read the documentation from the Eclipse website for the C/C++ IDE. I installed it and was able to run a...
  11. Replies
    12
    Views
    472

    > I'm not sure why the reply box wouldn't be...

    > I'm not sure why the reply box wouldn't be showing up - do you have any console errors? Does this happen in incognito mode?

    I'm replying with incognito enabled. The problem of the reply box not...
  12. Replies
    6
    Views
    215

    Many ways you can do this. I tried to make it...

    Many ways you can do this. I tried to make it simple so that it's easier for you to understand what's going on.
    (1 << i) basically sets the i'th bit to 1 (assuming, the rightmost bit index starts at...
  13. Replies
    12
    Views
    472

    Also, been facing some other issues with the UI....

    Also, been facing some other issues with the UI. Don't know if it's just me though....
    The reply box hasn't been loading for me for over a week now. Always have to select "Go Advanced" to reply to...
  14. Replies
    12
    Views
    472

    Forum slow again?

    Is it just me or is the forum loading abnormally slowly for others too like how it was before the fix against the DDos attack? Takes a tonne of time to load threads...
  15. Replies
    5
    Views
    202

    > I want to experiment by writing some code ...

    > I want to experiment by writing some code

    Good luck!
  16. Replies
    11
    Views
    272

    If you know your logic, then the only way you can...

    If you know your logic, then the only way you can code it is by starting to type, I guess?
  17. Hey! I've too started solving Project Euler...

    Hey! I've too started solving Project Euler problems very recently and I'm regularly committing to my GitHub repository for Competitive Programming with my solutions. Project Euler is fine with...
  18. Replies
    6
    Views
    227

    Firstly, the program is wrong because size is an...

    Firstly, the program is wrong because size is an uninitialised non-const variable from which you are trying to create an array of characters. Neither does the programmer nor the computer know what...
  19. Are you trolling around or are you just that...

    Are you trolling around or are you just that stupid? You have C::B on either full screen or you've disabled all the different Tabs. Enable them and you can see the options/buttons again. You could...
  20. Thanks! I've didn't know std::gcd() and...

    Thanks! I've didn't know std::gcd() and std::lcm() were added in C++17. I'll use them from now on. Although, even when I compiled using -std=c++1z, I get the error of gcd not being declared in the...
  21. This is a Project Euler problem that I too solved...

    This is a Project Euler problem that I too solved a few days back.
    Here's my solution: Competetive-Programming-Q-A/#5 Smallest Multiple.cpp at master * ZeusNoTZues/Competetive-Programming-Q-A *...
  22. What you need to do is read the instruction...

    What you need to do is read the instruction manual for C::B to get it to run your program. To attach code on this site you need to use [] (with CODE in b/w the brackets) at the beginning of your code...
  23. Replies
    1
    Views
    967

    YouTube tutorials do not cover enough information...

    YouTube tutorials do not cover enough information but it'll be good enough to get you started. Buying a book would only help if you have the time to sit through and read carefully, implement simple...
  24. Thread: Kalah game !

    by Zeus_
    Replies
    1
    Views
    169

    Good question. Unfortunately, this forum is not...

    Good question. Unfortunately, this forum is not for solving questions unless you've attempted to solve it yourself and show us code.
  25. Replies
    3
    Views
    226

    It's a very good read. Thanks for linking it here.

    It's a very good read. Thanks for linking it here.
Results 1 to 25 of 258
Page 1 of 11 1 2 3 4