Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@silverstar Yes, I could use "bits/stdc++" header but my code doesn't require that lot of standard libraries which could also make my code slow.
-
olback107947yYour compiler doesn't complain if you include files that don't exist? gcc would certainly complain.
-
TheKatze1247yThe compiler doesn't complain because "string.h" has utilary functions for strings while "string" is the actual string include file.
I had to learn it the hard way too. 😅 -
TheKatze1247yOh, after some proper research I just found out that "string.h" is the old C-Include and "string" is the new C++ one. 🤔
-
Noob64607yWho needs C? Omg these DOS languages without GUI support!
Just press F12 in your Chrome and you can code in Java like:
name = prompt("Enter your name:")
alert("Hello" + name)
Easy code, no need for complicated IO hacks. Very efficient. No time wasted on slow compilations. Instead of "-Wall -ansi -pedantic" you can 'use strict'. Easy cross platform native code!
Just kidding. -
No offence but you seem like a person who mixes c and c++. iostream shouldn't require .h
Or maybe you're just using an old compiler
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
elgringo41Student - Teacher renaming .c to .exe make the program executable ? Teacher - Yes A group of people stand up...
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
An hour of finding an error didn't get any.
Cousin asked, "Why does iostream and conio have a ".h" but STRING DOESN'T?"
FFFFFFFFFFFFFFFFFFFFFFF
rant
c++
c
headers