Click here to Skip to main content
15,894,539 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: WANTED: Programmer looking for an algorithmic challenge Pin
ProtoBytes25-Jul-10 8:59
ProtoBytes25-Jul-10 8:59 
GeneralRe: WANTED: Programmer looking for an algorithmic challenge Pin
Xpnctoc25-Jul-10 10:45
Xpnctoc25-Jul-10 10:45 
AnswerRe: WANTED: Programmer looking for an algorithmic challenge [modified] Pin
Luc Pattyn25-Jul-10 12:12
sitebuilderLuc Pattyn25-Jul-10 12:12 
AnswerRe: WANTED: Programmer looking for an algorithmic challenge Pin
Member 419459325-Jul-10 12:52
Member 419459325-Jul-10 12:52 
QuestionGet the angle in radians of a shape made up with 2D points? Pin
venomation20-Jul-10 9:01
venomation20-Jul-10 9:01 
AnswerRe: Get the angle in radians of a shape made up with 2D points? Pin
Alan Balkany21-Jul-10 3:53
Alan Balkany21-Jul-10 3:53 
GeneralRe: Get the angle in radians of a shape made up with 2D points? Pin
venomation21-Jul-10 7:30
venomation21-Jul-10 7:30 
Questiondetect recursion during compilation Pin
invader8215-Jul-10 22:46
invader8215-Jul-10 22:46 
I have a program where a (indirect) recursive call to a certain function is forbidden.
It could easily introduce bugs that are hard to find.
(This function is the "core" of a finite state machine)

For now I throw an exception if someone still makes a recursive call to this function.
But if a certain condition never happens during debugging,
the recursive call might stay in the program.

It made me wonder if there is a feature in some compilers
(doesn't matter what language, any language. this is a very general question)
that detects recursion of a function and gives a warning/error
during compilation?
AnswerRe: detect recursion during compilation Pin
Alan Balkany16-Jul-10 4:04
Alan Balkany16-Jul-10 4:04 
AnswerRe: detect recursion during compilation Pin
Peter_in_278016-Jul-10 14:41
professionalPeter_in_278016-Jul-10 14:41 
AnswerRe: detect recursion during compilation Pin
T M Gray23-Jul-10 6:27
T M Gray23-Jul-10 6:27 
AnswerRe: detect recursion during compilation [OpenCL] Pin
ProtoBytes25-Jul-10 8:50
ProtoBytes25-Jul-10 8:50 
QuestionDistributing (different sized) objects Pin
Wjousts15-Jul-10 4:30
Wjousts15-Jul-10 4:30 
AnswerRe: Distributing (different sized) objects Pin
Alan Balkany16-Jul-10 4:01
Alan Balkany16-Jul-10 4:01 
GeneralRe: Distributing (different sized) objects Pin
Wjousts16-Jul-10 4:29
Wjousts16-Jul-10 4:29 
GeneralRe: Distributing (different sized) objects Pin
Alan Balkany16-Jul-10 4:37
Alan Balkany16-Jul-10 4:37 
GeneralRe: Distributing (different sized) objects Pin
Wjousts16-Jul-10 5:40
Wjousts16-Jul-10 5:40 
GeneralRe: Distributing (different sized) objects Pin
Alan Balkany16-Jul-10 5:50
Alan Balkany16-Jul-10 5:50 
GeneralRe: Distributing (different sized) objects Pin
Wjousts20-Jul-10 3:31
Wjousts20-Jul-10 3:31 
GeneralRe: Distributing (different sized) objects Pin
Wjousts20-Jul-10 7:56
Wjousts20-Jul-10 7:56 
GeneralRe: Distributing (different sized) objects Pin
Alan Balkany20-Jul-10 8:01
Alan Balkany20-Jul-10 8:01 
AnswerRe: Distributing (different sized) objects Pin
Luc Pattyn16-Jul-10 5:54
sitebuilderLuc Pattyn16-Jul-10 5:54 
GeneralRe: Distributing (different sized) objects Pin
Alan Balkany16-Jul-10 6:06
Alan Balkany16-Jul-10 6:06 
GeneralRe: Distributing (different sized) objects Pin
Wjousts20-Jul-10 3:30
Wjousts20-Jul-10 3:30 
GeneralRe: Distributing (different sized) objects Pin
Luc Pattyn20-Jul-10 8:11
sitebuilderLuc Pattyn20-Jul-10 8:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.