Dcoder is on Facebook. To connect with Dcoder, log in or create an account.
Dcoder is on Facebook. To connect with Dcoder, log in or create an account.

Dcoder

Public group
Public
Anyone can see who's in the group and what they post.
Visible
Anyone can find this group.
About
Ask all your doubts related to Dcoder mobile Coding IDE app, also participate in beta testing and new feature implementation.
Kent West, profile picture
For you Rust programmers out there, here's just an FYI.
In the code snippet below, the two println!() statements work identically. (But be aware that a field, such as a struct field, likeos_traits.name, won't work in the second statement.)
let os = "Debian";
let verb = "rocks!";
println!("{} {}", os, verb);
println!("{os} {verb}");
Like
Show More Reactions
Commenting has been turned off for this post.
Wiseman Brunolin, profile picture

If accessing our projects requires a subscription why do we still have to pay poins too? In addition to the project being limited to 300MB to 500MB for each project which is still a problem because that space is already occupied with modules, my subscription is still up to date but because I don't have poins things that shouldn't be there I haven't done my work for two weeks.๐Ÿ˜ก๐Ÿ˜ก๐Ÿ˜ก๐Ÿ˜ก๐Ÿ˜ก๐Ÿ˜ก๐Ÿ˜ก

Like
Show More Reactions
Commenting has been turned off for this post.
Anderson Santos, profile picture

Hi guys!!

How to solve this error:
PHP Warning: fopen(Sample): failed to open stream: No such file or directory in source_file.php on line 6
PHP Warning: fgets() expects parameter 1 to be resource, booleanโ€ฆ More given in source_file.php on line 8
PHP Warning: fclose() expects parameter 1 to be resource, boolean given in source_file.php on line 13Expected:
713.17

Output:

Thanks

No photo description available.
Prince Alcoy, profile picture
This is an empty post
When this happens, it's usually because the content that was originally in the post is no longer available.
Like
Show More Reactions
Commenting has been turned off for this post.
Shin, profile picture

hi dcoder dev team, your php environment is missing some important php extension like php7.4-curl, php7.4-xml (this will install ext xmlwriter etc used by phpunit, phpcodesniffer ...).

also you missed important php tools: composer (used to install packagist dependency)

Putra, profile picture
This content isn't available at the moment
When this happens, it's usually because the owner only shared it with a small group of people or changed who can see it, or it's been deleted.
Like
Show More Reactions
Commenting has been turned off for this post.
Mohammed Jaradat, profile picture

ู‡ุงุงุงู… ุฌุฏุง ๐Ÿ’ฅ๐Ÿ’ฅ
ู†ู‚ุฏู… ู„ูƒู… ูƒุงูุฉ ุงู„ุฏูˆุฑุงุช ุงู„ู…ุฏููˆุนุฉ ู…ุฌุงู†ุง...
ู„ู„ุญุตูˆู„ ุนู„ู‰ ุฑูˆุงุจุท ุงู„ูƒูˆุฑุณุงุช ูŠูˆู…ูŠุง ูŠูˆุฌุฏ ูƒูˆุฑุณุงุช ุฌุฏูŠุฏุฉ ูู‚ุท ู‚ู… ุจุชุนุจุฆุฉ ู‡ุฐุง ุงู„ููˆุฑู… ูˆุณูŠุตู„ูƒ ูƒู„ ุฌุฏูŠุฏโœ…โœ…
ุฑุงุจุท ุงู„ููˆุฑู… :

DOCS.GOOGLE.COM

ุฑูˆุงุจุท ูƒูˆุฑุณุงุช ู…ุฌุงู†ูŠุฉ ูŠูˆู…ูŠุง

ุงุฏุฎู„ ุจูŠุงู†ุงุชูƒ ููŠ ุงู„ุงุณูู„ ู„ุชุตู„ ุงู„ูŠูƒ ุฑูˆุงุจุท ุงู„ุฏูˆุฑุงุช ุงู„ู…ุฌุงู†ูŠุฉ ุงู„ุฌุฏูŠุฏุฉ ูŠูˆู…ูŠุง
Like
Show More Reactions
Commenting has been turned off for this post.
Fayaz Ahmed Khan, profile picture

Fayaz Ahmed Khan is looking for answers.

Hey
I wanted to ask a question about dcoder.
Why it needs internet connection for compilation while other IDEs do the same while being offline?

Like
Show More Reactions
Commenting has been turned off for this post.
Taha El Bouhali, profile picture

Hi
I'm new with you here, I've been using Dcoder for months but I'm experiencing some problems
For example, the code will be deleted automatically after four days, and the output will remain and I donโ€™t knowโ€ฆ More how to publish the output through WhatsApp or Facebook. Is it possible, for example, to convert the output code into a simple application or to a file, meaning it can be used without entering Dcoder?
Thank you very very much.

No photo description available.
Froe Aseuam Cuajotor, profile picture

Hello Dcoder Fam! I may not have posted in a long time because I was trying and mastering pieces of important Javascript to me.

Anyway, if you've been looking for a case-insensitive + global flag for the replace() method, then, ya can't slap two flags in a single replace(). You need a technique. So here is my solution:

<!DOCTYPE html>
<html>
<head>โ€ฆ More
<title>Global Case-Insensitive Technique for Javascript search() method</title>
</head>
<body>
<!--Let me know what you think abut this technique in the comments.-->
</body>
<script type="text/javascript">
var test = "Sample Text. Currently no Lorem Ipsum because 'twas common as dirt.";
var i;

for (i=1; i<(parseInt(test.length)+3); i++)
{test = test.replace(/m/i, "So");}
document.write(test);
</script>
</html>

Further Explanation:

At the "for" loop, we have set the string's length as its limit(convert it to int), as well add 2 or 3 just to play safe. The /i flag does not replace all matches, so that's why I used a loop. Play with the code for a bit, then let me know at the comments what you think.