So, the question is simple...
in 'C' we have calling conventions in FUNCTIONS. Why? why we cann't(don't) build compilers,libraries to make our own calling conventions like...
func()(lr);-for left to right calling convention.
func()(rl);-for right to left calling convention. :eek:

Recommended Answers

All 2 Replies

We can change the calling conventions by prefixing decleration with

__cdecl,__stdcall-for right to left

pascal-for left to right

different calling conentions are needed for mixed languge programs -- mixing C, Pascal, Basic etc in one program.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.