Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C programming help.

Name: Anonymous 2010-03-12 17:03

Need help with C programming in Linux, it is pissing me off hardcore.

I need to write a program that:
- opens a file,
- writes a command line argument to the file
- closes the file
- reopens it
-reads the contents
-prints this to the screen

Im pretty clueless on C, more of the Java type.

Name: Anonymous 2010-03-12 17:06

open();
write();
close();
open();
read();
puts();

Name: Anonymous 2010-03-12 17:09

Name: Anonymous 2010-03-12 17:11

>>2
you mena fopen();
         fwrite();
         fclose;
         fopen();
         fread();
         puts();

Name: Anonymous 2010-03-12 17:18

What do i write within the 'puts();'?

Name: Anonymous 2010-03-12 17:21

Look, just go here and click on things until you understand:

http://swoolley.org/man.cgi/puts

Name: Anonymous 2010-03-13 9:25

>>4
You can use the generic functions, but it's more dangerous.

Name: ​​​​​​​​​​ 2010-10-24 17:04

Name: Anonymous 2010-12-17 1:17

Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?

If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List