No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
Hi All, I need your guidance for a project (using Visual Studio + MFC) I'm doing. I want to create page flipping animation of a book. There should be a book and when I click on a key then the next page should be displayed. You get the idea? Similar … | |
Inside a C function, if I declare something like [icode]char *s = "Hello";[/icode] Where will the memory for the "Hello" string be allocated? Will it be on the stack or the heap? If it is on the heap, will there be any problem if I return the address of that … | |
Hi, I recently came across a code which had the below lines. [code] unsigned int n = 10; n ^= (unsigned int) - 1 ; [/code] It is not clear to me what the second line does. Anyone can help please :) | |
Hi, I have a question regarding outer joins. Suppose I have the following 2 tables each having 2 columns. Employee: EmpId, DeptId Department: DeptId, DeptId EmpId is primary key in Employee and DeptId is primary key in Department. Also, Employee.DeptId is foreign key referencing Deparment.DeptId. My first question: 1. Suppose … | |
Hi, I have a gridview to which I'm adding template fields programmatically. Each of the template fields have a textbox. I would like to make this text box have 2-way binding to a database column. Please see below code. [CODE]public class CustomEditItemTemplate : ITemplate { private DataControlRowType templateType; private string … | |
Hi guys, I'm trying to solve this interview question: "Write a function which, given n, prints all well-ordered integers of n digits. A well ordered number is one where the value of the i-th digit is less than the value of the i+1 digit." I've written the code where if … | |
Hi, CAn anyone tell me what does the following statement do in C. [icode]*p++ = val[/icode] My understanding is that because ++ and * have right-associativity, it is equivalent to [code=C] p++; *p=val; [/code] Similarly [icode]val = *--p[/icode] is equivalent to [code=C] p--; val = *p; [/code] Is it correct? | |
Hi, I have a client written in java applet and it listens for responses on http: //localhost/CardPager. Now, I have a server code written using jsp servlets and a webpage for a user where I can write a message in a textbox and press the send button, the text message … | |
Hello, I'm writing a MFC application to move a picture control when i press the "Next" button. (Please see attached screen-captures) There is a dialog box on which there are 2 picture controls. When I press the Next button, the left picture control should move on top of the right … |
The End.