Anonymous
/get cbook
T🤝🌹
MAC
I shall accept more ideas and advises.
Robert Love "System programming in Linux"
Anonymous
Who is Robert?
Nameful
Who is Robert?
Author of the book probably
MAC
Anonymous
Google up
Thank you. You are very helpful.
Anonymous
A prime number is divisable only by 1 and itself The only prime number is 2 Which logic can be used?
you'd get the answer for that in seconds if you googled it, its a pretty straight forward question, that's why
『KÎяÅÑ』࿐
Hey guys.. I'm a biginner in programming.. Just started with c
AmR
What ?
AmR
Why ?
MRT
how i can secure my tcp client with hanshake ? i use rsa and aes cbc 128, generate random iv, encrypt data with aes , , encrypt iv with rsa and send to client ,That's enough ?
Anonymous
What ?
The reason is there
AmR
Building Is part off C/C++. How you can use the code without building.
Antonio
/get
Gustavo
I am trying to input a simple csv file. but I have a problem with the last words of each line, because they don't have ";" delimiter at the end
Gustavo
https://pastebin.com/Anxy9fgs any ideas of how to include the last values?
Anonymous
Hey there. I am creating a class that will wrap functions, and it is templated so I can wrap any functions. This class has a constructor that takes the function it will wrap. So, to wrap a function, I would do: auto wrapped = Wrapper<return_type(argtypes...)>(func); The problem is that it has unnecessary typing in the template, as the function signature is known at compile time, rigth? So the question is how can I avoid this ( by somehow getting the class template from its ctor's argument?), if it's possible
አምላኪየ አምላኪየ እገይሥ ኀቤከ
I want to learn how to prove mathematics equations using c++
አምላኪየ አምላኪየ እገይሥ ኀቤከ
Igor🇺🇦
I want to learn how to prove mathematics equations using c++
Language that you're using is less of an issue. The main issue is with algorithms. Read about https://en.wikipedia.org/wiki/Model_checking
አምላኪየ አምላኪየ እገይሥ ኀቤከ
How to solve determinant of matrix?
Andrew
laplace algoritm
Andrew
but is pretty hard, to code by yourself, maybe you can find a library
አምላኪየ አምላኪየ እገይሥ ኀቤከ
Andrew
is the matrix of a fixed dimension ?
አምላኪየ አምላኪየ እገይሥ ኀቤከ
አምላኪየ አምላኪየ እገይሥ ኀቤከ
Not at all.
Besides, do you have a hint for divergence and convergence sequence? If so,how can l write in a big deal?
Andrew
you can find on github, maybe
Andrew
https://github.com/aleksanderllada/determinant
Anonymous
How to solve determinant of matrix?
I think you should try. First solve the problem for its simplest version then use paper to find how the larger one is similar and where it is difference. I highly recommend you to carry a linear algebra book through the solution; because usually, problems are easy but we need to know what we are supposed to do. Try to do it yourself without looking at any finished code.
አምላኪየ አምላኪየ እገይሥ ኀቤከ
https://github.com/aleksanderllada/determinant
Is that real? I don't understand. Even my compiler doesn't understand it. I think his compiler and he can understand it.
Andrew
Finding the determinant of a matrix require you to know linear algebra, is not so hard after all but you have to understand the algoritm then try to implement it https://youtu.be/cAARX18-74g
Anonymous
What can I use in place of ExAllocatePool and ExFreePool in ERAM's code?
Anonymous
I am wanting to have it be able to make a 200 or more MB Disk in Windows Server 2003 and ReactOS
Anonymous
Oh
Anonymous
I didn't read that rule
Anonymous
Https://github.com/Zero3K/ERAM/
Anonymous
Thanks
Anonymous
I tried some other functions but they either didn't work or are missing a variable
Anonymous
Can someone teach me how to develop a web with a domain for free
Crush_my_love
It is unrelated to C++
It's possible, if you're brave enough ;)
Crush_my_love
It is unrelated to C++
https://github.com/an-tao/drogon
Vlad
https://github.com/an-tao/drogon
Well that doesn't cover domain and all of that part of his question
Vlad
Which is still C++ unrelated
Crush_my_love
Yeah, sure, my point were just to say it's still possible, even that there is much suitable technologies for web development exists.
bhai bhai
Hii
Diego
Heyy silly question: A string that's initialized with a char array copies the array or keeps a pointer to it?
Mr.Nobody
Hey anyone have any idea I can learn and practice c/cpp
Talula
Talula
Hey anyone have any idea I can learn and practice c/cpp
Depends... what do you wanna learn it for?
Mr.Nobody
Depends... what do you wanna learn it for?
Yes this is where I’m lost. My interest are in building stuffs like arduino and also cyber security stuffs
Diego
You can do everything with C++, but it doesn't mean that you shouldn't use other languages for that purpose I personally specialize in C# for basically everything and know C++ only for embedded systems, primarily arduino
Diego
In C it is always pointer... there is no such thing as "string".
Fair, thank you But does it keep a pointer to the original character array I initialized it with, or does it copy its values to a different one and keeps a pointer to that?
Farosiyosa
Hey everyone,may i ask something that want i know,can C/C++ use to game engine script ?
Diego
Hey everyone,may i ask something that want i know,can C/C++ use to game engine script ?
I know not of any engine that uses C/C++ as a scripting language, but you should look around
Diego
But if you want to script then use Lua or other similar scripting languages There are a couple of great game engines that feature C# as a scripting language, too, but afaik they compile it into IL so technically it's that But then again, I don't know of any instance of JIT'ing C# directly
Farosiyosa
Okay thanks for your explain
Diego
But more complex programs could get troublesome quick, and possibly unmaintainable without proper experience C++'s unmanaged memory makes it a hellscape for programmers just starting out
Diego
Of course, you'll eventually have to get through it, but it's for desktop apps languages like C# are better imo Managed Memory, almost guaranteed portability, lots of libraries and powerful technologies, etc. C++ is a great language, but I don't recommend it for everyday use
Diego
But basically everything you can do in anything, you can do in C++ In fact, pretty much everything has its roots in C++ For example, C#, Java, etc. are semi-compiled languages, they get compiled into an intermediate language, and then Just-In-Time compiled into the local machine's assembly code Without a runtime compiled for the specific machine, it's impossible to run them C++ compiles directly into assembly code, ready to roar in the local machine Which is why it's used in Arduino and other microcontrollers, it has the language features to talk directly to hardware and do anything you might need from itself
Diego
But at the same time, C++ is VERY big, far too many things to learn, and it can either be extremely slow or very quick, depending on your experience with it Also machine code is usually not portable to other platforms Which is also why most people shun it And let's not mention how easy it is to cause a memory leak and either throw a wench into your program, provoke a MEMORY_VIOLATION_ERROR, or worst case scenario cause a blue screen It's not imposible, but several levels of harder in C#
Diego
But don't let me scare you, everything programming-related takes time to learn, and C++ is very fun and very powerful ... I just don't like it for everyday use
Anonymous
Can anyone help me with my request?
falcon
Krishna loves Radha and wants to propose her in a different way. He wants to tell her the message, but he wanted the message to be a surprise. So, he plans to encrypt the message and send the encrypted message to Radha and he also gives the key to decrypt. He thinks that this might be a surprise to Radha. Help Radha to decrypt the message. Rules of encryption : 0<=key<=51 The original message only consists of a-z, A-Z, and space. Spaces are encrypted as '.' If key lies between 0 and 25, then the character is added with the key and modulo is taken and the case is maintained. For eg, if key is 3, then a is decrypted to d and e is decrypted to h. If key lies between 26 and 51, then the character is added with the key and modulo is taken and the case is inverted. For eg, if key is 29, then a is decrypted to D and E is decrypted to h. Input First line consists of t, the number of test cases. (1<=t<=20) For each test case, first line consists of key. 0<=key<=51 Second line consists of the encrypted message S. |S| <= 100000 Output For each test case, display the decrypted message in a separate line.
falcon
Pls tell the solution asap
Talula
Fair, thank you But does it keep a pointer to the original character array I initialized it with, or does it copy its values to a different one and keeps a pointer to that?
I have no actual idea but I think different compilers do it differently, I think the original C complier would not copy it because memory optimization, but new one might do it for array flexibility.
Anonymous
#include <iostream> int main() { int sum = 0, val = 1; while (val <= 10) { sum += val; val++; } std::cout << "Sum of 1 to 10 inclusively is " << sum << std::endl; return 0; }