Search:

Type: Posts; User: bchaffin72

Search: Search took 0.01 seconds.

  1. I figured it out. While using Scite's find and...

    I figured it out. While using Scite's find and replace function, I accidentally replaced an argument name I shouldn't have. Since it was in an area seemingly unrelated to the problem, it took a while...
  2. Thanks Salem, I'll take a look at that. Those...

    Thanks Salem, I'll take a look at that. Those functions do have return values that can be checked. It seems the Scite editor uses compiler options I rarely had before. These warnings could have...
  3. Need advice, program no longer fully functional.

    Hi everyone. I've been dusting off some old projects lately and have found that one of my programs no longer works as it should. I've done internet and forum searches and can't find an answer.

    The...
  4. Replies
    2
    Views
    1,622

    Yes, it helped.:) Thanks.

    Yes, it helped.:) Thanks.
  5. Replies
    2
    Views
    1,622

    Need to fix Linux 'connect' warning.

    This is client side code for a program I am working on. I've followed the examples I am learning from, and get this warning when compiling:

    "passing argument 2 of 'connect' from incompatible...
  6. Replies
    17
    Views
    4,296

    The compiler warning had to do with the default...

    The compiler warning had to do with the default case inside the loop.
    Changing to c to int produced produced a warning that argument 2 of strncat was being called with an incompatible pointer type....
  7. Replies
    17
    Views
    4,296

    Thanks. Moving getchar() inside the while...

    Thanks. Moving getchar() inside the while statement works fine,but changing c to int produces a compiler warning, so I'll leave that as is for now.
  8. Replies
    17
    Views
    4,296

    Here is the current version of the code, for...

    Here is the current version of the code, for those who are curious. It's not what you would call feature rich,but it works. Any comments,suggestions, or constructive criticisms are welcome. Thanks...
  9. Replies
    17
    Views
    4,296

    Thanks again all. I got it. Now I can work on...

    Thanks again all. I got it. Now I can work on expanding it. I'll keep you posted.
  10. Replies
    17
    Views
    4,296

    Thanks all. Between your advice and some various...

    Thanks all. Between your advice and some various code examples,I'm getting a handle of what to do. I'm going to bury my head in some code,but I'll try to poke it up and look around again soon.:)
  11. Replies
    17
    Views
    4,296

    Thanks guys. I'll try tackling it from that...

    Thanks guys. I'll try tackling it from that angle, and if I really ball things up,I'll let you know:) I have an idea what to do, I just need to figure out how the actual implememtation will work.
  12. Replies
    17
    Views
    4,296

    Here's what I was thinking. The function...

    Here's what I was thinking. The function fill_argv() takes the user input and uses it to fill the internal my_argv[] array, as opposed to using main's argv[] array. Is it possible to test argv[0] to...
  13. Replies
    17
    Views
    4,296

    Qustion about writing a shell

    Hello! This is my first post and I have a question about some code I am working with. This is working code for a basic Linux shell. It works fine for running external commands,but I am wondering how...
Results 1 to 13 of 13