- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 6
- Posts with Upvotes
- 2
- Upvoting Members
- 6
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Programmer
- PC Specs
- MacBook Pro and PC running Mac OS X and Linux.
Re: Can you please [B]remove[/B] the [URL="http://www.howstuffworks.com/c.htm"]HowStuffWorks[/URL] link from the original post or better yet point out that it's horrible. It is full of information that ranges from misleading to outright incorrect, which could be harmful to someone learning C. An except from the section on [URL="http://computer.howstuffworks.com/c34.htm"]Using Pointers with Arrays[/URL] for … | |
Re: Hi, I'm afraid I couldn't really find any C questions in your post, which is probably why you're having a hard time acquiring answers them by looking for information about C functions. You ask "how would I attachconsole in C to an existing process". I'm not even sure what this … | |
Re: You are not checking the return code of fread. In addition, you are checking for feof in the wrong spot. Your problem is similar to what's explained in this FAQ: [URL]http://www.eskimo.com/~scs/C-faq/q12.2.html[/URL] | |
Re: You should use CODE tags so that it is indented correctly and things like ::print isn't replaced with a smiley face and "rint". Also, you are inputting into the automatic variables a and b in main. These are completely unrelated to the ones in your class. | |
Re: This has the pungeant stench of homework, so I won't just do it for you. Have you googled at all for C bit manipulation, or bitwise operations? Hint: You will need to mask away the bits that you are not concerned about (the lower bits), so what mask would you … |