Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'mathematica 8 cant's import c source file?' topicStudent Support Forum > General > "mathematica 8 cant's import c source file?"

Help | Reply To Topic
Author Comment/Response
Nancy
11/29/10 08:12am

I know FilePrint
but
in my language, some fonts are error..
FilePrint["a.c"]
FilePrint["a.txt"]
I mean there are some not English words in the file. and the CharacterDecoding-> seems not work.

furthermore:
FilePrint["a.c"]

in c code:
printf("Input");That I should to add \ to show the ", print (\"Input\")

so tricky!

If
Import("a.txt")
it's ok,
but I should to change the file extension from .c to .txt

boring...........




URL: ,
Help | Reply To Topic