Learn to Code via Tutorials on Repl.it!

← Back to all posts
How to name a file CON in WINDOWS
h
HahaYes (1861)

If you haven't already checked Tom Scott's youtube channel about why you can't name a file CON in window, go check it out.

How to name a file CON in Windows.
Make a new folder
Rename it
use ALT code
ALT + 255
Then write CON

Remember Upvoting is...... (I'm not bookie)

Comments
hotnewtop
CodeLongAndPros (1624)

Linux users are just laughing their heads off how.

CodeLongAndPros (1624)

@HahaYes I know, but reserved names...

HahaYes (1861)

@CodeLongAndPros btw C++ is better than C because of Classes

CodeLongAndPros (1624)

@HahaYes Let me demonstrate:

C

(int) a;

C++

std::dynamic_cast<Derived*>(a);
HahaYes (1861)

@CodeLongAndPros brb why do we start flame wars everytime we see each other... or is that what you just do?

CodeLongAndPros (1624)

@HahaYes I have some strong opinions concerning computing:

  • Linux
  • C
  • Vim
CodeLongAndPros (1624)

@HahaYes
NO.

APPLE STOLE FOSS IDEAS+BSD CODE AND LOCKED THEM IN THEIR OS!

HahaYes (1861)

@CodeLongAndPros but stealing is buisness..... I guess you haven't read Rich dad poor dad

CodeLongAndPros (1624)

@HahaYes

stealing is buisness

You can't steal what is free

HahaYes (1861)

@CodeLongAndPros actually stealing what's free is even better. You profit more

AmazingMech2418 (1085)

@CodeLongAndPros Yes, Linux is the best when it comes to operating systems (Windows is second, then everything else follows with iOS in last place in that section, then MacOS). (the only reason I use Windows as my main is because a lot of things still don't run on Linux fully...) Also, yes C is better than C++, but C++ is required for some things such as Arduino and boards that are programmed with Energia (pretty much a complete remake of Arduino for other boards). However, with Vim, I must disagree... Nano is better than Vim in my opinion...

HahaYes (1861)

@AmazingMech2418 Vim is my kinda thing because I like not using the mouse at all

AmazingMech2418 (1085)

@HahaYes You don't need the mouse for Nano either.

HahaYes (1861)

@AmazingMech2418 But Cybertruck > Vim > Nano

AmazingMech2418 (1085)

@HahaYes I don't think you can compare a truck with two text editors...

HahaYes (1861)

@AmazingMech2418 but SpaceX > Cybertruck > Vim > Nano

AmazingMech2418 (1085)

@HahaYes Well, you have two switched around: Vim and Nano...

AmazingMech2418 (1085)

@HahaYes Nano > Vim. Wait, how about we compromise? Nano == Vim (not === since they aren't the same)

HahaYes (1861)

@AmazingMech2418 I have always found interesting about how humans solve the question, "How do we make big things move" is always put a bunch of explosives and light it on fire

CodeLongAndPros (1624)

@HahaYes How do you search in Vim? /
Nano? C-w

HahaYes (1861)

@CodeLongAndPros THE NEEEEEEEEEEEEEEEEEEEEEEEEEEEEED FOR SPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEED

CodeLongAndPros (1624)

@HahaYes I don't like chords, I prefer melodies

HahaYes (1861)

@CodeLongAndPros INDEEEEEEEEEEEEEEEEEEEEEED

HahaYes (1861)

@CodeLongAndPros oh crap, have to do a 200 cycle special, will be right back.

CodeLongAndPros (1624)

@HahaYes Don't. Those are overrated. Do a project and at the end, say:

Whoops, this accidentally became a cycle special

HahaYes (1861)

@CodeLongAndPros oh huh, thanks for the tip

Highwayman (1482)

@CodeLongAndPros

@HahaYes Let me demonstrate:

C

(int) a;

C++

std::dynamic_cast<Derived*>(a);

Ridiculous. That’s like say “adding in calculus is harder than adding in algebra” and then proceeding to find the absolute hardest way to do it in calculus. Just because you can do the complicated version doesn’t mean you have to. You can still do a c cast in C++, it’s just that we have far more mechanisms for casting in much better, safer, more understandable, fancier, interesting, revealing ways than anything in C. Also neither can be better than the other. They’re basically the same f’ing language with like one thing extra. Pointless argument. ;)

Just thought I’d say.

CodeLongAndPros (1624)

@Highwayman I just find that C++ has different ways that are not as efficient as C. C headers for example. Since C has no standard library, there is no “magic header” to include all GLibC headers. You have to be explicit in what you want.

Plus, to do anything more than output, cout falls before printf, a function, I may add, that was designed for C.

CodeLongAndPros (1624)

@Highwayman To extend the Calc/Alg argument, you don’t have to even use Algebra. You can just compute it using paper. But Algebra is more powerful, and has some very simple rules. You can understand how Algebra works, with less effort than Calculus. Calculus has a place as well, but it sure seems that, for general math, Algebra is better.

CodeLongAndPros (1624)

@Highwayman And also, G++ rejected my C cast.

CodeLongAndPros (1624)

@HahaYes But they still have the same return value.
C==C++ returns true.

Highwayman (1482)

@CodeLongAndPros eh I’d argue that if you know how to use cout right you can get a bit of a boost also that still doesn’t make C better than C++. We are talking about the ability of each lang, yes? This is why one cannot compare C and C++. C++ can do everything C can do.

HahaYes (1861)

@CodeLongAndPros hmmmm algebra > calc but calc > algebra for flex

HahaYes (1861)

@Highwayman C++ is just as good as C but with constraints

Highwayman (1482)

@CodeLongAndPros heh yeah the algebra was a trap I climbed into quite too readily.
Hm. How do I say this. Ehhh. Oh no. Um. Will think of something in next comment lol.

Highwayman (1482)

@CodeLongAndPros hm... try

int(XXX); // i forget what you were casting lol.
CodeLongAndPros (1624)

@Highwayman You should compare C++ with C, not using a stdlib.

Highwayman (1482)

@CodeLongAndPros hum true enough I guess, but the stdlib bespeaks the power of each language, shows what it can achieve, so in that sense comparing the stdlib is quite appropriate I’d think..

CodeLongAndPros (1624)

@Highwayman But C, as made by K&R, has no stdlib.

Highwayman (1482)

@CodeLongAndPros K&R is no longer entirely what C is though, wouldn’t you say? Besides, I’m not talking about comparing the stdlib as a feature of the language, but as a demonstration of the Lang. It doesn’t matter whether or not it is a part of c then, simply that it is made in c.