Click here to Skip to main content
15,881,172 members

Comments by Greg Utas (Top 200 by date)

Greg Utas 19-Nov-23 11:26am View    
You haven't told us what the code is supposed to do. To see if it's correct, you should run it and test it. After all, you are the one who knows what it's supposed to do.
Greg Utas 28-Oct-23 15:08pm View    
I interpret the question to mean that there is virtual memory space with addresses 0 to 489 (490 words) and 3 physical pages that hold 100 words each. Each of the physical pages could hold virtual addresses 0-99, 100-199, 200-299, 300-399, or 400-489. It's not page 480, page 315, and so on that are being accessed, but virtual memory addresses 480, 315, and so on.
Greg Utas 27-May-23 19:54pm View    
Cat got your keyboard? LOL.
Greg Utas 6-May-23 14:32pm View    
This is not a code-to-order service. At the very least, you'd have to show what you've done so far. Keep in mind that for anyone to help with this, they have to be familiar with, or be willing to familiarize themselves with, Boost's logger classes. And all of this strikes me as a fair bit of work.
Greg Utas 31-Oct-22 9:32am View    
Check your code. Is it really what you've posted? For one thing, you have an extra } in there. Your first printf looks correct to me. But I've only used the C++ version (std::cout).