Skip to main content
Code Review

Return to Question

Commonmark migration
Source Link

$ echo "(+ 5 5)" | ./a.out

10.000000

$ echo "(+ (- 3 2) (* 9 2))" | ./a.out

19.000000

$ echo "(/ 24 6 2)" | ./a.out

2.000000

$ echo "(/ 24 (/ 6 2))" | ./a.out

8.000000

$ echo "(+ 5 5)" | ./a.out

10.000000

$ echo "(+ (- 3 2) (* 9 2))" | ./a.out

19.000000

$ echo "(/ 24 6 2)" | ./a.out

2.000000

$ echo "(/ 24 (/ 6 2))" | ./a.out

8.000000

$ echo "(+ 5 5)" | ./a.out

10.000000

$ echo "(+ (- 3 2) (* 9 2))" | ./a.out

19.000000

$ echo "(/ 24 6 2)" | ./a.out

2.000000

$ echo "(/ 24 (/ 6 2))" | ./a.out

8.000000

edited tags
Link
Pimgd
  • 22.5k
  • 5
  • 68
  • 144
deleted 3 characters in body; edited tags
Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238

I am notably unsure about my use of function pointers. It's literally the first time II've ever useused them (although it was pretty trivial).

Of course, any general remark about my coding style would be highly apreciatedappreciated.

I am notably unsure about my use of function pointers. It's literally the first time I ever use them (although it was pretty trivial).

Of course, any general remark about my coding style would be highly apreciated.

I am notably unsure about my use of function pointers. It's literally the first time I've ever used them (although it was pretty trivial).

Of course, any general remark about my coding style would be highly appreciated.

edited tags
Link
200_success
  • 145.6k
  • 22
  • 190
  • 479
Loading
Source Link
rahmu
  • 526
  • 2
  • 4
  • 18
Loading
lang-c

AltStyle によって変換されたページ (->オリジナル) /