Prince Of Persia
Hey can I just some how use this with ndk for an Android app?
Like compiling it to .so file for Android
Shahriar
😊
..
Hey guys, I need help with fork() c programming . Please dm me🙏🏻
pavel
Admins, pin FAQ how to ask questions
Dima
/get howtoask
Joe
book?
Anonymous
hi guys who can help me with my code?
Prince Of Persia
hi guys who can help me with my code?
I guess someone will if you share your code
Kriss
Why we use std::vector <std::string> dna= {"ATG", "ACG"} instead of std::vector <string> dna= {"ATG", "ACG"}
Pavel
Why we use std::vector <std::string> dna= {"ATG", "ACG"} instead of std::vector <string> dna= {"ATG", "ACG"}
because the standard string is inside std namespace theoretically you can have other string types from other libraries in other namespaces
Anonymous
Why we use std::vector <std::string> dna= {"ATG", "ACG"} instead of std::vector <string> dna= {"ATG", "ACG"}
If you're doing using namespace std, you can omit the std:: from vector too, but that's not recommended.
Gilded
Is udacity good?
Dark
Hi friends
Gilded
Hi friends
You have 16k friends here :|
Dark
Can anyone share c++ and c# books for beginners ??
Dark
Ss ofcourse u can
Share me bro please
Prince Of Persia
Share me bro please
How can someone share a person?
Дон
How I can copy like this: char* string1 = new char[100](); const char* string2 = "Test"; for (int i = 0; i < 4; ++i) { string1[i] = string2[i]; } //I want copy from string1 to, lets say, _string delete[] string1; string1 = new char[200](); //string1 = _string return chars back
Pavel
Or you can use memcpy to copy contents of an array
Дон
Or you can use memcpy to copy contents of an array
Thank you:) Will google this keywords.
Дон
Or you can use memcpy to copy contents of an array
One of params has type const void*. It will works if I pass char*? Maybe it's implicit conversion
Prince Of Persia
+ C++ primer 5th edition - Stanley B.Lippman ,...
Strife
+ C++ primer 5th edition - Stanley B.Lippman ,...
کتاب خوبیه ولی زیادی کلفته😂
Prince Of Persia
کتاب خوبیه ولی زیادی کلفته😂
😂😂😂now you know what I feel
Strife
😂😂😂now you know what I feel
Of course, I think it is a complete source and by reading this book you can understand this language
Strife
But I feel that only the author has read this book completely
Anonymous
140 if (!(hook = SetWindowsHookEx(WH_KEYBOARD_LL, HookCallback, NULL, 0))) 141 { 142 MessageBox(NULL, "Error", "Error", MB_ICONERROR); 143 144 } 145 146 MSG message;
Anonymous
142 MessageBox(NULL, "Error", "Error", MB_ICONERROR); Argument of type "const char" is incompatible with parameter of type "LPCWSTR"
Anonymous
can anyone help?)
Strife
How did you learn C++? Or how are you learning it now? Do you think reading a book really helps? Why did you choose C Plus Plus? Are you disappointed while learning? I hope you answer these questions because it helps both beginners and I think it's a good discussion
Dhinesh
Guys i need to learn c,can any one send me free platform or ebooks to refer
Anonymous
Guys i need to learn c,can any one send me free platform or ebooks to refer
Just search "C for dummies" book on google, download it
Strife
Thanks
Anonymous
Wheather it's effective ??
Yess, all books are effective
Swara
Becoz that clears our concept
Anonymous
Please show me how to write it in code. I thought I figured out how to do it, but it didn't work😩
Anonymous
ok
Anonymous
Hi , guys i have a question from socket programming and shutdown function Can anybody answer me?
Anonymous
Post your question
I'm codding a program that i named it "control" It has very simple algorithm We have a server and a client , they connect to each other and we send a message to client from server , it's better to say a commend and it will run in client's cmd.exe Everything works good but i have a problem on socket system I thought adding shutdown function is desired but it doesn't work with out that function Finally i added it and it has some inputs such as (1 , 2. ,0) As far as i know 0 means the client will just receive data and not send anything I added shutdown function with input (1) in both client and server but i can send messages just from server to client and i need client to server too Can anybody help me?
Anonymous
Infact please explain me how to change a simple TCP socket to a chatroom with 2 members (client and server)
Anonymous
Who uses TCP socket anymore?
me , and what should i use instead ?
Anonymous
everyone
you are my love❤️
Anonymous
Use Websockets... https://github.com/zaphoyd/websocketpp
why should i use websocket for kind of this program ?????
Talula
why should i use websocket for kind of this program ?????
For normal TCP IP Sockets you can't through a NAT'ed connection like a router, it is very hard to use it on internet unless both IPs are static and open... And you're using the ports directly, with Websocket it is a simpler method to do the same thing, with most of the things like ping etc, taken care by the library.
Anonymous
remember you suggested me to learn R
Anonymous
??
in PV
Anonymous
R language
Talula
R language
I don't even know any language called "R", I know about RUST but I don't use it myself.
Talula
yeah i mean rust 😐
I don't even use RUST so I don't think I'll recommend someone using RUST when I haven't got a clue about it...
Aquatica
yeah i mean rust 😐
Yeah because there is a language called “R”
Aquatica
Rust and R Lang are two separate things
Tippy
yoe
Carl Joseph
Hello can someone help me with a C code?
Carl Joseph
The problem is mostly in google however, since we are still in basics, we are prohibited from using some complicated codes which are in google. So, starting with C, we are just allowed to use stdio.h only, single dimensional array, and getchar function
Talula
so check pv 😐
Yeah... I checked, sorry but what I said was using other modern languages like C++/C#/RUST is better than using C.
Prince Of Persia
/notes
Anonymous
what meaning of this compile option?
Anonymous
g++ -limm32