Search:

Type: Posts; User: catacombs

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Thread: char*

    by catacombs
    Replies
    16
    Views
    984

    It's a pointer to an array of characters.

    It's a pointer to an array of characters.
  2. Replies
    10
    Views
    535

    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...
  3. Thread: Poor RyanC

    by catacombs
    Replies
    7
    Views
    267

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

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

    by catacombs
    Replies
    7
    Views
    267

    What happened to him?

    What happened to him?
  5. Replies
    24
    Views
    866

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

    Salem is right about prototyping functions, OP:




    #include <stdio.h>

    void my_function(char*);

    int main()
  6. Thread: .cvs file

    by catacombs
    Replies
    4
    Views
    347

    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? ;)
  7. Replies
    11
    Views
    408

    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...
  8. Replies
    11
    Views
    408

    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...
  9. Replies
    3
    Views
    309

    Please format your code next time.

    Please format your code next time.
  10. Replies
    2
    Views
    280

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

    Surely there must be a way to load the questions from another file, yes?
  11. 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?
  12. Replies
    12
    Views
    563

    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.
  13. Replies
    12
    Views
    563

    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.
  14. Replies
    12
    Views
    563

    Definitely simpler! I guess my newbie tendencies...

    Definitely simpler! I guess my newbie tendencies got the best of me and went a little overboard.
  15. Replies
    12
    Views
    563

    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...
  16. Replies
    12
    Views
    563

    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.
  17. Replies
    21
    Views
    744

    Can you please elaborate a little on this?

    Can you please elaborate a little on this?
  18. Replies
    21
    Views
    744

    This is just an example, but the real text I'm...

    This is just an example, but the real text I'm using contains colons. Here is an example:

    "BOB: I love the weather, but there is a problem: I hate going outdoors."
  19. Replies
    21
    Views
    744

    Spent some time last reworking the code with some...

    Spent some time last reworking the code with some suggestions.

    I decided to just split on the space and check each token to see if it matches with the all words.

    Seems like this works exactly...
  20. Replies
    21
    Views
    744

    My regex was not wrong. As laserlight pointed...

    My regex was not wrong. As laserlight pointed out, strtok doesn't take regular expressions, and that was why I didn't get the expected output.



    I already provided code. Run my example.
  21. Replies
    21
    Views
    744

    Yeah, after doing more research after posting it,...

    Yeah, after doing more research after posting it, the only thing I've found was the pcre library, but that doesn't do the intended split. If you have a third-party library I don't know about, I'm all...
  22. Replies
    21
    Views
    744

    Split string with regular expression

    I'm trying to split this string:


    "SPEAKER: Hello there, my friend. SPEAKER2: How are you, friend?"

    into an array.

    I know to use the strtok function from the strings header file, but I'm...
  23. Replies
    13
    Views
    459

    Exactly! One day you might not think of anything....

    Exactly! One day you might not think of anything. Then, while you're working, you'll think, "Man, I wish I could just do this with one command," and boom, there's your idea.
  24. Replies
    17
    Views
    703

    An Introduction to C and GUI Programming...

    An Introduction to C and GUI Programming might be what you're looking for.
  25. Replies
    13
    Views
    459

    Hi, Scatman. I am in the same boat as you. I...

    Hi, Scatman.

    I am in the same boat as you. I now understand the basics of C and hoping to improve my skills.

    One thing that helped me to better understand the language is writing small programs...
Results 1 to 25 of 74
Page 1 of 3 1 2 3