- 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
44 Posted Topics
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 … | |
hey friends...i am a beginner in VB applications..and while linking databases with my projects i have come across these terms : COM, OLE, OLE DB, OCX, ActiveX Though i vaguely know about them i often get confused between them...i guess because of their close relationships..so please anyone clearly explain what … | |
hey friends...i am a beginner in VB applications..and while linking databases with my projects i have come across these terms : COM, OLE, OLE DB, OCX, ActiveX Though i vaguely know about them i often get confused between them...i guess because of their close relationships..so please anyone clearly explain what … | |
can anyone tell from where i can download the latest bloodshed dev C++ IDE... my problem is i am not able to access the [url]www.bloodshed.net[/url]... :( so is there any other link to download it?? | |
hey friends i am in dilemma of which compiler to use.. i have been working on windows OS. also the C++ concepts that we are taught in our college are practically taught on Borland Turbo C++ compiler (dunno how aged it it :P) :( i mean we people write the … | |
hey friends using scanf of C ...one can set the input width...something like this.. [CODE]scanf ("%3d", i);[/CODE] then whats d thing that i can use to do the same in C++ using cin... ??? | |
heyy friends ...i am facing a umm...weird problem... the contrast setting of my monitor often gets displayed on my screen automaticaly...on its own... nd it always sets itself to 100...and no sooner i decrease it than it sets itself to 100 again.. it has become an irritation now.. and to … | |
hey friends..my pc is facing a problem of read-only attribute files and folders... i accessed a pen drive and all the files and folders of that pen drive became read-only (which were not read-only).... and after copying some of the folders from the pendrive...i am not able to delete them … | |
right now i am working with Turbo Borland C++ compiler...however now i want to have a try on GCC compiler too... so where would i get it?? can anybody provide a reliable link to a GCC compiler??? :) | |
i want to clear a doubt... please check out the following codes.. [CODE]int function (int p[]) { //sm code } [/CODE] another style is : [CODE] int function (int *p) { // sm code }[/CODE] here i am passing an array to both the functions...and one receives it through p[] … | |
i have two questions right now in my mind : [B]question - 1 :[/B] please have a look at this code : [CODE]void function (int recd) { printf ("%d", recd); } void main() { int p=10; function(p); }[/CODE] here...when p is passed to function, the thing that actually takes place … | |
please check out the following two code segments and suggest which one is more efficient and worthy to use... The segments are actually constructors used to allocate a memory block for a matrix.. segment - 1 : [code=cpp] class matrix { private : int rows, columns; int *element; public : … | |
i am working with a matrix manipulation program...consists of a matrix class and its member functions.. i have also overloaded << and >>...so dat dey can read and print d whole matrix at one statement.. the code of these overloaded operators is something like this.. [CODE] // for >> (cin) … | |
i hav coded a matrix class and its member functions (many of them are overloaded ones)...now in a function..for eg. function of matrix addition.. [B]after the addition i want to return the local object "result" through a pointer (and not call by value)..however i aint getting d values of the … | |
heyy friends.. i m a beginner in C++ and am currently workin wid a program.. just for clrscr(), i have to include the whole conio.h file in my program inorder to clear the screen.. so is there any alternative to clrscr()?? please throw some light on this topic.. :) |
The End.