harry
google it
harry
try to formulate a precise question
Anonymous
Similar to what it means in Biology. For eg : A derived class will have variables of the Base class
Anonymous
Hello everyone! My name is Group Butler, and I'm a bot made to help administrators in their hard work.
Roxifλsz 🇱🇹
/warn scam ads
Anonymous
Michael has been warned (1/3)
Roxifλsz 🇱🇹
/warn begging for likes
Anonymous
Catur Wira has been warned (1/3)
NinuX
Someone heard about MXE?
Anonymous
Someone know how pam modules works?
Anonymous
I want to add a new pam auth module
Sukesh
const char* msg1 = "hello how are you"; uint8_t msg2[] = "hai"; How to copy msg1 to msg2?
olli
const char* msg1 = "hello how are you"; uint8_t msg2[] = "hai"; How to copy msg1 to msg2?
You cannot copy the whole content since msg2 is of type uint8_t[4] and hence cannot hold the whole message. You should also keep in mind this copies from signed char to a different unsigned type. You can copy either using a for loop or the memcpy function. e.g. memcpy(msg2, msg1, min(sizeof(msg1), sizeof(msg2))); If you want to deal with the strings I would recommend using a signed destination and the use of strncpy function char msgBuffer[0x80U]; strncpy(msgBuffer, msg1, min(0x80U, strlen(msg1))); In both cases please keep the boundaries in mind to prevent out-of-bound memory reads or writes.
Sukesh
@ollirz Thanks for the answer. I got answer from this
Anonymous
/warn
Mr.
Mr.
Mr.
What i am missing here
Mr.
I want this output
Mr.
Anyone help plz
Mat
Do a proper indentation
Mr.
Do a proper indentation
Plz tell me in brief
Anonymous
Plz tell me in brief
Let me 🔎 Google that for you: 🔎 Indentation
Mr.
Let me 🔎 Google that for you: 🔎 Indentation
Sorry bro .. I m noob i will google thanx fr the help
Anonymous
Lol, no need to be sorry
Anonymous
I was just lazy so used the bot haha
İsmail
What i am missing here
print (“0 1 2 3 4 5 4 3 2 10 .... “) that’s the easiest way 😂😂
Anonymous
https://del.dog/ejoximutan.cpp there you go....
Anonymous
tell me if you dont understand anything, although i have added comments
Anonymous
and .. ignore endl .. use \n
Mr.
Screenshot (18-Feb-2018 10:52:24 PM)
Mr.
Screenshot (18-Feb-2018 10:52:24 PM)
Hamudi
/help@GroupButler_bot
İsmail
/help@GroupButler_bot
İsmail
/help@GroupButler_bot
İsmail
/help@GroupButler_bot
Mike
/help@GroupButler_bot
İsmail
what is this?
Anonymous
/help@GroupButler_bot
Anonymous
Dunno
Mike
Can somebody send big examples in c?
Mat
what is this?
Something you should not touch
Roxifλsz 🇱🇹
/help@GroupButler_bot
Stop with the command spam ffs
j@ke
how could one find a specific letter in a string? the letter having been inputted by a 'user'
Anonymous
For loop.
Anonymous
Or you use a bunch of goto's and labels...not
Mike
example for?
Examples in c programming.
Mat
Examples in c programming.
Like what? You have the entire github database to consult :)
ruki
https://github.com/tboox/xmake
ruki
Hi, all ...I written a cross-platform c/c++ build utility based on lua.
Dragoș
It looks like an invisible man joined
Anonymous
XD
🇨‌‌🇪‌‌🇳‌🇦
It looks like an invisible man joined
It looks like you can see the invisible
Dragoș
I am not an user
🇨‌‌🇪‌‌🇳‌🇦
I am not an user
Then what are you
Dragoș
harry
I'm having trouble connecting to my sql server database - anyone got a good example?
harry
gist.github.com/harry-/cc063ac0492560d1cb739a432c36fdf1
harry
somehow this isnt working for me
harry
>Attempting connection to SQL Server... >Could not connect to SQL Server
Anonymous
I would like to ask a question is everyone here a C Plus Plus programmer
Anonymous
Thanks man
j@ke
why doesn't this code capitalize the first occuring a in the string? if (userInput.find_first_of('a') != string::npos) { toupper(userInput['A']); cout « userInput« endl;
Roxifλsz 🇱🇹
why doesn't this code capitalize the first occuring a in the string? if (userInput.find_first_of('a') != string::npos) { toupper(userInput['A']); cout « userInput« endl;
This will (probably) work: int position = userInput.find_first_of('a'); if(position != string::npos) userInput[position] = 'A'; cout << userInput << endl;
j@ke
awesome, i'll check it you're the man!
j@ke
omg you're amazing!
Anonymous
lol
Anonymous
How to write a bot in c++
harry
what bot
Anonymous
what bot
In general
Mat
How to write a bot in c++
Open an editor/IDE and begin :)
Anonymous
Open an editor/IDE and begin :)
But i need the formula?
j@ke
any emacs fans in the house?