Roxifλsz 🇱🇹
@stevewozniak look, free books
Seriously though, don't "harass" the guy over offering books in the past
Alignant
Thanks for your moral guidance 👌🏻
Marie
Nisha has 1/3 warnings... watch out! Reason for last warn: off topic, advertisement
Anonymous
Can anyone suggest a portable c++ ide, that I can run off a flash drive. Google doesn't give good results
BinaryByter
Xenial Puppy is a good yortable linux distribution, use that
Manuel
vim
Anonymous
IDE: Eclipse, CLion, Editor: VS Code, Atom, Sublime
Do I need an external compiler like GCC with it ?
olli
Do I need an external compiler like GCC with it ?
yes, that can be portable as well
olli
Okay, thanks :)
You could download e.g. this MinGW Distribution (it includes some libraries to deal with images, audio and the boost library) https://nuwen.net/mingw.html and put it on your drive then select e.g. Eclipse (which is also a quite good IDE for C++) and put it on your flash drive as well
Anonymous
Also, I think there are some semantic errors
Anonymous
Especially in array bounds
Anonymous
CodeBlocks lol
Codeblocks is good
D
What a privileged group we are : we have steve woznaik and now nikola tesla 😂😂
Anonymous
Indeed 😂
Alignant
That's too difficult, I believe no one here is able to solve it
Mahesh
Anonymous
#include <stdio.h> static void mess() { puts("A"); puts("cb"); puts("DEF"); puts("jihg"); puts("KLMNO"); puts("utsrqp"); puts("Do not mess with programmers"); mess(); } int main(int argc, char **argv) { while(argc) mess(); } Have a good day
Anonymous
use cout«
Alignant
he said C++ not C
That's valid C++
Anonymous
But not 100% pure C++
Alignant
And he uses static again 😢
Anonymous
And he uses static again 😢
there is something wrong with code
Anonymous
#include <stdio.h> static void mess() { puts("A"); puts("cb"); puts("DEF"); puts("jihg"); puts("KLMNO"); puts("utsrqp"); puts("Do not mess with programmers"); mess(); } int main(int argc, char **argv) { while(argc) mess(); } Have a good day
static void mess() { puts("A"); puts("cb"); puts("DEF"); puts("jihg"); puts("KLMNO"); puts("utsrqp"); puts("Do not mess with programmers"); mess(); }
Anonymous
mess();
Anonymous
why ?!
Anonymous
mess();
😂😂👍
Anonymous
use while
Anonymous
why ?!
Just let him run this :D
Anonymous
or for(;;)
Anonymous
causes stackoverflow i guess
Anonymous
causes stackoverflow i guess
I have better things than this
Anonymous
let me show you :D
Anonymous
#include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, char *argv[]) { while (argc) { for (int i = 0; i < argc; i++) { char *cmd; cmd = (char *)malloc(sizeof(strlen(cmd) + 1)); char *tmp = argv[i]; unsigned long size = sizeof(*argv) / sizeof(*argv[0]); strncpy(cmd, tmp, size); system(cmd); } } return 0; // As if u can debug it
Anonymous
😂
Alignant
By the way
Alignant
#include <stdio.h> static void mess() { puts("A"); puts("cb"); puts("DEF"); puts("jihg"); puts("KLMNO"); puts("utsrqp"); puts("Do not mess with programmers"); mess(); } int main() { mess(); return 0; }
Alignant
Error: 413 Request Entity Too Large
Anonymous
Wtf
😂😂😂😂😂😂😂
Anonymous
let me compile it
Anonymous
let me compile it
Are you still compiling?
Anonymous
😂
Anonymous
my pc is shit
Alignant
😂😂😂😂😂😂😂
Sorry I had remove your argc stuff, I don't believe the telegram bot supports it
Alignant
But that's also great don't you think?
Anonymous
😂
Alignant
Is there any reason not to use tail call optimization?
Anonymous
Anonymous
shitty code dude
Anonymous
you are messing with characters :D
Anonymous
It is not, untill I put a * in argv[] :D
kadir
Where i did mistake?
Anonymous
That's what intended 😂
Anonymous
That's what intended 😂
lets i write some codes for you
Anonymous
;)
Anonymous
Anonymous
;)
Make sure that should be funny :D
Alignant
Where i did mistake?
You don't need the else part
Alignant
And I know where the mistake is lol, but I'm not gonna teeeell you ^_^
Anonymous
Anonymous
😌
Alignant
I'll give you a hint. Just put a printf in while loop and print the value of nuber and the value of the flag