Stark
INTJ
klimi
Anywhere
Come on seriusly
Anywhere
How i can send code if pastebin is detected like spam????
Roxifλsz 🇱🇹
How i can send code if pastebin is detected like spam????
Yeah that bot has false positives sometimes
Never Spam Bot
Anywhere is now approved by the group admin and can send messages without any restrictions https://pastebin.com/gqX1xzCr Im getting bsod anyone can help me? Page fault in non paged area when i try to copy memory of a system driver (i have kernel privilege) See spam? Quote the spam message in the group and reply with /spam
Anywhere
==== List of sections for ModuleBase=FFFFF8044EA70000 ==== Section #0: Name bytes= 0x2E 0x74 0x65 0x78 0x74 0x00 0x00 0x00 Section #1: Name bytes= 0x2E 0x72 0x64 0x61 0x74 0x61 0x00 0x00 Section #2: Name bytes= 0x2E 0x64 0x61 0x74 0x61 0x00 0x00 0x00 //.data Section #3: Name bytes= 0x2E 0x70 0x64 0x61 0x74 0x61 0x00 0x00 //.pdata ==== End of section list ==== if (strncmp((char*)sectionHeader[i].Name, ".data", 5) == 0) FOUND (.data) Section #2 if (strncmp((char*)sectionHeader[i].Name, ".pdata", 6) == 0) NOT FOUND (.pdata) Section #3 🤨🤔🤨🤨🤔🤨
Anywhere
In the end it was a problem in the loop that initially did not cause problems but with subsequent interactions yes. And I did not notice it until the third iteration. absurd
Anywhere
I wonder though how the first iterations were correct despite the double incrementer due to a logical problem with the reference structure
Rissssiii
Come on
Rissssiii
Heyy
klimi
Heyy
Hi, please read the rules. thank you
Rose
User Harshii has 1/2 warnings; be careful! Reason: offtopic
Rose
User V has 1/2 warnings; be careful! Reason: spam
Rose
Welcome Лилия! Please read the pinned message 🙂 Click the button below to unmute yourself.
artur kasem
hello everyone. i found a free course in udemy for cpp its ok to start learn in udemy?
Ludovic 'Archivist'
I recommend you look into the of this channel rules for resources, or head to https://roadmap.sh/ to find a roadmap for learning C++ that fits what you want
artur kasem
i can share here the course?
Ludovic 'Archivist'
i can share here the course?
That would be an ad, and I will ban you if you do
artur kasem
ok sorry im only want to help to learn
Ludovic 'Archivist'
ok sorry im only want to help to learn
Refer to my previous message about Udemy, you would help people NOT LEARN by sharing that bad course
artur kasem
yes but is free course and not everyone has the money to buy courses.
Ludovic 'Archivist'
yes but is free course and not everyone has the money to buy courses.
I gave you a better, free alternative. Udemy courses are terrible and generally are near indistinguishable to scams
artur kasem
Okay, I understand you don't like them.
artur kasem
You convinced me they are pure garbage.
Ludovic 'Archivist'
do you have a roadmap for C? windows only
Do you have a rigorous and methodical approach to things? Unless that is strongly the case, I do not recommend C to be the first programming language you learn. In any case, Jens Gustedt's Modern C is available for free on the author's webpage, you can just follow that
rynn
Heyyyy
rynn
I just completed c what I make as a project To showcase in future
rynn
I want a easy one
Ludovic 'Archivist'
Okay
You can take inspiration from pokemon mystery dungeon maze generation https://www.youtube.com/watch?v=fudOO713qYo
Moita
Okay
Send me your github repo so that I can watch. I'll be your Check-in buddy.
klimi
You are breaking the rules of this group...
Rose
Offtopic discussions should be done in the C/C++ Offtopic group. Please take your discussion/questions there.
Rishi
You are breaking the rules of this group...
Cool I'll send this msg in unofficial gc
Never Spam Bot
Uderkns sent multiple messages that looks like a spam. Why was my message deleted? Spam deleted in this group: 3537
Rose
User Uderkns has 1/2 warnings; be careful! Reason: self promotion
GOPA
hi can anybody help me to find the optimal way to check the maximum number of consecutive set bits and its position from a array of uint64_t size n (by bits i meant the 64 bits in uint64_t) thanks in advance for any help
Thomas
When a C program gets converted to assembly, in the assembly when memory is pushed to the stack how does the program know what data type that memory address holds, since for an integer for example it will just push 4 bytes of memory and allocate a value
ztxc
for stack data it depends on ebp and esp registers. it's a memory position allocated by OS through mmap or brk.
ztxc
in short for stack you can't cintrol it. OS handles this for you. but you can peek current stack info through ebp and esp.
Thomas
in short for stack you can't cintrol it. OS handles this for you. but you can peek current stack info through ebp and esp.
When you say OS handles it, how could this work, because let’s say we initialise an integer which takes 4 bytes and we also initialise a character array of 4 bytes but we don’t assign any data, the assembly would simply show 2 lots of 4 bytes being allocated and no reference to the type of data It can store?
harmony5 🇺🇳 ⌤
I understand this, but where is the data type specified
Type info is mainly for the compiler, not the compiled program
😊
If anyone needs RAG or any bot. I can make any type of bots feel free to reach out.
Rose
If anyone needs RAG or any bot. I can make any type of bots feel free to reach out.
Offtopic discussions should be done in the C/C++ Offtopic group. Please take your discussion/questions there.
GOPA
If your array is not sorted. u have to iterate it for tht maximum number and it's position. That's a O(N) algo.
thats true but how can i do bit manipulation to check the the maximum contiguious set bits, but i cannot sort as this will cause information loss any better idea to make it O(N/64)
GOPA
again my goal is to reduce the total instruction count in the process for faster search
彡[ᴏᴛᴛ ᴍᴀᴋᴇʀ]彡🇮🇳
Any foreigners here ?
Rose
Any foreigners here ?
Offtopic discussions should be done in the C/C++ Offtopic group. Please take your discussion/questions there.
Moita
Hello, I have made a maze game using C and SDL2. Check it out here: https://github.com/M0imaritim/Maze Make sure to 🌟. Cheers!
Moita
Good work 👍, but there are strange artifacts with texture drawing
I used images in the textures directory. I am still trying to get a good calculation of the textures.
Moita
how did you make the textures?
I used IMG_LOAD function from SDL2 to load PNG texture and a function load_texture in texture.c to load textures from the PNG files then converts them to a usable format for the game. In raycast.c the trxtures are mapped to walls based on where the rays hit. draw_textured_wall function apllies texture to wall segments. For the weapon, the weapon sprite is generated using create_weapon_sprite function in wepon_sprites.c
Vlad
Hello, I have made a maze game using C and SDL2. Check it out here: https://github.com/M0imaritim/Maze Make sure to 🌟. Cheers!
Do you need algo to speed up raycast? I see you just advance the ray by 0.05 each iteration
Vlad
It probably produces 'jagged' edges on walls too
Vlad
Sure bro!
https://github.com/VladDoc/YetAnotherRayCaster/blob/06450ebc7811fcc2d609a21e4dc933709829a60f/Utility.cpp#L42
Vlad
Here goes my shitty algo that I've derived myself 5 years ago
Vlad
Have fun
Vlad
Still works tho. So it wasn't for nothing
Vlad
He said faster, not drunker
It is faster like 10x
Vlad
You can probably do DDA but I didn't have braincells for this back then
Never Spam Bot
B 2 is now approved by the group admin and can send messages without any restrictions Can I send the link ? It is a nice tutorial ... See spam? Quote the spam message in the group and reply with /spam