| Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita |


That is not Unix. That is OSX a proprietary branch of BSD.
Terbaddo wrote:C (compiled) is not lower-level than LUA (scripted) ?
Terbaddo wrote:C (compiled) is not lower-level than LUA (scripted) ?


ultimakillz wrote:Terbaddo wrote:C (compiled) is not lower-level than LUA (scripted) ?
if you are implying that scripting languages are higher level programming languages than compiled languages, then that is not necessarily the case. levelness of a programming language depends on the level of abstraction between said language & machine language. whether its compiled or interpreted has nothing to do with it, but rather how much the language hides the specifics of whats really going on in the machine code is the real determining factor.
if thats not what you're implying, then imho c and lua are on a similar level. to me neither abstracts more than the other, for example printf is not any more abstract to me then screen:print.

#include "../../../std_lib_facilities.h"
int main()
{
cout << "Please input a floating point value: ";
double n;
cin >> n;
cout << "n == " << n
<< "\nn+1 == " << n+1
<< "\nthree times n == " << 3*n
<< "\ntwice n == " << n+n
<< "\nn squared == " << n*n
<< "\nhalf of n == " << n/2
<< "\nsquare root of n == " << sqrt(n)
<< endl;
keep_window_open();
}#include "../../../std_lib_facilities.h"
int main()
{
cout << "Please input a number: ";
int n;
cin >> n;
cout << "n == " << n
<< "\nn+1 == " << n+1
<< "\nthree times n == " << 3*n
<< "\ntwice n == " << n+n
<< "\nn squared == " << n*n
<< "\nhalf of n == " << n/2
<< "\nsquare root of n == " << sqrt(n)
<< endl;
keep_window_open();
}<< "\nsquare root of n == " << sqrt( (double) n)

xist wrote:i'm working directly from Bjarne Stroustrup's Programming Principles and Practice Using C++, which i figured was a good starter.
xist wrote:So basically putting (double) prior to my integer allows a disallowed function by putting the value into a double read space?


Users browsing this forum: No registered users and 1 guest