klimi
מנחם
Any recommender app for coding?
Prince Fine
Prince Fine
Actually i just wanted u to check my code if there's any problem
מנחם
מנחם
מנחם
CppDroid is good and free?
Pavel
Yes, When traveling by bus or waiting
I use "Coding C++" from Google Play in these situations, but it's too basic for anything more than 50 lines of code. I saw people suggest Termux as a more functional app
ɛ n h ᴀ n c ɛ ґ 🧟♂️
Anonymous
Hello
Prince Fine
For Android?
I only have an offline c++ compiler
Prince Fine
מנחם
Thanks
Nana
Hello guys
Nana
I need your assistance with this question
Nana
9. Most Frequent Character
Write a function that accepts either a pointer to a C-string, or a string object, as its
argument. The function should return the character that appears most frequently in the
string. Demonstrate the function in a complete program.
Anonymous
Nana
Whats the problem?
Can you help me write a function that returns the most frequent character in a string?
Anonymous
Anonymous
It's very simple and I would think u could since you have a cpp pfp
Nana
I know how to pass the c-string to function but I can't write the code that to determine the most frequent character
Anonymous
I know how to pass the c-string to function but I can't write the code that to determine the most frequent character
Anonymous
Nana
How do I count?
Anonymous
What do u mean? Each character that u iterate over, you count it.
You can make a map or an array which corresponds with the characters
Anonymous
And then just return the biggest one
Anonymous
The point you're making is undoubtedly valid, and I completely respect that. 👍
You wanted him to try to figure it out himself, and that's totally fine, who am I to say otherwise?
I wasn't necessarily talking about helping him out, I was talking about those going out of their way to both milk the guy and humiliate him along the way, I mean you're doing a service and you have all the rights to ask something in return, but really? If you're going to do what he wants, don't you think it's a low blow to charge someone who is supposedly in dire need and is basically not able to really figure it out himself either since he isn't an English speaker?
I'm in no way, shape or form right to judge others on this matter, I just wanted to help him get what he wants somewhere else since here was turning out ugly for him.
Karo
Hi guys! My name is Karo, im an IT Recruiter, and rn, we are looking for a Front End Developer for an International Full Remote Job. If anyone is interested in further more, DM me, have a nice day!
Karo
Here is the link, just in case anyone is curoius!
klimi
Nana
Anyone with free chegg account?
klimi
Nana
I need a chegg account login
Max
Describe procedures for working with typed pointers
Max
Who know anser on this question?
Nana
I want to check a solution to a question.
klimi
Nana
I don't have credit card to sign up
klimi
Well then... Get one if you want an account? I dont understand what you want from this group... We do not register accounts for others...
Nana
😊
Nana
klimi
Nana
help me with the code
Dinesh
Guys Anyone there hear C developer
klimi
klimi
Guys Anyone there hear C developer
well... it is very rare to hear C developers because they are mostly in their private place coding C and they are not doing that much noise so you would hear them... they might go to a lunch or to make a tea/coffe... you may hear them walking in such occurences
Nameful
klimi
see? ^ C developer making rare noises
Victor D.
I've heard one C developer hitting the desk several times
Nana
😂
Zuhal
Guys has anyone knowledge about extrusion machine PLC screen programming?
bright
Please can I get help in building school management system in C++
Arnold
that's the broadest question that I've ever seen here, @cash_bright
Lucas
Guys. Basically when I'm using typedef int, my program Works. But when I change It to typedef std::string it gives me trash numbers
Lucas
What could be the error?
Lucas
https://wtools.io/paste-code/b8e5
olli
Lucas
Lucas
It compiles I think. I just wanted to change it from a int singly linked list to a string singly linked list
Lucas
My guess was changing
typedef int TipoChave to typedef std::string TipoChave
all chave = -1 to chave = " "
and pass strings as parameters instead of integers in int main()
olli
It compiles I think. I just wanted to change it from a int singly linked list to a string singly linked list
Yes, this one compiles. The issue is the way you're trying to print the values. printf("%d ... expects a integral value to be passed but not a string. Hence it tries to interpret the std::string object as an integer which is not what you expect.
When using typedef std::string TipoChav; you should also change
void TipoItem::Imprime()
{
printf("%s ", chave.c_str());
}
and
printf("%s \n", alunos.Pesquisa("29").GetChave().c_str());
Alternatively you could use std::cout which has an overload for both int and std::string and hence prints the correct value either way.
e.g.
void TipoItem::Imprime()
{
std::cout << chave;
}
Lucas
Lucas
🙏
arfa
for c programming right, i have to do a memory game. what command do i need to use to flip the card and show the object and flip it back again
Anonymous
How to write a program to calculate the sum of any 10 numbers entered by the user.... Condn is u can use only conditional and for loop
Lucas
Yapp
pro player
Reversing a string by word ? Can anyone dry run and check my code please , I'm sending a pic
pro player
W8 im sending a copy of my code