By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!std::cout << "Hello, Master Yoda";Hello Coders!
Let's do something fun! This is supposed to be a fun way for us as a community to engage and learn from each other.
Okay, here's how it goes. You can decide what language you want to use, and all you have to say is "Hello, (person above)!" in the language that you picked ([UWSL][UWSL][UWSL]Using the BBCode function)[/UWSL][/UWSL][/UWSL].
So here's an example
C++:std::cout << "Hello, Master Yoda";
rails new hello_world_app
cd hello_world_app
rails generate controller Home index<br>
config/routes.rb
file and set the root route to the index
action of the Home
controller:rails generate controller Home index<br>
app/controllers/home_controller.rb
file and ensure the index
action looks like this:class HomeController < ApplicationController
def index
render plain: 'Hello, aditya63941 (The guy above me)!'
end
end
rails server<br>
http://localhost:3000.
You should see “Hello, aditya63941” displayed on the page.Code Forum is a community platform where coding enthusiasts can connect with other developers, engage in discussions, ask for help, and share their knowledge with a supportive community. It's a perfect place to improve your coding skills and to find a community of like-minded individuals who share your passion for coding.
We use essential cookies to make this site work, and optional cookies to enhance your experience.