Rahil
Any project ideas for students
klimi
Jojo
what field?
There are even fields😱😱😱
Restarting c and I have like 3 books that am following through, last I checked with them one got topics that not only scared my mind but my brains too....just how advanced are pointers, unions, structures.... I mean there is even structured pointers?
Waaallahi I feel like I need a coach or something...blue mountain state style
Jojo
Why does it feel as though c doesn't have as many online jobs as compared to other languages
Also I tried roadmap and aaah they didn't have C just the plus plus kindaa felt switched off
klimi
FriedRice
You don't need to learn C to learn C++, C++ is closer to Rust/Python than C.
Jojo
Like networking, games. Visualization. Data, tools...
Ooooh yeeeah....this inspired me to check it out...like system programing say kernels and drivers... I kinda feel I would want to major in system programming and embedded and firmware like the tv controllers and all that, hoping cis the way to go
klimi
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: 2708
Rose
User keke has 1/2 warnings; be careful!
Reason:
nohello.com
Rahil
Small projects to impress college lecturers in any field
Mazen
Guys does someone know what app for windows that I can program on it?
harmony5 🇺🇳 ⌤
Notepad
TELLCOMP
Nikita
Never Spam Bot
X100 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: 2712
Rose
Welcome Titilayo!
Please read the pinned message 🙂
Click the button below to unmute yourself.
touhou
ZoRo
T
xi
Paul
can you help me with the project members
klimi
Rose
can you help me with the project members
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.
Mazen
Can you help me in c++ variables?
Mazen
What are they
Simple Sorcerer
And each variable has a type. The type tells what value the variable can have. If it is int then it is a number. If it is char then it stores a character. But in essence all these are just numbers.
Simple Sorcerer
To start with, you don't need to worry about numbers. You can just use int and continue learning
Simple Sorcerer
I think a little later you will understand how to work with them
Never Spam Bot
Nikhil 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: 2719
Michael
Hi please introduction
Michael
What is programming
Michael
What quatemm computing
Rain Bow
Hi im using esp32 with expansion board. I use lead acid battery as a supply and buck converter to step down voltave. but why my Blynk still offline. How to system online in Blynk. Thank you
Suka
Rain Bow
9
ldoladoaldal.kda
9
why my messages keep on deleting ?
Never Spam Bot
9 is now approved by the group admin and can send messages without any restrictions
i faced a problem with scanf
if the input was 7.8 B 24
(i.e., x = 24, y = 7.8, and ch = 'B')
which of the following is correct and why ? i am deeply confused, because i thought it didn't matter scanf("%1f%c%d", &y, &ch, &x);
scanf("%1f%c %d", &y, &ch, &x);
scanf("%1f %c%d", &y, &ch, &x);
See spam? Quote the spam message in the group and reply with /spam
9
can i rewrite the message ? i really need help
9
i faced a problem with scanf
if the input was 7.8 B 24
(i.e., x = 24, y = 7.8, and ch = 'B')
which of the following is correct and why ? i am deeply confused, because i thought it didn't matter
scanf("%1f%c%d", &y, &ch, &x);
scanf("%1f%c %d", &y, &ch, &x);
scanf("%1f %c%d", &y, &ch, &x);
Oxygen
Why is it that when I watch a YouTube video about c while noting down then when it comes for me to do myself I can't
harmony5 🇺🇳 ⌤
Pavel
i faced a problem with scanf
if the input was 7.8 B 24
(i.e., x = 24, y = 7.8, and ch = 'B')
which of the following is correct and why ? i am deeply confused, because i thought it didn't matter
scanf("%1f%c%d", &y, &ch, &x);
scanf("%1f%c %d", &y, &ch, &x);
scanf("%1f %c%d", &y, &ch, &x);
I don't know much about scanf, but the tricky part should be the %c part, because space is also a character, it could try to read space into the ch variable, and then would try to read "B" into the x variable.
Intuitively I would guess that the third variant should work.
consteval
consteval
consider reading a book instead
Arden
Jens Gustedt
Arden
book name is modern c
Suka
i faced a problem with scanf
if the input was 7.8 B 24
(i.e., x = 24, y = 7.8, and ch = 'B')
which of the following is correct and why ? i am deeply confused, because i thought it didn't matter
scanf("%1f%c%d", &y, &ch, &x);
scanf("%1f%c %d", &y, &ch, &x);
scanf("%1f %c%d", &y, &ch, &x);
you need to put spaces in your scanf formatting, if your input have space.
another approach you can read whole line and tokenizer it latter.
try getline library i found it very useful for capturing user input.
Suka
Mazen
BLESSED
hello, can you recommend some header-only mock libraries (with MIT license or similar)? I'm using boost utf but unfortunately it doesn't have mock library, so I need to look for another solution
there is an option to use gtest/gmock, but it seems weird to take gtest lib only for gmock
maybe there are people with similar experience
Gift
I know c programming basics what to do nxt
harmony5 🇺🇳 ⌤
Profit
FriedRice
Do you need mocking for C++? I think just unit test is enough, I have only used gtest doctest and Asan for unit testing.
FriedRice
I believe some language like Python would need mocking, but i don't think you will need it for C++ is such a low level language😳
Pavel
Never Spam Bot
Mazen Ahmed 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: 2735
Rose
User Mazen has 1/2 warnings; be careful!
Reason:
nohello.com
Rose
User Ren has 1/2 warnings; be careful!
Reason:
nohello.com
Rose
User lila has 1/2 warnings; be careful!
Reason:
nohello.com
lila
Imagine getting a warning for merely greeting smh ☠️
mito
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.
lila
Rose
User Daniele has 1/2 warnings; be careful!
Reason:
ad/spam
Salva
does anyone have a PPT on C programming that they could share?
Salva
SHEIKH HAFIJUL ALI
No one???
Google it or better ask LLMs
klimi
S
anyone who know about the setting of vscode
harmony5 🇺🇳 ⌤
Rose
anyone who know about the setting of vscode
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.
Chaudhary
How we check memory for array is allocated in heap or stack ?
Chaudhary
Types of Arrays
• Fixed Size Arrays
■ Stack Allocation
■ Heap Allocation
• Dynamic Size Arrays
■ Vector in C++
■ ArrayList in Java
■ List in Python
Vlad