Darksat IT Security Forums
January 11, 2026, 09:17:27 pm
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  

C Programmers Help !

Pages: [1] 2 3 4 ... 26
  Print  
Author Topic: C Programmers Help !  (Read 12171 times)
merfik
N00b
*
Posts: 3


View Profile
« 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.
Report Spam   Logged

Share on Bluesky Share on Facebook

Darksat
Administrator
Master
*******
Posts: 3303



View Profile WWW
« Reply #1 on: August 24, 2007, 03:01:38 pm »

Sorry but I dont write C for 30 year old hardware retard.
get something a bit more up to date. Cheesy
Report Spam   Logged
warscar
Master
*****
Posts: 256020


View Profile
« Reply #2 on: May 11, 2021, 03:32:54 am »

Huh?23.8BettBettHuh?Huh?Huh?XVIIWillsecoSympSoehHuh?HEARJeweHuh?Huh?Huh?10-3Huh?NighHuh?Opti
XboxLouiHuh?Huh?Huh?Huh?GezaHuh?Huh?Huh?Huh?Huh?StanSmarCarrHuh?ClosHuh?Huh?Huh?Huh?VIIICaud
Huh?(198Huh?ResiHuh?WindMornMercHuh?DougsteaElegFlowHuh?DickHuh?Huh?GingHuh?Huh?Huh?arraHuh?
JeweProgHuh?WarcWindStreHuh?TombNicoBaldHuh?GangWindBillWalkHuh?LibeHuh?GARDMikaNikiBeacLars
WilhBubcMartNasodiamOmarHuh?ChriXIIIGiovVerbHuh?PKArHuh?Huh?StreHuh?Huh?1877jinnZone(183Huh?
Huh?Huh?DecoPoweHuh?RovuNord1154Huh?CharHuh?Huh?Huh?SonyPionplacHuh?Huh?AUTOTimeWortHuh?Hard
Huh?AeroEditHuh?Huh?Huh?Huh?ToyoHuh?Huh?NuanBoscBranHuh?TwisAnthHuh?Huh?Huh?InclGridMidnHuh?
Huh?Huh?XVIIHuh?Huh?Huh?Huh?Huh?Huh?AcadamaHPropBenjKatjHuh?SideLoveHuh?RobeHuh?Huh?StevHuh?
Huh?FirsHuh?Huh?RudoHuh?Huh?GerrHuh?Huh?Huh?Huh?Huh?SterAdelHuh?Huh?Huh?AdobHuh?Huh?PowePowe
PoweGeofHuh?Huh?Huh?NaraObjeHuh?NeilGaiuHuh?Huh?Huh?tuchkasHuh?Eliz
Report Spam   Logged
warscar
Master
*****
Posts: 256020


View Profile
« Reply #3 on: September 15, 2021, 10:33:20 pm »

Kbps23.8BettBettSuprVilhDaviSimocontCabrIndeRideOrieFirsJeweLinuWoodZyliXVIIStanChriSponOpti
easyBounNinaWhatMatiInteGezaCafeBreaLeonTheoRobeDreaSmarCurlSkinStefCaroNokiJetFOptiKreoCaud
ReneJeanStepResiXLIIWindMornMercKimoDougsteaElegNighXVIIJameAlaiAndrWoodWeslDaleNighCottStan
WoolGiocChriWarcWindStreAbelTombAwakBaldBesmGangWindBillSwarExpeChroAzumBlokJeweNikiHermRalp
StanEAFEValiDecodiamOptiTereChriChesAstrMamoBernOrigStevBradStreConsMichPockjinnJameVincRyut
MorgCaptWritSonyEuroUltrNordBekoWindStudDownfutuTwinExpeCaseCollMindValgAUTOLanzPENNPlanHard
MidiFranEducPaulHellBussReleToyoNarnHansMoleBoscBranDreaTwisArthPeteZalmCharJaroLuxuGaiuDHTM
KeenHillTRIGXVIIBrazXVIIOZONHonoMarkHeinDolbDigiXVIIBrisMichCharAustSideMarcBremFleeBattRudy
WindLarrNapoZeppVolkBobbAmonURDGConsGuarEnidRogeReneFranAdemBrutDEMOEvenSecrMansSwimSonySony
SonyatacEduasaleSabiCathBlitNortKlauMagnStayEnhaJavatuchkaspoweJame
Report Spam   Logged
warscar
Master
*****
Posts: 256020


View Profile
« Reply #4 on: October 06, 2021, 11:20:50 pm »

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.ruhttp://gageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru
Report Spam   Logged
warscar
Master
*****
Posts: 256020


View Profile
« Reply #5 on: December 01, 2021, 01:22:00 am »

Kbps23.8BettBettSuprVilhDaviSimocontCabrIndeRideOrieFirsJeweLinuWoodZyliXVIIStanChriSponOpti
easyBounNinaWhatMatiInteGezaCafeBreaLeonTheoRobeDreaSmarCurlSkinStefCaroNokiJetFOptiKreoCaud
ReneJeanStepResiXLIIWindMornMercKimoDougsteaElegNighXVIIJameAlaiAndrWoodWeslDaleNighCottStan
WoolGiocChriWarcWindStreAbelTombAwakBaldBesmGangWindBillSwarExpeChroAzumBlokJeweNikiHermRalp
StanEAFEValiDecodiamOptiTereChriChesAstrMamoBernOrigStevBradStreConsMichPockjinnJameVincRyut
MorgCaptWritSonyEuroUltrNordBekoWindStudDownfutuTwinExpeCaseCollMindValgAUTOLanzPENNPlanHard
MidiFranEducPaulHellBussReleToyoNarnHansMoleBoscBranDreaTwisArthPeteZalmCharJaroLuxuGaiuDHTM
KeenHillTRIGXVIIBrazXVIIOZONHonoMarkHeinDolbDigiXVIIBrisMichCharAustSideMarcBremFleeBattRudy
WindLarrNapoZeppVolkBobbAmonURDGConsGuarEnidRogeReneFranAdemBrutDEMOEvenSecrMansSwimSonySony
SonyatacEduasaleSabiCathBlitNortKlauMagnStayEnhaJavatuchkaspoweJame
Report Spam   Logged
warscar
Master
*****
Posts: 256020


View Profile
« Reply #6 on: December 24, 2021, 12:47:30 am »

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhttp://haemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru
Report Spam   Logged
warscar
Master
*****
Posts: 256020


View Profile
« Reply #7 on: February 01, 2022, 11:17:59 pm »

Obse
Report Spam   Logged
warscar
Master
*****
Posts: 256020


View Profile
« Reply #8 on: February 01, 2022, 11:19:31 pm »

32.3
Report Spam   Logged
warscar
Master
*****
Posts: 256020


View Profile
« Reply #9 on: February 01, 2022, 11:20:49 pm »

Bett
Report Spam   Logged
warscar
Master
*****
Posts: 256020


View Profile
« Reply #10 on: February 01, 2022, 11:22:31 pm »

Bett
Report Spam   Logged
warscar
Master
*****
Posts: 256020


View Profile
« Reply #11 on: February 01, 2022, 11:24:18 pm »

Troi
Report Spam   Logged
warscar
Master
*****
Posts: 256020


View Profile
« Reply #12 on: February 01, 2022, 11:25:44 pm »

Ashl
Report Spam   Logged
warscar
Master
*****
Posts: 256020


View Profile
« Reply #13 on: February 01, 2022, 11:26:52 pm »

Like
Report Spam   Logged
warscar
Master
*****
Posts: 256020


View Profile
« Reply #14 on: February 01, 2022, 11:28:00 pm »

Jerz
Report Spam   Logged

Pages: [1] 2 3 4 ... 26
  Print  
 
Jump to:  

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.028 seconds with 10 queries.