Forum: C++ Dec 6th, 2008 |
| Replies: 4 Views: 579 @ salem :
thank you for the reference. :)
@ marco93 :
i never said i have problem with C++ and Win32 API..Its just that i didnt like using MFC. I love both C and C++. So i definitely wont have... |
Forum: C++ Dec 6th, 2008 |
| Replies: 4 Views: 579 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... |
Forum: C++ Oct 6th, 2008 |
| Replies: 4 Views: 523 If you want only a single string, then its getline().
If you want several strings, then a single array certainly wont do. I wonder how will you differentiate between strings. As you said, if you... |
Forum: C++ Oct 6th, 2008 |
| Replies: 3 Views: 430 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... |
Forum: C++ Oct 6th, 2008 |
| Replies: 4 Views: 523 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 >>... |
Forum: C++ Oct 6th, 2008 |
| Replies: 9 Views: 2,178 what is quite confusing is the 'num' integer.
You said that you are taking input of a list of integers while you have just asked for a single integer.
I assume that you have taken the input of... |
Forum: C++ Oct 6th, 2008 |
| Replies: 6 Views: 690 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... |
Forum: C++ Oct 5th, 2008 |
| Replies: 5 Views: 546 salem answered it for me. :)
well my code snippet was just a code written in haste. :)
the line you doubted was a missing line.
As Salem said, you will have to advance by yourself. There is no way... |
Forum: C++ Oct 5th, 2008 |
| Replies: 5 Views: 546 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... |
Forum: C++ Oct 4th, 2008 |
| Replies: 4 Views: 480 the first challenge for you is to read and understand the instructions that are required to be followed here. |
Forum: C++ Oct 4th, 2008 |
| Replies: 28 Views: 2,709 dude! you need to find some other place; no one here will help you.
best luck with your 'assignment'. |
Forum: C++ Oct 3rd, 2008 |
| Replies: 9 Views: 524 > C++ is a OO oriented version of C.
>> That's a rather naive perspective. C++ is multi-paradigm, meaning it isn't just object oriented, or generic, or procedural, it's all of them, depending on... |
Forum: C++ Oct 3rd, 2008 |
| Replies: 9 Views: 524 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... |
Forum: C++ Oct 3rd, 2008 |
| Replies: 3 Views: 360 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... |
Forum: C++ Oct 3rd, 2008 |
| Replies: 10 Views: 1,056 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 :) |
Forum: C++ Oct 3rd, 2008 |
| Replies: 9 Views: 1,031 Ok. thanks for pointing out my mistake; and as far as "a[i]" is concerned it was my mistake.
I actually meant :
arr[i]
*(arr+i)
:) |
Forum: C++ Oct 2nd, 2008 |
| Replies: 9 Views: 1,031 hmm..OK. Let me help you with some explanations.
I am sure you know that basically a pointer points to some variable. and int* will point to an integer.
Now consider the following array :
int... |
Forum: C++ Oct 2nd, 2008 |
| Replies: 7 Views: 596 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... |
Forum: C++ Oct 2nd, 2008 |
| Replies: 10 Views: 838 lolz. OK. thanks for pointing out my mistakes. Actually i was used to such typing in this weird way in mobile chatting. :) There is nothing special about using two consecutive periods or ellipsis. :)... |
Forum: C++ Oct 2nd, 2008 |
| Replies: 9 Views: 1,031 Selected Name: ", STRLEN, name_num );
this line dint make much sense to me. :|
anyways..talking about your problem..
name_sel = *name [ name_int ];
this wont work at all. You are... |
Forum: C++ Oct 2nd, 2008 |
| Replies: 10 Views: 838 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... |
Forum: C++ Sep 28th, 2008 |
| Replies: 1 Views: 418 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 :| )... |
Forum: C++ Sep 14th, 2008 |
| Replies: 4 Views: 978 @ArkM :
okies got your point...
@beyond :
yupp..you are right...it was just that i hadnt checked the code yet...so didnt find out that thing.. :) |
Forum: C++ Sep 14th, 2008 |
| Replies: 4 Views: 978 |
Forum: C++ Sep 14th, 2008 |
| Replies: 4 Views: 978 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 -... |
Forum: C++ Sep 7th, 2008 |
| Replies: 4 Views: 946 ohkk...i got your point..thanks for guidance.. :) |
Forum: C++ Sep 7th, 2008 |
| Replies: 4 Views: 946 ok..but i doubt one thing..doesnt efficiency affect here? i mean using a structure and using a class with lots of member functions - both are different thing..or am i just exaggerating this thing? :| |
Forum: C++ Sep 7th, 2008 |
| Replies: 4 Views: 946 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.... |
Forum: C++ Sep 7th, 2008 |
| Replies: 2 Views: 876 :D
bro...thank you so much..this problem had eaten my head off since a day and a half.. :(
:@
but you solved it out.. :)
i even went to the point of replacing some dlls in system...lolz...... |
Forum: C++ Sep 7th, 2008 |
| Replies: 2 Views: 876 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 :
Frame::Frame()
{
LPCTSTR className;
HBRUSH... |
Forum: C++ Aug 14th, 2008 |
| Replies: 2 Views: 445 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... |
Forum: Visual Basic 4 / 5 / 6 Jul 13th, 2008 |
| Replies: 3 Views: 721 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... |
Forum: Windows Software Jul 11th, 2008 |
| Replies: 0 Views: 482 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... |
Forum: Visual Basic 4 / 5 / 6 Jul 11th, 2008 |
| Replies: 0 Views: 811 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... |
Forum: Visual Basic 4 / 5 / 6 Jul 7th, 2008 |
| Replies: 6 Views: 1,469 |
Forum: Visual Basic 4 / 5 / 6 Jul 7th, 2008 |
| Replies: 6 Views: 1,469 :D
thank you so much dear..you have almost solved my problem... :)
now can you tell me where do i get this crystal report..?? :| |
Forum: Visual Basic 4 / 5 / 6 Jul 7th, 2008 |
| Replies: 6 Views: 1,469 hey veena..would it solve my problem - printing the report in the format i want..and let me tell you the format is quite irregular : tabular but quite irregular...the format is given in the document... |
Forum: Visual Basic 4 / 5 / 6 Jul 5th, 2008 |
| Replies: 3 Views: 1,860 err...umm...can you provide me any sample code of this .paintpicture thing? :| |
Forum: Visual Basic 4 / 5 / 6 Jul 5th, 2008 |
| Replies: 6 Views: 1,469 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... |
Forum: Visual Basic 4 / 5 / 6 Jul 5th, 2008 |
| Replies: 3 Views: 1,860 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... |