Forum: C++ Dec 6th, 2008 |
| Replies: 4 Views: 625 @ 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: 625 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: 540 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: 441 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: 540 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,338 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: 733 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: 557 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: 557 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: 494 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,773 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: 542 > 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: 542 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: 378 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,078 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,087 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,087 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: 608 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: 858 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,087 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: 858 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: 426 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: 1,017 @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: 1,017 |
Forum: C++ Sep 14th, 2008 |
| Replies: 4 Views: 1,017 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: 1,005 ohkk...i got your point..thanks for guidance.. :) |
Forum: C++ Sep 7th, 2008 |
| Replies: 4 Views: 1,005 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: 1,005 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: 894 :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: 894 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: 452 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: C++ May 22nd, 2008 |
| Replies: 4 Views: 473 lolz...got your point...actually even i have upgraded from C to C++...so am used to pointers...but here i just wanted to try it out first with simple variables...and then to use... |
Forum: C++ May 22nd, 2008 |
| Replies: 4 Views: 473 hey yaaa..i got your point...but i would like to know the reason why you are emphasizing on using pointer here... |
Forum: C++ May 22nd, 2008 |
| Replies: 4 Views: 473 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... |
Forum: C++ May 22nd, 2008 |
| Replies: 0 Views: 428 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... |
Forum: C++ May 15th, 2008 |
| Replies: 4 Views: 481 ohkk...got it now...actually i knew the vector...but not the map...but its clear now... :)
thanks for help... :) |
Forum: C++ May 15th, 2008 |
| Replies: 4 Views: 481 ok...yaaa...got it...sorry...wont repeat that mistake... :) ....net chat... :)
and umm...i didn't get much of your code...if you can simplify it... :| |
Forum: C++ May 15th, 2008 |
| Replies: 4 Views: 481 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... |
Forum: C++ May 1st, 2008 |
| Replies: 5 Views: 710 hey yaa..i got it...i thnik the homepage was under some sort of maintenance...or whatever it was...but later i was able to access the homepage..i downloaded it from there... :) |
Forum: C++ May 1st, 2008 |
| Replies: 5 Views: 710 now what's the difference between only "bloodshed C++" and "bloodshed C++ IDE"??
u meant that the former is only a compiler and the latter an IDE??
and yaa..i could not download from the link... |