Artificial languages for instructing computers to do steps of computation in order to complete tasks. They allow programmers to communicate with computers.

learn more… | top users | synonyms

-5
votes
0answers
23 views

Find error in R find it in summary [closed]

I am taking stats I am working with breast cancer from the book flawell. Here the link how would u do how would u do error I tried doimg it this way so your help would be very much apprucated
0
votes
0answers
36 views

Using Magma programming language, how can we write (fxg)/40320 [closed]

R:=IntegerRing(9); S:=PolynomialRing(R,5); S:=PolynomialRing(R,5); f:=y-8; g:=x^2+z^2+t^2; I would like to write (fxg)/40320 I have already tried the following f*g/40320, f*g div 40320, ...
-3
votes
0answers
44 views

Where can I find a Lua tutorial(other than the Lua book)? [closed]

I have a decent background in programming. I know HTML, CSS, JavaScript, PHP, C++, C, Python and Ruby. I recently heard about a language called Lua. Upon research I hear it is becoming increasingly ...
-1
votes
0answers
90 views

Developing an online IDE [closed]

Firstly, I am doing this for a large project, and it is 100% necessary for it. I am an experienced programmer with strong knowledge of Python, C, Ruby, Javascript, JQuery, HTML/CSS (but I have no ...
4
votes
3answers
267 views

Is there a way to use a higher level language in a competition that only has C, C++ and Java by default?

On that competition, you gain access to a system with gcc, vim, emacs and Java. You can't take any file with you and there's no internet access, but you can do whatever you want inside that system. ...
1
vote
1answer
100 views

What is the difference between a procedure-oriented and a problem-oriented programming language?

This is one of the questions given to us an assignment and I've tried to search for this on the internet but didn't get the required answers. Would be great if examples are provided too :)
4
votes
2answers
195 views

Why use typedefs for structs?

in C (ANSI, C99, etc.), structs live in their own namespace. A struct for a linked list might look something like this: struct my_buffer_type { struct my_buffer_type * next; struct ...
-1
votes
0answers
102 views

'delete' operator in dynamic memory allocation [closed]

In c++, I know that when a memory space is deallocated with a 'delete' operator and then one try to fetch what the pointer points to after the deletion, it always gives an unpredictable output. ...
7
votes
9answers
1k views

Why do we need “callback functions”?

I am reading the book programming in Lua. It said that Closures provide a valuable tool in many contexts. As we have seen, they are useful as arguments to higher-order functions such as sort. ...
4
votes
2answers
249 views

How is Nothing a subtype of every other type in Scala

I am taking Martin Odersky's coursera course on functional programming with scala, and for now I have learned two things that together don't make sense: Scala doesn't support multiple inheritance ...
3
votes
2answers
398 views

Why is C so high in TIOBE index of popularity, while C++ is just under here too, but not as popular? [closed]

I can't get my head around this. If C is so much used, but C is not C++, can someone explain to me the most important reasons that makes C more used than C++ ? Where is all this C code written for ? ...
-4
votes
0answers
149 views

Googles Doodles: What language? [closed]

So todays google doodle is Earth Day. And just out of curiosity's sake...what language is it written in? Im sure the days may be different ones, but that being said how would I go to find out?
43
votes
7answers
2k views

Why are semicolons and commas interchanged in for loops?

In many languages (a wide list, from C to JavaScript): commas , separate arguments (e.g. func(a, b, c)), while semicolons ; separate sequential instructions (e.g. instruction1; instruction2; ...
0
votes
1answer
152 views

Programming in Spare time [closed]

I work as an Oracle DBA, and looking for ways to earn a few extra bucks by programming or app development in spare time after work. I am quite familiar with C# .NET, python, sql and am also linux ...
1
vote
1answer
131 views

How would I programmatically verify gift cards on a website?

I'm trying to include a feature on my website that verifies retail gift card balances on cards previously registered at the retailer's website by the card holder. Can this simply be done by writing an ...

1 2 3 4 5 68
15 30 50 per page