Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome to Code Forum!
Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.
Hi,
I've just started to learn JavaScript, being a beginner. In order to qualify myself for the proper boot camp, I must do a kind of online course first and pass some challenges.
I've got a bit stack in a very simple situation.
My problem is:
Create a new variable called stringLength. Use...
Hi, i'm a newbie and my teacher gave me an exercis with strings and arrays where i had to lowercase, uppercase ecc a string.
Now i'm stuck with my code where i have to replace a random letter of the string with a random letter without using any library that simplify the problem.
That's the code...
int main() {
string happy = "24 1.99 42";
int loc = happy.find(" "), loc2 = happy.find(" ", loc + 1, loc + 5);
cout << "LOC 1: " << loc << endl;
cout << "LOC 2: " << loc2 << endl;
return 0;
}
So I am attempting to find the two locations of the spaces
My first value comes...
Hello, I have write a code for a binary tree in c.I use codeblocks because i need the one data of the structure of tree to be string i do that with static method ,now the point of this is because sometimes it execute the code perfectly and can keep executing for 1 hour without a problem after...
Hi,
What am i doing wrong that it does not give the answer"hello world". Instead i get error message: "e is not defined"
function greeting(k){
var ans=m+e;
m=hello;
e=world;
return ans;
}
var i=greeting(k);
print(i);