Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
15% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
8
Posts with Downvotes
4
Downvoting Members
7
1 Commented Post
~3K People Reached
PC Specs
i some basic C, and i use Mac os 10.5
Favorite Tags
c x 8
Member Avatar for jephthah

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 …

Member Avatar for BNF
1
1K
Member Avatar for camdaddy09

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 …

Member Avatar for vegaseat
1
197
Member Avatar for camdaddy09

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 …

Member Avatar for BestJewSinceJC
-2
146
Member Avatar for Dave Sinkula

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 …

Member Avatar for Narue
0
2K
Member Avatar for camdaddy09

ive seen this in code on different forums but i have no idea what it does, could someone explain this?

Member Avatar for omol
-4
107