-
Replied To a Post in c++ program help
Consider a forum meant to assist programmers in learning to program, but whose members are constantly bombarded with requests from students who want their homework done for them with no … -
Began Watching Refreshing my C++ coding
im looking to brush up on my C++ coding as its been a quite a few months since ive done anything with it and ive run into a snag with … -
Replied To a Post in Refreshing my C++ coding
First off, just to be pedantic about it, Dev-C++ and Eclipse are not themselves compilers; they are development environments which call (presumably) the GCC compiler (which to be even more … -
Replied To a Post in how to create a simple GUI for an OS
Certainly. As I said, I use `git` for most of my SCM these days, so I'd recommend that, though I am aware that (like all software systems) it has its … -
Began Watching Pointers and Functions
All of us started from being a rookie, and I'm one of those rookies who are new in this course. Maybe its time for you to share your expertise unto … -
Replied To a Post in Pointers and Functions
**mulusew:** Please do not hijack other people's threads, especially if all you are going to do is beg for someone to do you homework for you. Please start a new … -
Replied To a Post in how to create a simple GUI for an OS
Ah, OK, thank you for sharing the files. I would, however, recommend that you get your code under source control and into a public repository ASAP, both to ensure that … -
Replied To a Post in Compute to find Fib- 43
That should be correct for the recursive version, yes, though you'll want some patience when it runs: you are producing the whole series of `fib(0)` to `fib(43)`, one at a … -
Replied To a Post in Compute to find Fib- 43
Well, it's a start I guess, but in this case, the 43 should be what you are passing to the function as `n`, not hard-coded into the function; it should … -
Began Watching how to create a simple GUI for an OS
hi guys i've written an bare OS and now im trying to go a little furthur and create a very simple GUI for it . but i have no idea … -
Replied To a Post in how to create a simple GUI for an OS
I think you will find that much of what you are looking for can be more readily found at the [OSDev.org](http://osdev.org) wiki and forums than here. There is a great … -
Began Watching Linked list help
Hey everyone! So I need to write two header files and they attach to the main cpp file, but we can not change the cpp file. They have to attach … -
Replied To a Post in Linked list help
OK, and what problem are you having? Can you explain in detail what is going on, and where you need further help? -
Replied To a Post in Encryption
Ah, I didn't realize that was an actual requirement of the assignment. Sorry. One thing I will strongly recommend is reorganizing the program into functions, so that it is easier … -
Began Watching Encryption
Hi,so I am supposed to encrypt a text file chosen by a user at the moment I have completed most of it (offset factor/shift), I have got each separate character … -
Replied To a Post in Encryption
I don't think you actually would want to treat the spaces (or whitespace in general) any differently from the other plaintext, actually; you want to write the ciphertext out in … -
Began Watching Help with Assembly Language Project.(my work is shown inside)
So I recently started taking this class and i never learned assembly language so writing the program was very difficult. I have this project to do and this is part … -
Replied To a Post in Help with Assembly Language Project.(my work is shown inside)
Before proceeding, could you tell us which assembler you are using? Different assemblers, even ones for the same CPU, can have very different syntaces, and the one you are using … -
Replied To a Post in Compute to find Fib- 43
**rubberman**: I thought so too, but then I checked using Python (which has bigints), and it turns out that's not the case. Fibonacci numbers do grow quite rapidly, but not … -
Began Watching Compute to find Fib- 43
How do I write a program to compute run-time of a recursive and non-recursive functions to find the 43rd Fibonacci number? -
Replied To a Post in Compute to find Fib- 43
I will also warn you that while the conventional tree-recursive algorithm is much simpler than the iterative algorithm, it is extremely inefficient, being of order *O(Fib(n))* in time and *O(n)* … -
Began Watching What is the Meaning Of *(ushort* + ushort) = uint?
Hi all.. I saw a part of codes which I unable to understand.. pleaase all the expert teach me ya.. below is the part of codes.. UINT A; USHORT B; … -
Replied To a Post in What is the Meaning Of *(ushort* + ushort) = uint?
The short answer is, it is using pointer arithmetic to compute the location of an index `B` in an array of `USHORT` (where `USHORT` is a `typedef` equal to `unsigned … -
Began Watching Running time of algorithms
what is the Running time of the given code? #include<stdio.h> int main(){ char str[100]; int i=0,j=-1,flag=0; printf("Enter a string: "); scanf("%s",str); while(str[++j]!='\0'); j--; while(i<j) if(str[i++] != str[j--]){ flag=1; break; } … -
Replied To a Post in Running time of algorithms
Let's back up a bit, however, as I suspect that there is a matter of terminology to be resolved. Is the question the *running time of the code* (which will … -
Began Watching Is it possible to figure out a encryption / decryption key if you have only
Is it possible to figure out a encryption / decryption key if you have only 6 datapoints (inputs / outputs)? Device ID (input) / (key) Device ID Lease Code 1 … -
Replied To a Post in Is it possible to figure out a encryption / decryption key if you have only
It may be possible in some cases, but not in the general case. I think one can categorically state that if it is, then either the cipher or the key … -
Began Watching how?
how can i put this in a flowchart form? need for my project and where will i put all the void? #include<stdio.h> #include<time.h> #include<process.h> #include<string.h> #include<conio.h> #include<dos.h> /*Placement*/ void order(); … -
Replied To a Post in how?
A few questions that may help us help you: * Has the professor presented flowcharts (as opposed to more modern diagramming practices) as a regular part of designing programs? * … -
Began Watching Python Vending machine
Hi, i was working on a code for a vending machine and i do consider myself to be a beginner, anyway i feel my code is much longer than it … -
Replied To a Post in Python Vending machine
Before making any suggestions, I would like to ask if your course of study (whether personal or formal) has gotten to functions and how to write them yet. This would … -
Began Watching How to get a list of dictionaries from a submitted html form?
I need to submit a form on which there is a group of inputs(that can be dynamically generated) that needs to be an array of objects(list of dictionaries). I Dynamically … -
Replied To a Post in How to get a list of dictionaries from a submitted html form?
It could help if, rather than posting the JavaScript/JQuery code that generates the form being sent, we could see the Python code that is reading it in from the server. … -
Began Watching need some help
6 Consider the following set of assembly instructions: addl %ecx, %edx; cmpl %ebx, %edx; jge .L4 where %ecx stores the value C, %ebx the value B and %edx the value … -
Replied To a Post in need some help
**@rubberman**: While your answer is strictly correct, I suspect that the professor who gave this question was being idiomatic (or perhaps merely idiotic) and not expecting the students to be … -
Replied To a Post in malloc and free implementation
Is this 'home-made mini OS' running as an application on an existing system, or are you actually booting it from the bare hardware (or the virtualized equivalent thereof)? I am … -
Replied To a Post in malloc and free implementation
Let me make some corrections to that: -
Replied To a Post in malloc and free implementation
While I do indeed see some serious issues with how `allocate()` is implemented, I would say the real problem is happening even earlier. As I said before, what is really … -
Began Watching malloc and free implementation
i want to implement a kind of malloc and free function for a course project , now i have done something but i dont know whats the problem with access … -
Replied To a Post in malloc and free implementation
A few pieces of advice: * The heart of the problem you are having is that you haven't initialized the free memory handle (`first`) before using it. I would start … -
Began Watching Multiplying matricies in assembly
Hi, I am multiplying two matricies in assembly. It is a 2 x 2, and as you can see they are defined down below in the code. I am also … -
Replied To a Post in Multiplying matricies in assembly
Could you tell us what CPU this is for, and what simulator you are using? It looks like some form of M68K assembly to me offhand, but I without knowing … -
Replied To a Post in how use my class on function parameter?
To follow up on the last comment: image.h #ifndef IMAGE_H #define IMAGE_H 1 class image { private: ULONG_PTR m_gdiplusToken; Gdiplus::GdiplusStartupInput gdiplusStartupInput; HDC hdcimage=CreateCompatibleDC(NULL); HGDIOBJ obj=NULL; HBITMAP btBitmap=NULL; Image *img; bool … -
Began Watching how use my class on function parameter?
heres my image class: class image { private: ULONG_PTR m_gdiplusToken; Gdiplus::GdiplusStartupInput gdiplusStartupInput; HDC hdcimage=CreateCompatibleDC(NULL); HGDIOBJ obj=NULL; HBITMAP btBitmap=NULL; Image *img; bool isimgused=false; int imageheight=0; int imageweight=0; int framecount=0; int intSelectFrame=0; … -
Replied To a Post in how use my class on function parameter?
Frankly, I haven't had the chance to look the class over in detail, but my impression is that there is too much being 'baked in' to this one class, and … -
Began Watching Planning my code?
Can someone please recommend me on a right way of working with codes? how should i plan it? how should i arrange it? every time i start a project i … -
Replied To a Post in Planning my code?
Ah, a good question, and one I am actually glad to see here. It shows some thought beyond the usual questions here. However, I should caution you that thater are … -
Began Watching Graphics and C++ ?
I've learned the basics of c++ Now, I want to develop and enter the graphics world, Any suggestions? -
Replied To a Post in Graphics and C++ ?
Well, the first thing to know is that C++ doesn't have any *standard* graphics system the way that, say, Java does. So the question of the platform you are working … -
Began Watching Is Go a legacy language?
Just wondering. Exploring Google's Go language, a modern day C with the Google in it.
The End.