Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we insert the codes from an external script? #45

Open
ambipomyan opened this issue Feb 14, 2018 · 2 comments
Open

Can we insert the codes from an external script? #45

ambipomyan opened this issue Feb 14, 2018 · 2 comments

Comments

@ambipomyan
Copy link

Hello,

I wonder if there are some commands, like %load for Python, to load an external file to the notebook with C language. Or are there some clues for the users to use IPython kernel in a C language notebook?

Thanks!

@ambipomyan
Copy link
Author

Add // %ldflag:[your_file_path] in the cell and it works~

But I still have a question that can the loaded code be shown and modified?

@spoorcc
Copy link

spoorcc commented Feb 23, 2018

The Ldflags only links compiled code (libraries), you can't show/modify the linked code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants