Quick C/C++ reference on the console

What do you usually do when you don’t remember whether fp is the first argument for fprintf or for fwrite? (Hint: it’s the first argument for one, the last for the other. Handy, huh?). Well, there’s no need to go and check the answer on Google, just sudo apt-get install manpages-dev and then do “man fprintf” or “man fwrite”.

Note: you might also want posix-dev to check stuff like htons.

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s