SIDRA
Hey guyyys
SIDRA
I am a beginner in programming so can you help me
SIDRA
I want C and C++ notes to complete my notes
SIDRA
I have a doubt in program that we have to print simple calculator where we calculate that program I can't execute
SIDRA
Can any tell me about this program
SIDRA
Yaah many errors are getting but i can't find error
klimi
Yaah many errors are getting but i can't find error
#paste put errors here, i'll look
Rose
Yaah many errors are getting but i can't find error
To share code or error tracebacks, use an online pasting service like: - https://hastebin.com - https://pastebin.com - https://dpaste.org - https://wandbox.org - https://godbolt.org
SIDRA
Can i paste it in evening....
Arun
klimi
Sir Can you help in Networking
Probably, But I don't think this is the right place to ask, since this is for c/c++ discussion. We can talk in the offtopic chat
Rishu
Hey
harmony5 🇺🇳 ⌤
can we use tcp over http?
Http is already over tcp
Ed
/start@MissRose_bot
Rose
/start@MissRose_bot
Heya :) PM me if you have any questions on how to use me!
Aditya
/get projects
Rose
/get projects
Please check the Resources section for links on Open Source Projects in C/C++ some of which are explained from scratch.
Просто
Hello, everyone
Просто
l need some help,who can do it?
Rose
l need some help,who can do it?
Don't ask meta questions. In other words, don't ask to ask. Questions like "Does anyone know XYZ?", "Has anyone used XYZ?" or "Can someone help me?" are all considered meta questions because they don't specify what your actual problem is. These questions give the impression that you want people to approach you and offer their help as if they don't have any other work to do. Now doesn't that expectation make you look like an idiot? If you have a question ask it directly. You are more likely to get a response that way.
Rose
Welcome Spy! Please read the pinned message 🙂 Click the button below to unmute yourself.
Saqlain
/get
Rose
/get
Not enough arguments!
Kadarallah
Hello can someone tell me how I can make a simple calculation while using a point for example with linear equation
Rose
Reported fernando [6565522712] to admins.​​​​​​​​​​
Never Spam Bot
𝔸𝕄𝔸ℝ𝔼ℕ𝔻𝔸ℝ sent multiple messages that looks like a spam. To stop the bot from deleting your messages, write something non-suspicious. Or find out why here. Spam deleted in this group: 1830 See spam? Quote the spam message in the group and reply with /spam
Kumar
Hi everyone, I'm trying to create an realtime data feed app using c++ ,I'm newbie can some body tell me where to start.
Rohit Kushwaha
I'm looking for a college student interested in working with me on some freelance projects. This is a great opportunity to enhance your portfolio and gain real-world experience. If you're interested, please let me know!
Rohit Kushwaha
Yup , why not
DM me please with your updated resume
Adam🌱SEED
Can some one teach me python programming
Adam🌱SEED
I have python PDFs
Can you help me with it
king
What are the technology used to become and indie game developer I want to make a simple minor project of bca final year give some ideas or suggestions please
__Suraj__
What are the technology used to become and indie game developer I want to make a simple minor project of bca final year give some ideas or suggestions please
Dude, there are a wide variety of areas involved in the development of the game, Which one do you want to go to?
king
Unity developer
king
.
king
By designing it in unity and working on c# programming
king
?
.
__Suraj__
By designing it in unity and working on c# programming
you can become a unity game programmer,
king
Ok
Hitender
Hey broo Does Any body have c programming language book
Zeenat
Does any one have notes for html css js
Programmer
I am creating a weather forecasting app in c .. I want to it be multithreaded... so if I used posix library to create threads do I need to know whether the threads created by library by user threads or kernel threads?
(null)
I am creating a weather forecasting app in c .. I want to it be multithreaded... so if I used posix library to create threads do I need to know whether the threads created by library by user threads or kernel threads?
I'm assuming you're running your code on Linux; in that case the answer would be both. Linux uses one-to-one model when it comes to userspace threads. You'll have a kthread per each user thread, and it all happens when pthread_create calls the clone syscall for you. However it's not that critical to know this when you're designing a weather forecasting app. 🤷‍♂ Just use pthread and you should be fine. (It's not a green thread, if that's what you're worrying about)
珺璟
/start@MissRose_bot
Rose
/start@MissRose_bot
Heya :) PM me if you have any questions on how to use me!
__Suraj__
What is the exact or official release date of CPP, Many websites have different release dates, that's 1981, 1983, and 1985.
(-__-)
Is there a difference between the two below lines in C++ test("ABC", "NBC"); test(string("ABC"), string("NBC"));
Ziky
Is there a difference between the two below lines in C++ test("ABC", "NBC"); test(string("ABC"), string("NBC"));
mhmm there may be a catch. if test is not overloaded for type const char * (which is type of "ABC") will compiler do implicit coversion of const char* to std::string ? if so the there is no difference
(null)
mhmm there may be a catch. if test is not overloaded for type const char * (which is type of "ABC") will compiler do implicit coversion of const char* to std::string ? if so the there is no difference
There is a difference. for the test("ABC", "NBC"), your string is either in rodata or text section which means it lives in your binary file (ELF or PE). I'll send a pic below to show what I mean by that. That's why they're immutable. For the test(std::string("ABC"), std::string("NBC")); your string is on heap (and your code section... but this is just a must for string literals... so it doesn't matter). Therefore, it lives in a different memory region. Note: Implicit conversion won't happen if you pass a std::string instead of a const char*... you need to use the data() or c_str() method to return a pointer to your string.
(null)
uh I can't send images. nice. nevermind.
(null)
Agree but for test(std::string, std::string); implicit conversion happens right?
https://godbolt.org/z/bx6shjeff check the assembly code. mov QWORD PTR [rsp], rax mov DWORD PTR [rsp+16], 1145258561 mov QWORD PTR [rsp+8], 4 => 1145258561 = 0x44434241 (little endian machine = "ABCD") In other words, it is in code section AND heap. It should be the same as test(std::string("ABCD")). So yeah. it really depends on the test definition.
(null)
I added another call of test with explicit conversion and it looks the same (to me 😁) https://godbolt.org/z/GrE9f83rv (I have bad feeling we killed poor osm)
Yeah they look the same. It makes sense actually. The only thing that osmㅤㅤㅤㅤㅤㅤ needs to keep in mind is that string literals (no matter how or where you're passing them) will be in your code section first, then your constructor (here std::string) will decide to do whatever it wants to do with it. Make the string literal larger, and you will see that it only adds a label for it and puts it there for you. Still it's in your code section.
Kumar
Dileep Chauhan is a spamming C++ freshers , expertforcoders username
Kumar
Admin please take action if u not part of.
klimi
Admin please take action if u not part of.
where? I don't see it
Ludovic 'Archivist'
Dileep Chauhan is a spamming C++ freshers , expertforcoders username
Please forward the messages and screenshots of the offense to one of the admins, for example Klimi or I
Kumar
Did to Klimi
VISHH
Ples fill this
Hema Hariharan
Guys
Hema Hariharan
Any Indians?
Hema Hariharan
I want a feedback or your suggestion regarding online MBA Is it worth Is it valid Or online MS CS