Active Topics

 


Reply
Thread Tools
Posts: 10 | Thanked: 1 time | Joined on Aug 2012
#1
I've written a sample program, just to test gcc on N9. Just a program which contain printf("success");

However, it gives me some errors (screenshot attached).

I've installed the necessary packages for compilation (gcc-4.4, g++-4.4) and dependencies.

Could someone figure out what am I missing?

Thanks in advance
Attached Images
 

Last edited by meegon9; 2013-01-15 at 12:18.
 
Posts: 642 | Thanked: 486 times | Joined on Aug 2008
#2
Seems like your encoding is screwed up?

Stray xxxx in program.
 
Posts: 10 | Thanked: 1 time | Joined on Aug 2012
#3
Originally Posted by rash.m2k View Post
Seems like your encoding is screwed up?

Stray xxxx in program.
So how do I fix it?
 
aStrike's Avatar
Posts: 80 | Thanked: 225 times | Joined on Sep 2012
#4
In my development process, I used to get theis error (if I remember correctly) when I copy-pasted, or when I typed with the ctrl or shift keys pressed or when I used the wrong white-space intead of a regular space.
You can try creating a new text file type all the code you want while making sure the ctrl or shift keys are not pressed, and compile that file.
__________________
Check My Game, Alpha Strike V1.1.0-2 Now in Extras-devel.
Alpha Strike (v1.0.0-2) gameplay video: HERE!
 
Posts: 642 | Thanked: 486 times | Joined on Aug 2008
#5
Originally Posted by meegon9 View Post
So how do I fix it?
Don't copy and paste code - you need to type it in manually.

https://discussions.apple.com/thread...art=0&tstart=0
http://www.exstrom.com/journal/comp/tex4ht.html
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:52.