- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
in my application, i have created a data environment. Then i have connected a data grid to that data environment. Now my problem is when i add or delete one or more records, then the database updates itself...but the datagrid doesnt....it doesnt update until i run the application again... :( … | |
After using MFC, I felt like throwing it away. I thought to move on to Win32 API programming (I work on Windows platform.) But then, it is all C. I dont say i dont like C, but is there any better OO alternative to MFC for Win32 platform? Or should … | |
Re: dude! you need to find some other place; no one here will help you. best luck with your 'assignment'. | |
Re: i think first of all you really need to attempt it by yourself. People here will help you only if you have made some honest attempt :) | |
Re: differences ? :) i think it would suffice to say that TC++ is one of the ancient compilers for C/C++ while VC++ is one of the modern compilers (infact, IDE) for C/C++ applications. I think you are asking so because TC++ was/is being used in your college/school. :P I guessed … | |
Re: [QUOTE=ShadowOfBlood;706281]Nvm, I was going about it wrong. I figured it out. Here's what I have: [code=cplusplus] #include <iostream> #include <cmath> using namespace std; int main() { int even = 0, odd = 0, dig, num; cout << "Please enter a list of numbers (ex. - 12345)" << endl; cin >> … | |
Re: well, i am quite confused here. You mean to say you want to take input of several strings in a single character array? :| infact, here you are asking for a single character everytime : > cin >> a[i] if you meant to count the number of characters, then you … | |
Re: Your information isnt enough, I guess. Though your question seems simple enough, this line depicts somthing else which i dont know : > double a=(h[0]*b[1])+...... First of all, clear your question, or post some code. | |
Re: I think you have used too many pointers here. You can manage with a few. > valueOfNode = temp1->next->value; i got confused in this line, because earlier you had declared a node : > node *next; is this 'next' you are referring ? or is it the link of temp1 … | |
Re: the first challenge for you is to read and understand the instructions that are required to be followed here. | |
Re: You should rather refer to some good book inorder to remove the elementary confusions. C++ is an object-oriented version of C. You can also call it as an enhanced version of C (just in regard to syntax and keywords) . However, as far as coding style matters, only certain syntactic … | |
Re: what ancient dragon said is correct. Your code isnt formatted at all. First of all, you need to learn that. I would like to point out certain things though. First of all, you need to decide which language you actually want to use - C or C++. It seems that … | |
Re: [CODE] Selected Name: ", STRLEN, name_num ); [/CODE] this line dint make much sense to me. :| anyways..talking about your problem.. [CODE]name_sel = *name [ name_int ]; [/CODE] this wont work at all. You are assigning a character to a character array. that seems illogical. *name[name_int] actually yields the first … | |
Re: well...this thing also depends on how the menus and submenus are structured. For example...i have faced a situation in which..i need to first select an object on which i need to perform certain operations...which are,in turn, same for all the objects.. Thus, i would definitely have a structure..in which..i have … | |
Re: lolz i agree with niek_e :D if your first step in programming world is to build an OS, then only God knows what your next step would be. :) well, i am not discouraging you alex. But its a very long way you have to walk before you can really … | |
I have been given an assignment to simulate MS Paint application. I am much confused if to use document-view architecture or go without it (i will certainly use MFC..a necessity of our syllabus :| ) Also where exactly should i use/avoid document-view architecture? waiting for a reply ... :) | |
i am writing a program on 2-D transformation which handles transformations for three objects, namely, point, line and a triangle. i have created a base class Object and derived three classes - Point, Line, Triangle - from it. Here i will discuss just the Object and Point class. The code … | |
i am currently learning VC++ with MFC. But i am quite confused now. My dilemma is whether to use structures (which i guess are used extensively at Win32 API level) or their equivalent MFC objects. let me elaborate it. For example i want an array of points to use it … | |
i am a beginner in MFC programming and using MS VC++ 6.0. I am trying to create my own window using AfxRegisterWndClass(). My code is as follows : [CODE]Frame::Frame() { LPCTSTR className; HBRUSH brush; brush = (HBRUSH) ::GetStockObject (BLACK_BRUSH); className = ::AfxRegisterWndClass (WS_OVERLAPPEDWINDOW, AfxGetApp()->LoadStandardCursor (IDC_CROSS), brush, AfxGetApp()->LoadStandardIcon (IDI_ERROR)); Create (className, … | |
i am currently working with VC++ 6.0. i have just begun with it and wrote my first non-MFC code in it..however i have faced a problem in which my program terminates immediately on executing it..and i mean immediately..it doesnt even show the window that i create through that program.. however..later … | |
well..my problem is i cant find crystal report in my vb6. And yes..i have also checked the so famous path : common\tools\vb.. but the thing is i had to stop right after accessing tools folder..couldnt find vb itself. is there any solution to my problem? :( | |
i am trying to install VS6 but it is giving following error. setup has encountered a problem in launching the followning command line: "wpie15.exe" /q:a/r:n. if you have a system directory that contains a % sign, or the directory names *starts* with a space (i.e. 'C:\win95\system'), then setup will fial. … | |
i am trying to install VS6 but it is giving following error. setup has encountered a problem in launching the followning command line: "wpie15.exe" /q:a/r:n. if you have a system directory that contains a % sign, or the directory names *starts* with a space (i.e. 'C:\win95\system'), then setup will fial. … | |
i think it is not possible to print vertical lines along with text data in vb6..so i thot of transferring the whole contents from vb form to a word document. but now i dont know how to do that. i want to transfer the data in a specific tabular format. … | |
i am working on a vb project in which need has arised to print an invoice. however the problem is that the contents of the invoice is accompanied by horizontal and vertical lines. Also the so-formed rows and columns are not regular. My question is how can i print such … | |
I have used the Package & Deployment Wizard to put my Visual Basic Program on CD, I then copied over my database 'calculations.mdb' onto the cd also so that the VB program can access the database when installed on another PC. However, the program still searches the same path as … | |
in my project, i need to take some details like company name, contact no. and address during the installation of the project itself. but i dont know how to accomplish that..please guide me. :| | |
i am writing a code for a stack within stack...or nested stack...whatever.. in the code..and the mainstack is a stack of substack, which in turn, is a stack of integer data.. i thought of using class template for both the stacks - mainstack and substack..but am confused with how to … | |
i am writing a code for a stack within stack...or nested stack...whatever.. in the code..and the mainstack is a stack of substack, which in turn, is a stack of integer data.. i thought of using class template for both the stacks - mainstack and substack..but am confused with how to … | |
hey friends i am working with a program of "stack of stack".....and i thought to work it out using inheritance....but i m stuck in it... i thought to inherit both the stack - the parent stack and a stack element....from a single base class.. i mean i am in dilemma … |