Anonymous
Yeah, thats why I said C++ and C is painfull^^ seems like ms want the devs only use C# or other MS stuff
BinaryByter
No
BinaryByter
its just that nobody cares about your special needs as a C++ dev
Talula
Actually I use a totally different tool on Windows for programming...
BinaryByter
windoze is the last thing i'd ever want to use
MᏫᎻᎯᎷᎷᎬᎠ
but slow
Nearly everything in C++ is found in C# Except for speed
BinaryByter
BinaryByter
just make sure to put a C++ behind it
BinaryByter
btw: C# isn't as slow as I make it out to be
MᏫᎻᎯᎷᎷᎬᎠ
windoze is the last thing i'd ever want to use
What if there is job for you maxi in Microsoft? XD
BinaryByter
i'll gladly take it ¯\_(ツ)_/¯
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Only Windows
BinaryByter
But Using Windows
most ms devs don't use windows
MᏫᎻᎯᎷᎷᎬᎠ
BinaryByter
linux
BinaryByter
what else?
BinaryByter
or bsd
BinaryByter
or clinl
BinaryByter
once its out that is
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Yeeeaaaah
MᏫᎻᎯᎷᎷᎬᎠ
Clinl
MᏫᎻᎯᎷᎷᎬᎠ
Linux killer machine
BinaryByter
:D
BinaryByter
well okay
BinaryByter
you CAN get into bottomless pits
BinaryByter
but you usually don't
BinaryByter
just follow the C++ core guidelines
BinaryByter
What do you use ?
LINUX ❤️❤️❤️❤️❤️❤️❤️❤️
Dima
*nix-based os - the pure win
Dima
now imagine windows being ported on *nix
Dima
with winapi
BinaryByter
OH NO
Ohama |
Anonymous
Anonymous
Anonymous
Plzz give good Hacking book name
Anonymous
Plzz give good Hacking book name
The C Programming Language by Brian Kernighan and Dennis Ritchie
many
Other than using macro, what are the ways to make template like the C++ one?
Dima
Plzz give good Hacking book name
read the rules before asking
many
That's true
Ludovic 'Archivist'
Other than using macro, what are the ways to make template like the C++ one?
Making scripts that write C code in bash is a trick that have been used in that old days
klimi
ludo chan
many
Making scripts that write C code in bash is a trick that have been used in that old days
I see what you mean. Technically it should be the same after compilation
Ludovic 'Archivist'
I see what you mean. Technically it should be the same after compilation
The same except you don't have quirky macros but a dumb sed/replace thingy
Ludovic 'Archivist'
Also, tcl may be well suited for that kind of tasks
Anonymous
Anonymous
Hi
klimi
Hi
Mat
Hi
Dima
Hey
Navarro
Howdy
Anonymous
#include <iostream> #include <cmath> using namespace std; int main(){ int a; cin>>a; if(a % 2 == 0) { cout<<'fizz'; } return 0; }
Anonymous
Sorry not sure how to format this as a code piece. QUestion is, for input 2 why do I get output 1718188666?
klimi
Because
klimi
You wrote 'fizz' in single quotes
klimi
Which is for character
klimi
So it takes the ASCII value of f I z z And converts it into number
klimi
Then it displays it
klimi
If you want it to display text use double quotes
Anonymous
So in C++ single quotes and double quotes don't do the same thing?
Keijo
any idea how to fix this error. i understand it has something to do with linking. and also, im sry i am very new to c
Anonymous
😱
BinaryByter
' is for single charachters
Anonymous
Thank you クリミ and Maximilian.
BinaryByter
sure ❤️
Anonymous
I ask because if I do 'hello' or "hello" in JavaScript, it is the same thing.