klimi
Hi
nohello.com
Xing
I'm sure you must have preferences. No one here knows this better than you
no preference, the directions I know now are embedded system and opengl
Rose
/ban offtop
Another one bites the dust...! Banned Kyubtau. Reason: offtop
Dmitriy
Hey guys, what are you think bout blueprint for ue5? I just wanna create game through this stuff
Prashant
Hello everyone, Is there any good coding institute in Delhi or Noida region? If anyone knows, please tell me.
Surya
/start@MissRose_bot
Rose
/start@MissRose_bot
Heya :) PM me if you have any questions on how to use me!
Balaji
/start@MissRose_bot
Rose
/start@MissRose_bot
Heya :) PM me if you have any questions on how to use me!
Abel
/start@MissRose_bot
Rose
/start@MissRose_bot
Heya :) PM me if you have any questions on how to use me!
Rose
Admin klimi has removed eax's warning.
Rose
Purge complete.
Rose
Reported Jeevan T R [614781366] to admins.​​​​​​​​​​​
Rose
Purge complete.
Rose
Purge complete.
Tharshii
Ok
Rose
Hi Rose
Offtopic discussions should be done in the C/C++ Offtopic group. Please take your discussion/questions there.
Paul
/start@MissRose_bot
Rose
/start@MissRose_bot
Heya :) PM me if you have any questions on how to use me!
^^^
Hi everyone
Timi
hi
klimi
nohello.com
Timi
Ok
Gleb
I have a vector<double> fileData that contains a bunch of elements, and I need to send them using an arpa socket. I have server and client sides. The server should send every 13 elements of fileData to the client: I send my data in the following way: send(client_socket, fileData.data() + memoryShift, 104, 0); and recv on the client side: bytes_received = recv(sock, fileData.data(), 104, 0); when I send the first 13 elements it sends correct data, but the second time it send wrong data, what is an issue? what if I have a loop where I send every 13 elements of some vector to the client, how to do it correctly?
Ziky
are you sure it sends wrong data? you are receiving it on the same place in memory
CupCake
A question is asking me to print the spelling of a number which is taken as input if I am using arrays Is it a good approach
Shaikh
Pratice example of c programming
Ziky
I was wrong it sends correct data, thanks
BTW check what is the "endianity" and take alook on functions like htons() and ntohs()
AmR
any one know good Assemby channel ?
Aayush
Can someone give me c programming app mod apk
Danya🔥
How much trust into humanity one must have to install an APK from a stranger on internet...
𝔖𝔞𝔯𝔬
Can you make iOS apps in C?
klimi
Can you make iOS apps in C?
I think they have their own "object c"
harmony5 🇺🇳 ⌤
I think they have their own "object c"
They use swift nowadays, but yeah, there was objective c
Rose
Heya :) PM me if you have any questions on how to use me!
Ved Rohit
/start@MissRose_bot
Rose
/start@MissRose_bot
Heya :) PM me if you have any questions on how to use me!
AmR
any one know good Assemby channel ?
Rose
any one know good Assemby channel ?
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
Offtopic discussions should be done in the C/C++ Offtopic group. Please take your discussion/questions there.
Danya🔥
Lmfao
Dima
/blue_text_must_click
Dima
oh shit guys imma ban everyone who keeps on keeping on
Dima
last warning
...
oh shit guys imma ban everyone who keeps on keeping on
Dima is best admin(remove my warn) xD
Rose
User Oussama has 1/2 warnings; be careful! Reason: don't click every blue text you see 😐
...
How can I make transactions with video card using C++?
Dima
get a fucking life
/warn no swearing
Rose
get a fucking life
User exo has 1/2 warnings; be careful! Reason: no swearing
...
/blue_text_must_click
Remove my w arn
...
/warns
Rose
/warns
User .​.​.​ has 1/2 warnings. Reasons are: - don't click every blue text you see 😐
Rose
Remove my w arn
Offtopic discussions should be done in the C/C++ Offtopic group. Please take your discussion/questions there.
...
#ot
You banned me at ot group
Rose
User 464939 has 1/2 warnings; be careful! Reason: don't click every blue text you see 😐
Cello
Good evening
Anbarasi😊
Gm
一只
Hey
AmR
Any body work with usb device ? I need to ask about some info please to get my path clear ?
Rose
Any body work with usb device ? I need to ask about some info please to get my path clear ?
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.
Denuwan
A player rolls three dice. Each die has six faces. These faces contain 1, 2, 3, 4, 5, and 6 spots. After the dice have come to rest, the sum of the spots on the three upward faces is calculated. If the sum is greater than or equal to 13 on the first roll, the player wins. If the sum is less than or equal to 6 on the first roll, the player loses. If the sum is 7, 8, 9, 10, 11, or 12 on the first roll, then that sum becomes the player’s “point.” To win, you must continue rolling the dice until you “make your point.” The player loses by rolling a sum that is greater than or equal to 15 before making the point. Your program must contain a minimum of two functions other than the main.
Ziky
What is the required code for this?
You should do your homework by yourself
Chat Boss
You should do your homework by yourself
Read the pinned message regarding homework. https://t.me/programminginc/453966
Rose
Another one bites the dust...! Banned +1 (808)-724 3392.
Dima
Another one bites the dust...! Banned +1 (808)-724 3392.
nice pfps by the way, i like pierced nipples
Chat Boss
ㅤSohro sent a code, it has been re-uploaded as a file
klimi
'a' is int and it won't make a pointer to int. It will just cast the int to pointer and you get invalid cast
Sohro
Go through all the rules and the links mentioned in this post. Contravening the rules laid out here will result in a warning (least likely) or a ban (most likely). This group is meant only for C/C++ discussion. For chitchat of any other kind, go to the Offtopic chat, where anything unrelated to C/C++ programming can be discussed subject to the rules laid out for that group. For information on learning C/C++, see our list of resources at @Resources RULES: 1. Only English language is allowed. If you don't speak English, then this group is not for you. Please look elsewhere. 2. This group is meant to be used for C/C++ discussions alone. Assembly language discussions are allowed as well. The moderators' intention is to keep this group clean and to stick to the purpose the group was created for. Hence, questions or discussions about anything else is strictly forbidden. This further means that: • You should not send useless messages like "Hi"/"Hello", "I'm new here" and similar. • You should not send useless messages like "Does anyone know XYZ?", "Has anyone used XYZ?". Just ask your question directly. • You should not ask questions without checking your problem in Google or any other search engine. Doing so will result in a warning. Following this, check the Resources section of this group to see if your question has an answer there. • You should not ask exams/homework/interviews solutions. This will get you banned. Asking for something that is there in the pinned message right after joining will get you banned. 3. NSFW content (porn, nudity etc) is not allowed. 4. Religion, politics and ideological topics are forbidden. 5. A little bit of programming related jokes and memes are allowed subject to admin group's discretion. 6. Advertisements of any kind are forbidden. Job postings will not be allowed either. If you are unsure about whether something could be construed as an advertisement, please check with one of the admins before posting the message. Not doing so will result in a ban. 7. Code sharing is encouraged subject to the following rules: • Try to use markdown formatting. • For many lines (10+) of code, use a pasting service like Gist, Pastebin, Ubuntu Paste, Hastebin. Don't post walls of code in the chat window. Firstly, it inconveniences others and secondly, you are unlikely to get a response and may even get warned or banned. • Don't attach photos or videos of your screen. Screenshot captures are ok. 8. No illegal activity. This also means no piracy, no requesting/offering hacking/no posting of compiled executables. This will result in an immediate ban. 9. Respect people's privacy. Don't send private messages to people in this group without taking their permission to do so. Not following this rule will result in an immediate ban. 10. Avoid usernames that affects chat readability. The group bot Rose offers a lot of readymade responses that can be used when replying to someone. The most commonly used ones are: • #paste - Display a list of sites where code can be shared. • #markdown - Learn how to use markdown formatting. • #res - Post the link to the C/C++ resource collection. • #meta - Tell someone to get to the point! • #howtoask - Tell someone how they should ask a question. • #ot - Tell someone that their question is off-topic and hence must be moved to the OT group.
Sorry, I didn't know about the unwritten rules
Sohro
Sohro
'a' is int and it won't make a pointer to int. It will just cast the int to pointer and you get invalid cast
The issue seems to lie in implicit conversion, as you pointed out. I asked Gemini AI, and it says use explicit conversion, which I did. Now, the compiler isn't complaining about anything. It does seem like a logical solution. But what do you think about it? (Don't mind the crazy idea of having an array of multiple types) P. S. As to not confuse readers, I just gave up and used a string literal to solve the issue, i.e. L"a". My goal was to use as minimum resources as possible to get even a slightest performance gain. But it feels negligible in the end, or as of now.