Hacking C programing

  • Thread starter Thread starter sightlight
  • Start date Start date
  • Views Views 11,060
  • Replies Replies 96
  • Likes Likes 1

sightlight

Well-Known Member
Member
Joined
Aug 5, 2009
Messages
423
Reaction score
43
Trophies
1
XP
282
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~
 
  • Like
Reactions: Tattorack
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).
 
  • Like
Reactions: ct_bolt
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...
 
then what other language could do that? that can display your progress that way?
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.
 
Rydian, what are you studying in school...computer science or administration?
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.

then what other language could do that? that can display your progress that way?
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...
 
Java is almost like C.

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
 
  • Like
Reactions: ct_bolt
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
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.)
 
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?
 
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?
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.
 
  • Like
Reactions: ct_bolt
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

What you have to do is to create a new C++ project without precompiled header -- this is the primary requirement if you want to compile a platform-independent code (library, console application).
There are several ways to do it. One way is to create a normal Win32 C++ console application, in the opened wizard you should go to the second page (by clicking "Next") and then uncheck the option "Include precompiled header". Then you can compile C++ (and C) projects directly in VS.
Stackoverflow

From someone who has coded in C, they say you can't see things as you do it unless you compile it.
 
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.

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?
 
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.)

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
 
  • Like
Reactions: ct_bolt
Java can be deployed in real time.

Also, I can recommend using Code::Blocks as your IDE.
 
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)
 
  • Like
Reactions: ct_bolt
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++.
 

Site & Scene News

Popular threads in this forum