Message from C, C++ discussions

December 2019

— Someone know how to assign variable to shell command in c language
something like:
command = system("ls");
printf("%s\n", commamd);

Message permanent page


I don't have much experience with that stuff. But have you considered trying to redirect it to a stdout pointing to bash? Just an idea

— I am intimidated by Javascript and it new framework everyday, lol

— /Rose

— Heya :) PM me if you have any questions on how to use me!

— Wasn't that const int?

— Write a program that allows a user to input 2 integers and using a function named MAX find the largest of 2 integers

Message permanent page

— Yes sar!

— Done

— Done.

— ??

— Ive finished writing the program