Search:

Type: Posts; User: catacombs

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    7,887

    What's the best way to declare a pointer to a...

    What's the best way to declare a pointer to a character array?
  2. Replies
    3
    Views
    6,418

    What does "go deeper" mean? What exactly do you...

    What does "go deeper" mean? What exactly do you want to do? That will determine your next language.
  3. Yes, but you can still get a core dump of the...

    Yes, but you can still get a core dump of the program.
  4. The compiler won't show the errors. What does the...

    The compiler won't show the errors. What does the terminal say when you run the program? Have you considered trying to get a core dump?
  5. Replies
    2
    Views
    2,572

    Is this a class assignment?

    Is this a class assignment?
  6. Replies
    11
    Views
    3,095

    Thanks again, Hodor and laserlight. Great...

    Thanks again, Hodor and laserlight. Great explanations. I'll come back if I have other questions.
  7. Replies
    11
    Views
    3,095

    Thanks, Hodor. I get what you're saying about...

    Thanks, Hodor.

    I get what you're saying about not modifying char*. But what if I don't know the string ahead of time and need to modify it?

    Would it be better to create a buffer -- char...
  8. Replies
    11
    Views
    3,095

    Thanks, laserlight, as always. A follow-up...

    Thanks, laserlight, as always. A follow-up question:



    What do you mean by string parameter whose contents might be modified? Are you
    talking about passing a character array to a function?

    ...
  9. Replies
    11
    Views
    3,095

    When to use char* vs. char[]

    Hello!

    It's been a more than year since I started learning C, and I can certainly say
    I'm more comfortable with the language than before.

    One thing I've been thinking about recently is when to...
  10. Thread: char*

    by catacombs
    Replies
    16
    Views
    12,176

    It's a pointer to an array of characters.

    It's a pointer to an array of characters.
  11. Replies
    10
    Views
    9,398

    Rust aims to be a C/C++ replacement, but it has a...

    Rust aims to be a C/C++ replacement, but it has a long way to go. There are a lot of legacy systems written in C/C++ that would cost too much time and money to be rewritten in Rust.

    C/C++ are safe...
  12. Thread: Poor RyanC

    by catacombs
    Replies
    7
    Views
    8,569

    Hah. I remember some grumblings about a help...

    Hah. I remember some grumblings about a help troll.
  13. Thread: Poor RyanC

    by catacombs
    Replies
    7
    Views
    8,569

    What happened to him?

    What happened to him?
  14. Replies
    24
    Views
    10,897

    Salem is right about prototyping functions, OP: ...

    Salem is right about prototyping functions, OP:




    #include <stdio.h>

    void my_function(char*);

    int main()
  15. Thread: .cvs file

    by catacombs
    Replies
    4
    Views
    6,369

    Is a .cvs file what the pharmacy uses to print...

    Is a .cvs file what the pharmacy uses to print the really, really long receipts? ;)
  16. Replies
    11
    Views
    9,213

    I didn't notice this thread was about C++ book...

    I didn't notice this thread was about C++ book recommendations. I read it as regular C.

    Regardless, the C book I talked about is C Programming: A Modern Approach - Second Edition.

    For C++, I'd...
  17. Replies
    11
    Views
    9,213

    Moden C by King is a great book. I've been going...

    Moden C by King is a great book. I've been going through it since the beginning of the year, and I've learned a lot. There are plenty of exercises and examples available. You can skip most of the...
  18. Replies
    3
    Views
    5,675

    Please format your code next time.

    Please format your code next time.
  19. Replies
    2
    Views
    7,649

    Surely there must be a way to load the questions...

    Surely there must be a way to load the questions from another file, yes?
  20. Is the code legit? If so, where did you get...

    Is the code legit? If so, where did you get access to a bank management system's codebase?
  21. Replies
    12
    Views
    11,414

    No problem! I think OP said he or she won't know...

    No problem! I think OP said he or she won't know how many players will be in the final ahead of time. So, he or she will need to calculate that.
  22. Replies
    12
    Views
    11,414

    If you're addressing this to me, I know how many...

    If you're addressing this to me, I know how many because I counted the number of rows, each a player, from the input file.
  23. Replies
    12
    Views
    11,414

    Definitely simpler! I guess my newbie tendencies...

    Definitely simpler! I guess my newbie tendencies got the best of me and went a little overboard.
  24. Replies
    12
    Views
    11,414

    This was an interesting challenge. I spent the...

    This was an interesting challenge. I spent the morning implementing my own solution. This program can take in a different number of players from a seperate file. I set the initial value for...
  25. Replies
    12
    Views
    11,414

    Do you have examples of the data file? I'd love...

    Do you have examples of the data file? I'd love to do this on my own and see if I can find a solution.
Results 1 to 25 of 83
Page 1 of 4 1 2 3 4