Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Is Javascript and C similiar?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
fabmxer
Master Cheater
Reputation: 0

Joined: 28 Mar 2008
Posts: 272

PostPosted: Sun Jun 15, 2008 12:24 am    Post subject: Is Javascript and C similiar? Reply with quote

How similiar is Javascript and C? If you know the web design language Javascript, can you code programs and trainers in C, or is it way different?

Someone said they are very similar, so I was just curious... Sounds like a dumb question, but I wanna know.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Jun 15, 2008 12:18 pm    Post subject: Reply with quote

Parts of the syntax can be similar to one another.

Some sample Javascript Code:
http://upload.wikimedia.org/wikipedia/en/f/fa/JS_SourceCode.png

And you can see various C code in this section. Anyway, they have similar parts but, just knowing Javascript doesn't mean you will undestand or know C right off the bat. (If thats what you are getting at.)

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Sun Jun 15, 2008 12:22 pm    Post subject: Reply with quote

Also, in Javascript, there are "expando-properties" (as my dad calls them, I don't know their real names). Basically, there are no such things as "types", just "var"s, and "var"s have any number properties that you can make out of thin air.

Code:

var x = 0;
x.y = 12;
x.z = "asdf";
x.asdfa9w84ejaowiejfaoid8fg = "jkl;";


In short, Javascript is much more loosely-typed than C.

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites