バレンタインがいない柴(食用不可)
/get
バレンタインがいない柴(食用不可)
/get cpp
バレンタインがいない柴(食用不可)
Meow
Anonymous
Hey
Anonymous
Hey
Anonymous
Hi
Anonymous
Hello
Anonymous
/get c++_isnt_c_with_classes
Anonymous
Hey
hii
many
Which big decimal library with negative number support do you guys recommend?
Suyash
Anonymous
Where do i start in basics
Anonymous
Where do i start in basics
/get cbook /get cppguide
Gnostic Trades |
Which way you prefer learning about new things? through video tutorials or Documentations?
munene
Can someone help me in writing a program to check if an input number is an armstrong number.
Suyash
Can someone help me in writing a program to check if an input number is an armstrong number.
#include<stdio.h>    int main()     {     int n,r,sum=0,temp;     printf("enter the number=");     scanf("%d",&n);     temp=n;     while(n>0)     {     r=n%10;     sum=sum+(r*r*r);     n=n/10;     }     if(temp==sum)     printf("armstrong  number ");     else     printf("not armstrong number");     return 0;   }   
Gnostic Trades |
/get cppbookguide
Anonymous
Int main () { char catsname[50]; char catsfood[50]; char sentence[50]; puts("what's the dumb name?"); gets(catsname); puts("what's does he eat?"); gets(catsfood); strcat(sentence, catsname); strcat(sentence, "love to eat"); strcat(sentence, catsfood); puts(sentence); return 0; } Is it possible to use single strcat function for above code? For example strcat(sentence, catsname, "loves to eat", catsfood);
-----
Hi I had a question, what is the use of C ++ language? What does it use for the graphical interface?
Bh@iR@m
Hiiii I am new to programming plz any one can help me???
Bh@iR@m
Plz dm me🙏🙏🙏🙏🙏
Anonymous
Int main () { char catsname[50]; char catsfood[50]; char sentence[50]; puts("what's the dumb name?"); gets(catsname); puts("what's does he eat?"); gets(catsfood); strcat(sentence, catsname); strcat(sentence, "love to eat"); strcat(sentence, catsfood); puts(sentence); return 0; } Is it possible to use single strcat function for above code? For example strcat(sentence, catsname, "loves to eat", catsfood);
I believe what you're trying to achieve is string interpolation is C right? If so, take a look at the following code snippet: #include <stdio.h> int main() { char buffer[1024]; char a[] = "Variable Value"; snprintf(buffer, sizeof(buffer), "String = %s", a); printf(buffer); return 0; } //Output: String = Variable Value
Anonymous
Hi I had a question, what is the use of C ++ language? What does it use for the graphical interface?
I'm not sure about what you mean by your second question. As for your first question, C is an old language and thus has a lot of caveats, especially when it comes to memory leaks and OOP. C++, as well as many other languages, was created intending to patch the gaps found in C.
Anonymous
Identify the output of the following code: 1 #!/bin/sh 2 user_function() { 3 echo "Welcome" 4 5} 6 printf "World of Linux\n" 7 unset -f user_function 8 user_function. 9 exit 0 What will the output :- World of Linux O Welcome O Both Welcome and World of Linux O User Function command not found
Anonymous
Identify the output of the following code: 1 #!/bin/sh 2 user_function() { 3 echo "Welcome" 4 5} 6 printf "World of Linux\n" 7 unset -f user_function 8 user_function. 9 exit 0 What will the output :- World of Linux O Welcome O Both Welcome and World of Linux O User Function command not found
- This code is impossible to compile due to the line numbers. - We can't tell where the code snippet starts, neither where it ends. - We don't know the expected output, the error displayed or what the code is expected to do, which renders your question impossible to answer. I suggest: 1 - Provide an explanation about what your code should do 2 - State the expected output and the output or error you got 3 - Send a minimal working example of your faulty code - Important: read group rules to avoid getting banned.
Hitesh
How to use JSON in cpp?
Hitesh
pls help
Anonymous
How to use JSON in cpp?
boost.json (lots of functionality), simdjson (lightning fast)
Anonymous
np
Ketan
https://api.whatsapp.com/send?phone=+917065970659&text=Hi Telegram api or bot like this?
Ketan
Can i message someone in telegram without saving her/his phone number in phonebook? Any telegram bot or link like whatsapp api
Ketan
tl.me/number...
This site can't be reached
Ketan
telegram.me *
Not getting brother
klimi
well that's unfortunate
klimi
https://telegram.me/+917287980148 like this.
Anonymous
lol people leaking their phone numbers to 14 thousand people
klimi
lol people leaking their phone numbers to 14 thousand people
maybe it's made up number... who knows :)
Suyash
Anyone know how to remove forked repository from GitHub without deleting original?
klimi
just delete the forked repo?
Anonymous
Anyone know how to remove forked repository from GitHub without deleting original?
why would removing the fork ever remove the original, that would be horrendous for security
Suyash
just delete the forked repo?
After doing this original one will be safe
klimi
After doing this original one will be safe
well... if you don't delete the original, the original will be intact
Ketan
Yes
Yeah tell me
klimi
Yeah tell me
https://core.telegram.org/api#getting-started
sree nandhan
I am learning about executable file formats in linux . After compiling a program using $ cc hello.c and the output file is a a.out executable file , but on disassembling it using $ objdump -D a.out and examining the output , the file format is mentioned as elf64-x86-64 . I don't understand what is exactly happening here , is a.out file just a name or is it actually in a.out format ? I used file --mime-type a.out The output is a.out: application/x-pie-executable I dont know what x-pie-executable is and I did not find info on the internet either , can you help me with that ? .
klimi
a.out is just filename and in linux world it doesn't mean anything
sree nandhan
a.out is just filename and in linux world it doesn't mean anything
Okay , is it like just keep up the tradition ?.
sree nandhan
a.out is the output file after compiling.
I do understand that , but why is a.out file in elf format ?
klimi
it's just the default name...
klimi
klimi
you can change it with tho -o parameter "cc main.c -o output"
sree nandhan
it's just the default name...
I just googled and found out that a.out was the default executable for in old unix like os ...so i guess tradition.
バレンタインがいない柴(食用不可)
Good morning !
バレンタインがいない柴(食用不可)
Suyash
Good morning !
Good evening ☕
Talula
Nope
Because it is saying that your mime type of file is an application/x-pie-executable X is normally used for extension, pie is normally used if you have Raspberry Pi built and executable means it can be executed as code file on CLI.