Darksat IT Security Forums
January 12, 2026, 02:45:58 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Darksat IT Security Forum
From Firewall Support, AntiVirus Questions, Spyware problems, Linux and Windows Security, Black Hat SEO right down to Website Design and Multimedia
 
  Home Help Search Gallery Links Staff List Login Register  
  Show Posts
Pages: [1]
1  The IT Department / Programming / C Programmers Help ! on: August 23, 2007, 05:12:47 am
Alright, here's the beef. I'm basically writing a program for a PIC18 microcontroller. There's just one problem, my main asm file, it compiles C into assembly and then turns it into bytecode, is too big to be loaded into memory. So I'm getting compiler errors telling me the section is too long. It's not a very high end microcontroller, but I'm still pretty surprised I hit its limit so fast.

My program has a copious amount of char arrays, size 17. I did some removal of the parts of the program concerning the char arrays. I then declared them before the main method. It didn't compile. When I removed them, it compiled.

I was thinking of splitting up some of the methods into another file. How do I do that ? How do I access said external methods from the class file containing the main method.

Alternatively, a simple way to fix this would be to tell me a way to store some char arrays in another file. I would also need to know how to access them using the main method file.

I was schooled in Java, so I'm not sure how to go about doing this in C. Normally I would make a constructor for an object in that external file. Make that keep all the arrays. Then use dot operators to access the variables I want from the new object.

I'm quite sure I surpassed the maximum size for one such C file. The microcontroller will definitely accept more C files, it has 2 MBs of program space.
2  General / Gaming / XBOX 360 worth it? on: August 23, 2007, 05:12:12 am
I've been considering getting a 360, is it really worth it at this time?
I've played GoW single player before and had a blast...I hear it's a riot online.
What else is there worth the time on it? Looking for a deep RPG with good graphics (already got Oblivion on PC). Is Project Gotham good?

Was also thinking a PS3 instead, but I really don't see any titles that will interest me that are out right now. I can always buy this thing later if the game situation changes.
3  Your Web / SEO Forum / seo information ? on: August 23, 2007, 05:11:26 am
how good is seoks.com information for search engine optimziation methods ?

thanks
Pages: [1]
Powered by EzPortal
eXTReMe Tracker
Security Forum
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum


Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy
Page created in 0.053 seconds with 13 queries.