Skip to: Site menu | Main content


Welcome to PSP-Programming.com, a place for developers to get together.

Welcome to the forums. Here you can find other user tutorials as well as homebrew releases and the source code repository. You can also ask for help with your code here and post your own homebrew!

PSP-Programming.com Forums
February 10, 2012, 02:17:31 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News: Check out the Code Section!
Home Help Search Shop Login Register
Digg This!
Pages: 1 [2] 3 4
Print
Author Topic: [Tutorial] File I/O  (Read 47610 times)
Yeldarb
Miinaturvat Rules!
Administrator
Hero Member
*

Karma: +16/-3
Offline Offline

Posts: 601
4152.65 points

View Inventory
Send Money to Yeldarb


View Profile WWW
« Reply #15 on: May 31, 2006, 02:36:16 PM »

I just spent an hour clarifying, modifying, converting and adding to it; it can do both at the same time.  It's set to be a PSP-C tutorial as well as a general C tutorial.

There are plenty of sites for general C tutorials, this site is about the PSP.
Logged



Yeldarb
Miinaturvat Rules!
Administrator
Hero Member
*

Karma: +16/-3
Offline Offline

Posts: 601
4152.65 points

View Inventory
Send Money to Yeldarb


View Profile WWW
« Reply #16 on: May 31, 2006, 02:38:30 PM »

I understand that...  it's just that I have to make this site have some sort of continuity.
Logged

Yeldarb
Miinaturvat Rules!
Administrator
Hero Member
*

Karma: +16/-3
Offline Offline

Posts: 601
4152.65 points

View Inventory
Send Money to Yeldarb


View Profile WWW
« Reply #17 on: May 31, 2006, 02:47:12 PM »

Yeah, I can do that.

They don't need to be fully functional full-scale applications (look at lessons 1 through 6, none of them give you something "useful"), but when people do the tutorials they want to end up with an end product; since this site is all about programming for the PSP, it's fitting that they end up with a PSP binary.
Logged

SG57
Sr. Member
****

Karma: +7/-37
Offline Offline

Posts: 474
1140.80 points

View Inventory
Send Money to SG57


View Profile
« Reply #18 on: May 31, 2006, 03:21:33 PM »

I am with yeldarb on this one, i want to come here looking for a simple tutorial without having to go through and convert basic C code to PSP specific code... (exit(1) = sceKernelExitGame(), i think you forgot to switch these yeldarb?)
Logged
SG57
Sr. Member
****

Karma: +7/-37
Offline Offline

Posts: 474
1140.80 points

View Inventory
Send Money to SG57


View Profile
« Reply #19 on: May 31, 2006, 03:25:25 PM »

i know, just putting my thoughts out there  Embarassed  is that wrong? Crying or Very sad
Logged
Yeldarb
Miinaturvat Rules!
Administrator
Hero Member
*

Karma: +16/-3
Offline Offline

Posts: 601
4152.65 points

View Inventory
Send Money to Yeldarb


View Profile WWW
« Reply #20 on: June 01, 2006, 08:32:27 AM »

Nice additions =)

(Did you see the there's a link to this thread on the PSPU homepage?)
Logged

Ryalla
harleyg
Hero Member
*****

Karma: +50/-12
Offline Offline

Posts: 813
9999999.99 points

View Inventory
Send Money to Ryalla


View Profile
« Reply #21 on: June 01, 2006, 08:59:51 AM »

Quote from: "Yeldarb"
Nice additions =)

(Did you see the there's a link to this thread on the PSPU homepage?)
I say you should get it removed. </3 PSPUpdates is full of a bunch of n00bs.
Logged
Ryalla
harleyg
Hero Member
*****

Karma: +50/-12
Offline Offline

Posts: 813
9999999.99 points

View Inventory
Send Money to Ryalla


View Profile
« Reply #22 on: June 01, 2006, 09:07:34 AM »

Quote from: "harleyg"
nahh the more traffic the better, also im so happy now because they banned me for a few days *again* and now they have to post something i done on the front page! muhahaha
Revenge'd. Even though it's revenge, PSPU still sucks..

OT: Nathan's avatar scares me. T_T
Logged
Yeldarb
Miinaturvat Rules!
Administrator
Hero Member
*

Karma: +16/-3
Offline Offline

Posts: 601
4152.65 points

View Inventory
Send Money to Yeldarb


View Profile WWW
« Reply #23 on: June 01, 2006, 10:37:36 AM »

PSPU isn't that bad Wink

And yes, traffic is good.  Newbies will generally ignore this site.. unless they're willing to learn to program.
Logged

Yeldarb
Miinaturvat Rules!
Administrator
Hero Member
*

Karma: +16/-3
Offline Offline

Posts: 601
4152.65 points

View Inventory
Send Money to Yeldarb


View Profile WWW
« Reply #24 on: June 02, 2006, 05:46:46 AM »

I do have something to view stats, just not a public counter, I think it's tacky :PP
Logged

SG57
Sr. Member
****

Karma: +7/-37
Offline Offline

Posts: 474
1140.80 points

View Inventory
Send Money to SG57


View Profile
« Reply #25 on: June 19, 2006, 04:25:54 PM »

File Input (Reading) - 3. Searching to a certain point.

... i hate to say this harleyg, (cause u hate me enough) but...
ftell() returns a long - you have it as an integer. Why are you casting malloc() ? Why are you stuffing EOF into a char and not an int? Why are you declaring a variable that you don't use (n)? Why isn't there room for the NULL character?
Logged
gamehunter101
Full Member
***

Karma: +3/-1
Offline Offline

Posts: 180
0.00 points

View Inventory
Send Money to gamehunter101


View Profile WWW
« Reply #26 on: June 19, 2006, 04:29:26 PM »

Everyone makes mistakes Wink
Logged

eggwonder
Full Member
***

Karma: +10/-10
Offline Offline

Posts: 181
100681.19 points

View Inventory
Send Money to eggwonder

RAWR


View Profile
« Reply #27 on: June 19, 2006, 04:32:19 PM »

hmmm btw i never thought about it until now but harleyg are you a nazi cause i see a swastica(or however it is spelled) in your sig
Logged

whazilla
Sr. Member
****

Karma: +2/-8
Offline Offline

Posts: 377
1793.33 points

View Inventory
Send Money to whazilla


View Profile
« Reply #28 on: June 19, 2006, 09:38:57 PM »

??? so what ...
u never heard heard of croz of honor

hell
EDIT: for the count ... i could be one to Wink
does that make me less human ?
Logged
whazilla
Sr. Member
****

Karma: +2/-8
Offline Offline

Posts: 377
1793.33 points

View Inventory
Send Money to whazilla


View Profile
« Reply #29 on: June 19, 2006, 11:51:41 PM »

u know it is a sign of peace ? ... thruw 3000 years of war ... this sign is always been a peace sign until 50 years ago ...
Logged
Pages: 1 [2] 3 4
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.225 seconds with 39 queries.
Sister Sites: Guitar Hero 4   BrokeniTouch.com