emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] evaluate cpp snippet in org babel with default includes and cust


From: Thierry Banel
Subject: Re: [O] evaluate cpp snippet in org babel with default includes and customized entry point
Date: Sat, 16 Sep 2017 11:11:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

You still need to explicitly call twoSum(), and that cannot be hidden.


On 16/09/2017 10:58, Amos Bird wrote:

Ok, i get the idea. So how can I customized the default code expansion so that it can directly evaluate this

class Solution {
public:
  vector<int> twoSum(vector<int>& nums, int target) {

  }
};



reply via email to

[Prev in Thread] Current Thread [Next in Thread]