Jump to content
Forum²

Recommended Posts

Posted

Recently just got a job working with windows server 2008 r2 and i was wondering if i could get the following questions awnsered for me!

 

1.) IS VBScript and JScript worth learning if i know C/C++? if so why? it seems like VBScript and JScript are dumbed down simple versions of higher level popular programming languages.

 

2.) What was the original purpose of scripting languages vs. compiled languages?

 

3.) For automation tasks would compiled c/c++ programs work just as fine?

Posted

Actually it's not hard to learn... but pay attention at the word SCRIPT.

 

C and C++ are used to create programs to interact with something (usually from user to a DB / service / ...) scripts are used to AUTOMATE something.

 

Let's make an example: I can create a batch file (file.bat) which erase all the temporary files once the user log off. This will take 3 mins, create the file with the notepad, create a new scheduled taks, FINISH. You can do the same thing with C or C++ but you need the compiler, write the program, compile, eventualy add the required DLLs and finally add it to the scheduled tasks.

 

As you can see everything depends on what you need to do.

 

I hope I've ansered to your questions.

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...