Bottom G
o
well it depends on the system you're working on.
Bottom G
hacking memory
Bottom G
Windows
o
you have many ways to do it, and many articles online giving you the basics.
o
whether by patching the binary or detour, or using runtime linker abilities, or injecting at runtime in memory, or using hv, etc.. etc.. etc..
Bottom G
inject dll
o
@xba1te : many google links if you search
Bottom G
ahhaha
o
ahah :)
Bottom G
https://www.dotafire.com/dota-2/guide/hook-em-pudge-hooking-guide-6361
ʙᴀнᴀᴘᴀм
ʙᴀнᴀᴘᴀм
Alex
hii
Vedant
hello
محمود
Lab Problems:
• Lab Problem-1
Write a C ++ function to check out if any given integer is prime or not, and then
call your function from the main.
• Lab Problem-2
Write a C ++ function to calculate X * Y (the multiplication of X by Y where X, Y are
integers), and then call your function from the main.
• Lab Problem-3
Write a C ++ function with default values, 1 for the radius of the base for a cylinder
and 2 for height to calculate and return the volume of a cylinder, and then call
your function from the main with and without arguments.
Hint: If the cylinder has a radius r and length (height) h, then its volume is given by
V = πr2h, π = 3.14
محمود
Functions
Diego
What do you want us to do?
Remember that asking to write assignments for you is against the rules
Alex
Anonymous
Diego
Worst part is, these problems are so easy they're boring to try
Brian
Anyone to help me with a C++ project about bus ticketing
Patrick
Hello! I know...
uint8_t bytes[4] = {1, 2, 3, 4};
int num = *(int*)bytes;
...is undefined behaviour, and can result in unaligned access. However, is there a way to maybe "disable" alignment? Is using a packed struct, like...
int num = ((MyStruct*)bytes)->field
... also UB? I'm wondering about writing too:
*(int*)bytes = num;
Anonymous
Alex
Patrick
I've had to resort to the memcpy approach as I'm using Arduino and it's very strict when it comes to UB, it seems.
Anonymous
The pointer/pointer idiom should work on most mainstream platforms, but it may not work everywhere... Nother ever does lol.
🇵🇭🇷🇺
Hello. I wish someone couldn't help me with c++ language. Thanks 🙂
Anonymous
I couldn't
Xudoyberdi
🇵🇭🇷🇺
Could*
🇵🇭🇷🇺
English isn't a basis of intelligence I guess, besides it's just a typo error.
Diego
🇵🇭🇷🇺
People who made english as their criterion to judge one's intellegence are the ones who are dumb. Peace ouuuut!😅😁
Diego
🇵🇭🇷🇺
I'm a filipino-russian but I don't judge anyone regarding their races or whatever, btw🙂I'm just here to ask for help. Thanks
🇵🇭🇷🇺
What do you need help with?
Like someone who can guide me to create a program using c++, but I can't explain it further here bcoz I'm afraid I might get judged again. Hehez
Diego
I use Visual Studio myself, but I haven't tried any of the others one
I'd assume they come with GCC or another compiler, though
🇵🇭🇷🇺
I'm using code blocks 😅🙂
Diego
https://www.tutorialspoint.com/cplusplus
Remember, also, that C++ is a different kind of programming language than most you'll encounter: Languages like C#, Java, F# and the like are maintained almost entirely by a single, dedicated entity and all platforms, compilers, etc. are maintained concurrently
"C++" is nothing but a specification of syntax, functions, and what should a given human-readable character strings on a file be compiled to
And since it's entirely decentralized, implementations vary much more heavily than in other languages like the ones mentioned before
I hope this info helps you
Diego
I'm using code blocks 😅🙂
Well, then you can check out info on Code Blocks itself to see how can you compile and test out code; as for the language itself, there's the tutorialspoint link
🇵🇭🇷🇺
Can I upload a photo? I tried creating a program but it shows a lot of error. I'm not a computer major hehe😅So I'm not really good at it, I'm just a math & english teacher but I really want to know more about some programming languages to be able for me to get a job related to computer.
🇵🇭🇷🇺
Diego
Diego
At beginner levels, mistakes can be the least obvious and most frustrating
But as you get along it'll be much easier in general!
Though, if you're not a computer major then I, personally, would recommend starting out with a different language
C++ can be daunting and complicated
Diego
And non-verbose to boot
Diego
Personally if you want to get started with programming I'd recommend Lua as a scripting language, procedural programming is much easier to get the hang of, since you don't have to worry about program structure
If you intend to get started right away with OOP, I'd recommend Visual Studio and C#
It's similar to C++, but takes a lot of the responsibilities away from you; and Visual Studio offers insanely good analysis that tells you exactly what mistakes you've made and prevent very hard to notice bugs and what not
Diego
It's personally my favorite language, I only use C++ for embedded projects and processors that don't support .NET
Diego
If you do want to try your hand at Lua, I recommend ZeroBrane Studio, and when you feel more comfortable try LOVE2D, it's a framework to make games
It really allows you to get the hang of working on a real project
🇵🇭🇷🇺
Noted.
Victor D.
python is good to start too. You can learn the basics in days if not hours
🇵🇭🇷🇺
Thanks.
🇵🇭🇷🇺
I'm good at Python.
🇵🇭🇷🇺
C++ is kinda new to me. Hehe🙂
Victor D.
You can get a good job with python and web
Xudoyberdi
🇵🇭🇷🇺
And I'm making a thesis and capstone project so I have no enough time for c++.😔But I still want to learn more about it.
🇵🇭🇷🇺
Victor D.
Scarlett ask @MissRose_bot for some books about C/C++. Like so: /get cppbookguide
Danyar
hello can you help me what it is need it,,?
Danyar
Write a complete C++ program that open an existing file (the file should contains some data), then call a function that accept the name of the file and string to search for in that file.
The function should find all occurrence of the string that have been passed as argument to the function, when the string is found, the function should return the line of the occurrence. Once the searching is done, display a report of the number of the occurrence in that file with its location (Line)
Anonymous
/get cppbookguide
Anonymous
/get cbook
ʙᴀнᴀᴘᴀм
I wanna go to malware analysis using C/C++, Is that a good option?
ʙᴀнᴀᴘᴀм
Bottom G
ʙᴀнᴀᴘᴀм
Anonymous
Hi can someone here explain a problem for me? 😓
Anonymous
hii
Mahsun
means?
Means I don't know
Joseph