Search:

Type: Posts; User: catacombs

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    432

    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
    264

    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
    254

    Is this a class assignment?

    Is this a class assignment?
  6. Replies
    11
    Views
    335

    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
    335

    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
    335

    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
    335

    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
    1,401

    It's a pointer to an array of characters.

    It's a pointer to an array of characters.
  11. Replies
    10
    Views
    822

    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
    646

    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
    646

    What happened to him?

    What happened to him?
  14. Replies
    24
    Views
    1,739

    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
    715

    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
    1,004

    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
    1,004

    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
    538

    Please format your code next time.

    Please format your code next time.
  19. Replies
    2
    Views
    554

    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
    864

    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
    864

    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
    864

    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
    864

    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
    864

    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