BinaryByter
BinaryByter
isn't it in the standard namespace?
its either std::size_t or its size_t issued from stdint
BinaryByter
std::size_t is a typedef to size_t
Ariana
wait no
Ariana
d==n
Ariana
think like this
Ariana
Whats the smallest number that fails d<n
Ariana
Its d==n
Sumedh Saptarshi
Yes sure
Sumedh Saptarshi
Thanks
Ara
please helpme. if imake the program matching the character in the char from the keyboard, if the array has been declared and how to count the many characters entered, I don't understand the algorithm
klimi
Rose is baack
BinaryByter
character array is always a c-string
BinaryByter
(not that you couldn't reinterpret_cast it ¯\_(ツ)_/¯)
Mihail
character array is always a c-string
Well a std::string is also technically a char array afaik
BinaryByter
its a wrapper around a char array
BinaryByter
it is not technically one
Mihail
Anyways
BinaryByter
It is not one
BinaryByter
there are more variables to it
Mihail
there are more variables to it
Yes but the string itself goes in a char array, no?
BinaryByter
yea
BinaryByter
but a std::string is so much more
Ariana
huh
Ariana
its valid
Ariana
just slow af
Mihail
No he hasn't
Ajeet
#include<stdio.h> main() {  int n, c = 2; printf("Enter a number to check if it is prime\n"); scanf("%d",&n);  for ( c = 2 ; c <= n - 1 ; c++ ) {   if ( n%c == 0 )   {  printf("%d isn't prime.\n", n);  break; }    }  if ( c == n ) printf("%d is prime.\n", n); return 0; }
Ajeet
means
Maxim Khromov
https://prnt.sc/ljoo0y
Ariana
1
Ariana
Next year 0
BinaryByter
1
taking the last bit of your binary age. clever, ariana, clever
Ariana
that's a mistake
it still works
Maxim Khromov
how can i check that's a number(not string)? bcs when i write a string, my program think, that a 0
Anonymous
1
Right now i'm freackn 0 and also 1
Ariana
taking the last bit of your binary age. clever, ariana, clever
if you torture your code until it prints out something, itll probably print the last bit?
Ariana
Then subtract 0x30 to get the value
Maxim Khromov
what does it mean? how can i write it?
Anonymous
I dont understand c,c++ i want too learn
Anonymous
Me 2
BinaryByter
what does it mean? how can i write it?
0x<something> is hexadecimal. google that
Ariana
ME11
Anonymous
BinaryByter
threnty is a badass word for 23
BinaryByter
and you know... i'm a gangster
BinaryByter
I drink coke
BinaryByter
I drag animal hair over animal guts that are suspended over a piece of wood
Ariana
wu
Anonymous
what are you saying i want to learn
Ariana
threnty is a badass word for 23
how does one even probounce
BinaryByter
Ariana
sorry its error messages
Anonymous
ME10
now what is this
Anonymous
wht ME100 mean?
BinaryByter
windows Millenium Edition patch 100
BinaryByter
you want to have a good grasp on that
Ariana
It’s like the position of main in memory subtracted by the normal position without aslr as the error msg
Ariana
its weird
BinaryByter
its what the hackers and programmers use
Anonymous
soooo?
BinaryByter
tf
"ME100"