C programing

Discussion in '3DS - Flashcards & Custom Firmwares' started by sightlight, Jan 15, 2013.

Jan 15, 2013

C programing by sightlight at 4:22 AM (6,645 Views / 1 Likes) 96 replies

  1. sightlight
    OP

    Member sightlight GBAtemp Fan

    Joined:
    Aug 5, 2009
    Messages:
    423
    Country:
    United States
    Is there a C editor that lets me see what im programing?
    Is there a C editor that display what am I doing? with the behavior and everything.

    Like if I write something like "Drawsprite(spritename,X,Y) it will display it on the side? Does something like that exist?

    I want to know why because I would like to use it. I what to be very skilled to make games for the nintendo 3ds gets hacked. I like making homebrew and if I know how to learn fast it will be awesome.

    Thank you much~
     
    Tattorack likes this.


  2. Rydian

    Member Rydian Resident Furvertâ„¢

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
    C needs compilation before it runs and steps through instructions one at a time (thus the need for a main loop for most programs that have any sort of interactivity while running), so no.

    Programming is not nearly as simple as HTML and other fancy formatting languages. You will need to write your code and then run your program to see the effects. As far as testing out various stages of it, that's why you put in debugging functions that will let you jump to specific scenarios (and remember to remove the debugging code before release).
     
    ct_bolt likes this.
  3. jimmyemunoz

    Member jimmyemunoz GBAtemp Advanced Maniac

    Joined:
    Feb 23, 2009
    Messages:
    1,958
    Location:
    Louisiana
    Country:
    United States
    Rydian, what are you studying in school...computer science or administration?
     
  4. sightlight
    OP

    Member sightlight GBAtemp Fan

    Joined:
    Aug 5, 2009
    Messages:
    423
    Country:
    United States
    then what other language could do that? that can display your progress that way?
     
  5. Sop

    Banned Sop groovy dude lmao

    Joined:
    Nov 14, 2010
    Messages:
    1,244
    Location:
    qld
    Country:
    Australia
    Although it may not further your cause, I remember hearing that it's possible to make something like this for Java. Well.. I think they said Java...
     
  6. Snailface

    Member Snailface My frothing demand for 3ds homebrew is increasing

    Joined:
    Sep 20, 2010
    Messages:
    4,324
    Location:
    Engine Room with Cyan, watching him learn.
    Country:
    Antarctica
    Here you go, an extremely visual programming language. :P
    http://scratch.mit.edu/

    Tbh though, that's not gonna help you in 3ds game development, at least not directly.
    I think, however, this is where you should start right now given your age level.
     
  7. Rydian

    Member Rydian Resident Furvertâ„¢

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
    Whatever the hell the computer program was. A little hardware repair, a little software repair, a little windows server admin stuff, a little cisco/router admin stuff, etc. Like one or two classes for everything, it seemed.

    Nothing you could directly use on the 3DS.

    The reason you can instantly preview stuff in HTML is that HTML is not a programming language, it's a markup language used to display "static" info.

    You could possibly code something up to display certain things live, but that would need to be done custom by you for your stuff and would basically be unit testing...
     
  8. sightlight
    OP

    Member sightlight GBAtemp Fan

    Joined:
    Aug 5, 2009
    Messages:
    423
    Country:
    United States
    Java is almost like C.
     
  9. Deltaechoe

    Member Deltaechoe The Dopefish

    Joined:
    May 3, 2012
    Messages:
    509
    Country:
    United States
    Java has some similar syntax, but it is definitely not like C

    Also, I don't know why you are asking for C, that is a deprecated language, you should be coding in C++ and doing it in a development environment like visual studio

    Also once you have compiled the code you can't turn it back into a high level language, you can only go as far as assembly code and (not to be offensive) but given the nature of your questions I don't think that will do you any good
     
    ct_bolt likes this.
  10. Rydian

    Member Rydian Resident Furvertâ„¢

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
    Basically C++ development is different in many respects to HTML, but that's just how it works and there are plenty of tools to help with it. Just the live preview thing isn't feasible.
     
    ct_bolt likes this.
  11. Snailface

    Member Snailface My frothing demand for 3ds homebrew is increasing

    Joined:
    Sep 20, 2010
    Messages:
    4,324
    Location:
    Engine Room with Cyan, watching him learn.
    Country:
    Antarctica
    If you're saying C is deprecated, than you're saying about 90% of C++ is deprecated. C is a major subset of C++ and can code anything C++ can.

    And oh, what language is at the top of this list?
    http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

    (I'm not saying he shouldn't code in C++, I'm just taking exception with the "deprecated" claim.)
     
  12. sightlight
    OP

    Member sightlight GBAtemp Fan

    Joined:
    Aug 5, 2009
    Messages:
    423
    Country:
    United States
    can c++ be like scratch? as you write code it kinda displays real time? "print" and after you write "print" it displays the result like on the side of you screen. without compiling and stuff.
    playing the game as you write it. C++ like that?
     
  13. Snailface

    Member Snailface My frothing demand for 3ds homebrew is increasing

    Joined:
    Sep 20, 2010
    Messages:
    4,324
    Location:
    Engine Room with Cyan, watching him learn.
    Country:
    Antarctica
    C++ will never be as easy as Scratch, and certainly any dev environment that uses C++ will never have a real-time compiler. It's just a crazy, inefficient way to do things. And besides, small games will take about 20 seconds or less to compile so it shouldn't slow your feedback in any meaningful way.

    The way to learn C++, or any complicated skill, is to be patient and practice it 30 minutes or so a day. If you have the attitude of wanting to learn it fast and easily, you'll probably get frustrated and quit altogether.
     
    ct_bolt likes this.
  14. shakirmoledina

    Member shakirmoledina Legend

    Joined:
    Oct 23, 2004
    Messages:
    6,611
    Location:
    Dar es Salaam
    Country:
    Tanzania
    the thing about programming languages is that the beginning is always steep. Once u get used to the general ideas with programming i.e. logic and all, it will become much easier.

    With that, a C compiler/editor can be visual studio

    From someone who has coded in C, they say you can't see things as you do it unless you compile it.
     
  15. sightlight
    OP

    Member sightlight GBAtemp Fan

    Joined:
    Aug 5, 2009
    Messages:
    423
    Country:
    United States
    I don't understand what that is for. I would like a C++ Realtime compiler or in C. Thise are the only programing languages that ever matter.. or do you guys know any other programing
    language that has this?
     
  16. Deltaechoe

    Member Deltaechoe The Dopefish

    Joined:
    May 3, 2012
    Messages:
    509
    Country:
    United States
    I have a feeling most of that is maintenance for old code that would not be cost effective to rewrite from scratch and you are right, not all of C is deprecated but much of the functionality that C++ improved on caused the old C style to become obsolete. The way I said it earlier didnt' come out quite right
     
    ct_bolt likes this.
  17. Sop

    Banned Sop groovy dude lmao

    Joined:
    Nov 14, 2010
    Messages:
    1,244
    Location:
    qld
    Country:
    Australia
    Java can be deployed in real time.

    Also, I can recommend using Code::Blocks as your IDE.
     
  18. Deltaechoe

    Member Deltaechoe The Dopefish

    Joined:
    May 3, 2012
    Messages:
    509
    Country:
    United States
    If you are determined to learn java, you are better off just getting eclipse and then you will know a professional environment that your boss won't be disappointed in (if you are doing software engineering that is)
     
    ct_bolt likes this.
  19. ilman

    Member ilman Gbatemp's Official Noise Eraser

    Joined:
    Jul 25, 2010
    Messages:
    1,127
    Location:
    Shibuya
    Country:
    Bulgaria
    Just get yourself Dev-Cpp. It may be vastly outdated by Code:Blocks, but I like having 'system's in my programs(although they're so zetta slow). Other than that there is a visual difference and Code:Blocks is a little too colourfull :P
    So I suggest getting Dev-Cpp and using it for C programs, while every day you learn a new function in C++.
     
  20. Alexrose

    Member Alexrose Untitled

    Joined:
    Jan 20, 2009
    Messages:
    783
    Location:
    England
    Country:
    United Kingdom
    If you want realtime, you want an interpreter language like Lua, not a compiler language like C.
     
    ct_bolt and Vinnymac like this.

Share This Page