Forum: C++ Jul 8th, 2009 |
| Replies: 4 Views: 273 thx for the explanation :)
i've changed it.
i suppose the seg. fault is somewhere else... :(
have a good day! |
Forum: C++ Jul 8th, 2009 |
| Replies: 4 Views: 273 thx, i'll try that,
also i'm not sure..
when i looked in the net i saw that there are 2 calls to this function, one of them doesn't need the second flag.
and about the flag - i didn't understand... |
Forum: C++ Jul 8th, 2009 |
| Replies: 4 Views: 273 i've wrote a code that read and write to some files,
and i have a segmentation fault when i'm running it in the g++ (in the visual studio i don't have any problem like that..)
anyway,
i think... |
Forum: C++ Jun 15th, 2009 |
| Replies: 11 Views: 981 so where can i call the calc function?
the idea is that i can't assign in the private data member in the sons. |
Forum: C++ Jun 15th, 2009 |
| Replies: 11 Views: 981 hmmm...
from what i understand - this is a problem just if i'm trying to call "calc" from the constructor, not from every function of Product.
(i've also checked something resembling that, and... |
Forum: C++ Jun 15th, 2009 |
| Replies: 11 Views: 981 it is pretty long, but the idea:
class Product{
...
private:
int price;
virtual int calc () = 0;
public:
Product (...); |
Forum: C++ Jun 15th, 2009 |
| Replies: 11 Views: 981 after i've got this error:
pure virtual method called
terminate called without an active exception
Abort (core dumped)
i searched and found that it is probably because i'm calling to a pure... |
Forum: C++ May 20th, 2009 |
| Replies: 8 Views: 392 >it is my first compiler, after that i'm going to g++.
The newer versions of Visual Studio are much better than 6.0 and quite competitive with other conforming compilers (including g++). Just in... |
Forum: C++ May 18th, 2009 |
| Replies: 8 Views: 392 wow!
amrith92 - thx!!
although it wasn't ; in the end of the class that was missed, but in other place on the header, you made me look there carefully enough to put attention to that.
thx also... |
Forum: C++ May 18th, 2009 |
| Replies: 8 Views: 392 first - thx.
about the line - i know, but it is the first line in the file! (after #include.. and some comments)
about vs6 - that i also know, but it is a compiler that is close enough to the... |
Forum: C++ May 18th, 2009 |
| Replies: 8 Views: 392 hi!
i've got a problem i can't understand. i hope someone could help me.. :/
i've got this error:
syntax error : missing ';' before 'tag::id'
on this line in the code:
Graph :: Graph (char... |
Forum: Storage Jan 6th, 2009 |
| Replies: 6 Views: 876 thx!
can u explain a little how to do it? :) |
Forum: Storage Dec 29th, 2008 |
| Replies: 6 Views: 876 more something, i've done the copy with the total commander twice, and there was some pictures that wasn't in the first time.. |
Forum: Storage Dec 29th, 2008 |
| Replies: 6 Views: 876 i'm using windows XP and also ubuntu.
the pics are jpg.
thx! |
Forum: Storage Dec 28th, 2008 |
| Replies: 6 Views: 876 i'm new here, so i hope i put it in place..
i have a cd from 2 years ago, of picturs.
when i tried to open it i couldn't see my picturs.
i tried to copy it to the computer with "total... |
Forum: C++ Aug 23rd, 2008 |
| Replies: 9 Views: 1,979 hi!
I have now this problem too.
Could you explain how can I get those things you were talking about? |