- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 8
- Posts with Downvotes
- 4
- Downvoting Members
- 7
- PC Specs
- i some basic C, and i use Mac os 10.5
Re:
i dont normally work in the console/terminal window in my day job. so, i keep rewriting this every time i respond to someone needing help related to getting user input. im putting it here partly so i dont have to keep rewriting it. this function will get a string input … |
|
R.E.S.P.E.C.T First lets establish the definition of the word respect: due regard for the feelings, wishes, rights, or traditions of others. Its come to my attention that some members of this board do NOT regard the feelings of others as any importance at all when considering a reply. This is … |
|
As you'll notice this is an assignment from my computer science class, and if you look closely you'll also notice that this was due on march 3, so im not trying to get help for it. All this is for is to create some friendly competition and maybe keep the … |
|
Re:
Never use the function [inlinecode]gets[/inlinecode]. Why? It is unsafe. Since the maximum string size cannot be specified, it is always susceptible to buffer overflow. This snippet shows one way to do a safe version of [inlinecode]gets[/inlinecode]. It reads characters from the [inlinecode]stdin[/inlinecode] into a string up to the specified size … |
|
ive seen this in code on different forums but i have no idea what it does, could someone explain this? |