xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
2 Pages V < 1 2  
Reply to this topicStart new topic
> Development Framework, Xbox Code
obcd
post Jan 15 2010, 12:23 PM
Post #16


X-S Hacker
******

Group: Moderator
Posts: 2737
Joined: 5-April 07
Member No.: 337188
Xbox Version: v1.0
360 version: none



You might consider creating a retail / debug setup.
I recently described on this Forum how it can be done.
You can simply select debug xbox from your dashboard and the debug dash shows up.

It only takes a bit of space on your xbox harddisk. It doesn't interfer with it's normal operation.
If you start coding, you will soon discover that debug possibilities are great. It's also great that a newly created xbe is transferred to the xbox directly.

regards.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Pulsemasta
post Jan 15 2010, 04:50 PM
Post #17


X-S Expert
***

Group: Members
Posts: 725
Joined: 29-November 08
Member No.: 397380
Xbox Version: v1.1
360 version: unknown



QUOTE(obcd @ Jan 15 2010, 12:23 PM) *

You might consider creating a retail / debug setup.
I recently described on this Forum how it can be done.
You can simply select debug xbox from your dashboard and the debug dash shows up.

It only takes a bit of space on your xbox harddisk. It doesn't interfer with it's normal operation.
If you start coding, you will soon discover that debug possibilities are great. It's also great that a newly created xbe is transferred to the xbox directly.

regards.


I will look into that, does it require flashing at all?

also, I just wrote my first C++ program. I would like your feedback, even though its pretty simple.

http://www.megaupload.com/?d=EW1OV2WA
http://pastebin.com/m5891b492


I can't figure out why, but if your answers are too long it messes the whole program up... any tips?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
obcd
post Jan 16 2010, 09:07 AM
Post #18


X-S Hacker
******

Group: Moderator
Posts: 2737
Joined: 5-April 07
Member No.: 337188
Xbox Version: v1.0
360 version: none



QUOTE
I can't figure out why, but if your answers are too long it messes the whole program up... any tips?


It would be helpfull to know what you are using to compile your program.
I would check if there is a limitation on the length of a string variable.
In standard C we wrote something like char city[100];

This means that the string should not contain more than 100 chars.
If it becomes longer, you get a buffer overflow and the char's are writen to memory locations occupied by other variables. The keyword string hides the length restriction, but it probably still exists.

Maybe if you look it up in your compiler help, you will learn what it's restrictions are and how they can be changed.

regards.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Pulsemasta
post Jan 16 2010, 12:39 PM
Post #19


X-S Expert
***

Group: Members
Posts: 725
Joined: 29-November 08
Member No.: 397380
Xbox Version: v1.1
360 version: unknown



QUOTE(obcd @ Jan 16 2010, 09:07 AM) *

It would be helpfull to know what you are using to compile your program.
I would check if there is a limitation on the length of a string variable.
In standard C we wrote something like char city[100];

This means that the string should not contain more than 100 chars.
If it becomes longer, you get a buffer overflow and the char's are writen to memory locations occupied by other variables. The keyword string hides the length restriction, but it probably still exists.

Maybe if you look it up in your compiler help, you will learn what it's restrictions are and how they can be changed.

regards.


I'm using Microsoft Visual Studio . NET 2003

yeah, I figured out how to write more characters to a integer and char but I can't seem to figure out how to add to a string.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





2 Pages V < 1 2
Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 18th May 2013 - 10:08 PM