Q&A for How to Run CUDA C or C++ on Jupyter (Google Colab)

Return to Full Article

Search
Add New Question
  • Question
    Why print ("\n") always print \n character not "enter"?
    Community Answer
    \n is the newline character which is simply a line break.
  • Question
    Does it work on Windows 10?
    The logo Maker
    Community Answer
    Yes, it will. Be sure to have all required components used in the article.
  • Question
    How to give command line argument at runtime?
    Marrium Sharif
    Community Answer
    The Java command-line argument is an argument i.e. passed at the time of running the Java program. The arguments passed from the console can be received in the Java program and it can be used as an input. So, it provides a convenient way to check the behavior of the program for the different values. You can pass N (1,2,3 and so on) numbers of arguments from the command prompt.
  • Question
    To run bash in Google Colab, can you also put ! before the command or do %%shell. Is there a version of that with C++?
    Jordan Vela
    Community Answer
    If you use the for loop, you should be able to get where you need to be.
Ask a Question

      Return to Full Article