- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- PC Specs
- Extensa 4420 a couple of 1900Hz 160GB HDD 256MB ATI RADEON Xpress 1250 video 2GB DDR2
Re: Yes, it does remain. If new operator is used u need to delete explicitly. | |
Re: i consider this thread lame but funny... p.s. dev c++ must die! p.p.s. seriously, must die already. | |
Re: u don't need them classrooms to learn anything, tis bullshit | |
Re: Man, u gon pay money to ppl for doin ya homework or what? | |
Re: [QUOTE]variable would be successfully set to functionCall()'s return value[/QUOTE] no way, variable is set to true, because functionCall()!=0 is true. in this case true means 1 | |
| |
Re: Lines 11,12. n is 0 after them and also i don't get why u use for not while and why u need that int i | |
Re: fstream header will do. just include <ifstream> then do ifstream vname("filename"); vname >> array[i]; as many times as needed | |
Re: Look, you have that [ICODE]#include<string.h>[/ICODE] right? So why don't you use c++ strings? It's like [CODE=CPP]string str; str = "whatever"[/CODE] and it's easier. Now this [CODE=CPP] for(int b=0;b<=(strlen(a)-1);b++) { for(int c=0;c<=(strlen(a)-2);c++) { if(strcmp(a[c],a[c+1])<0) //I DON"T THINK THIS IS RIGHT { strcpy(temp,a[c]); strcpy(a[c],a[c+1]); strcpy(a[c],temp); } } }[/CODE] is a mess. You … | |
Re: Guess it would be good to mention that an abstract class is mostly an interface, a common interface for all derevied ones. For example you can make an abstract class with only one pure virtual overloaded operator= and derive from it all "assignable" classes. | |
Re: new allocates dynamic memory (did i choose the right words?). |