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...
Type: Posts; User: bchaffin72
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...
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...
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...
Yes, it helped.:) Thanks.
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...
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....
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.
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...
Thanks again all. I got it. Now I can work on expanding it. I'll keep you posted.
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.:)
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.
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...
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...