V
you can take a look on my server https://github.com/luckyycode/neko-webframework
I don't know what is it and why, but it looks not bad, +star
Dima
it works after all, thanks
Sagar
hello😊everyone
Dima
welcome
Anonymous
Heya
many
It is going to be 2020 and everyone knows python
Dima
superpython power unleashed
V
it works after all, thanks
Btw about projects and repositories on github. Suppose I have several mini-projects, I wrote them a long time ago and them has a lot of trash than code. Maybe it's interesting simple projects, but do I have to it? Some companies wish to see github and pet-projects, and I, of course, can give them specific projects, but someone will interest in my mini-trash-projects?
Dima
I don’t know, since I started writing code I always see random code snippets on github which can be interesting to me
V
I don’t know, since I started writing code I always see random code snippets on github which can be interesting to me
Since I started writing code I was pulling all my code to github. Now there is code on github and I guess that I must delete it or not
Dima
nah just leave it
Dima
let me see it ( ͡° ͜ʖ ͡°)
V
let me see it ( ͡° ͜ʖ ͡°)
Do you really want to see it?
Dima
I am just curious
V
I'm just shy, I'll send you
Shivam
Lulz
many
I'm just shy, I'll send you
Would you like to share it with me too?
Paramesh
Cognizant interview questions💭❓
Dima
you wanna ban?
DALO
Hi, I'm new to this group. I have a problem. I want to use a 'do-while' loop to repeat actions based on the condition. The problem is that the condition is to check if I entered an incorrect character in the loop. I put the word in an array of char and then to check each letter for each position I would put too much. how can I do?
DALO
many
Indentation is important
MᏫᎻᎯᎷᎷᎬᎠ
cout must end with a semi-colon
MᏫᎻᎯᎷᎷᎬᎠ
And so is do while()
MᏫᎻᎯᎷᎷᎬᎠ
do { . . . } while(condition);//don't forget the semicolon
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
cout must end with a semi-colon
Don't forget the closing quotation It's not a single "
Anonymous
Hello
Anonymous
Help me
Dima
hello, if you’ll post a photo of your display you’ll get rekt
Anonymous
Write a function that is received as a parameter a number, checks it and prints all its dividers.
Anonymous
In c++
Anonymous
no one gonna do your homework
Anonymous
Ok thanks anyway
Anonymous
?
Anonymous
but here you go #include <iostream> using namespace std; void print_hehe(int number) { for (int x = 1; x < number; x++) { if (number % x == 0) { cout << x << endl; } } } int main() { print_hehe(15); return 0; }
MᏫᎻᎯᎷᎷᎬᎠ
Anonymous
> using namespace std;
whats wrong with that
Anonymous
> std::cout << x << std::endl;
MᏫᎻᎯᎷᎷᎬᎠ
Can somebody tell me why I shouldn't use using namespace std
MᏫᎻᎯᎷᎷᎬᎠ
Yeah I'm new
Dima
Imagine if std and some other namespace contain the same function name
Dima
and all std insides will be always visible in every scope
Victor
FAQ 😂
Victor
RTFM 😂😂
Anonymous
haha
Anonymous
haha
Dima
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
The compiler will complain about naming ambiguity Right @Neko_cpp ?
Dima
depends on compiler options
MᏫᎻᎯᎷᎷᎬᎠ
How
MᏫᎻᎯᎷᎷᎬᎠ
And what options
@MTRIX0
😐
Dima
How can I write the for with do while
try to think a bit, you can do it
Anonymous
Do{ Int x=1; } while(x<number); x++;
Anonymous
And this?
Dima
put x++ inside of do { } while
Victor
It is "do", not "Do". Keep lower-case. 🙄
Dima
and move int x = 1; before do {
Victor
and it is "int" rather than "Int" 🙄
Anonymous
woah
Mihail
So do: std::cout << x << '\n';
Anonymous
cool, thanks!
Anonymous
Need help fellas running into a brick wall here
Anonymous
The code compiles but wont execute
Anonymous
Language is C
Anonymous
So this is the challenge
Anonymous
This
Anonymous
#include <unistd.h> int ft_putchar(char c){ write(1, &c, 1); return(0); } void ft_print_comb(void) { char first; char second; char third; first = '0' - 1; while (++first <= '9') { second = first; while (++second <= '9') { third = second + 1; while (third <= '9') { ft_putchar(first); ft_putchar(second); ft_putchar(third); if (first != '7' || second != '8' || third != '9') { ft_putchar(','); ft_putchar(' '); } third++; } } } } int main() { void ft_print_comb(void); return (0); }