Forum: C++ Jul 20th, 2009 |
| Replies: 10 Views: 435 And one more question.How should I pronounce the first name of C++'s inventor,Bjarne strostroup? |
Forum: C++ Jul 18th, 2009 |
| Replies: 10 Views: 435 Hey I think with that big code,the question can't be seen but please pay attention there is a question in the post above! |
Forum: C++ Jul 17th, 2009 |
| Replies: 10 Views: 435 OK.I found a code one the internet with a lot of suffer(your lazy link was forbidden for me niek)And I changed it to be generic and overloaded [] operator for it,too.Here's the code:... |
Forum: C++ Jul 17th, 2009 |
| Replies: 10 Views: 435 I simply wrote nothing.I just wanted to ask how to write a heap but you are confusing me and yourself with your posts.Just tell me how to write a heap data structure class in C++.I don't know what... |
Forum: C++ Jul 17th, 2009 |
| Replies: 10 Views: 435 I tried to write a Heap in C++ but I couldn't so I googled about it but I found nothing useful so I came here to know that is there somebody who can help me to write a binary heap data structure that... |
Forum: C++ Jul 17th, 2009 |
| Replies: 10 Views: 435 Hi
I'm trying to write a heap data structure but I have no idea how to do this.Could Someone help?
thanks |
Forum: C++ May 23rd, 2009 |
| Replies: 9 Views: 682 Hey sidd aaaaaaah...does OP mean me?
and thank you for the link dragon |
Forum: C++ May 22nd, 2009 |
| Replies: 9 Views: 682 Hi people
Could someone tell me what is the difference between runtime and compiletime polymorphism?
thanks alot |
Forum: C++ Apr 21st, 2009 |
| Replies: 1 Views: 213 Hi
I have two questions?
1-Is the quality of a picture related to its number of pixels?(I know its not related to c++)
2-Is it possible to work with individual pixels of a picture via c++?
thanks |
Forum: C++ Apr 19th, 2009 |
| Replies: 3 Views: 226 Hi pals
I have three qestions
1-Is it possible to overload {} operator?
2-What is the benefit of using function objects other than functions?
3-How can i access CPU serial number and such a... |
Forum: C++ Mar 24th, 2009 |
| Replies: 8 Views: 600 Hi
I just finished reading C++ the complete reference by herb schildt (almost a quarter ago)so i feel i can program in c++ but i don't know what to write.could you give me some problems that their... |
Forum: C++ Mar 18th, 2009 |
| Replies: 9 Views: 585 Come on man,I considered c++ programmers smarter.
its just an example of a pointer. |
Forum: C++ Mar 18th, 2009 |
| Replies: 9 Views: 585 To ArkM:
I know i must write sth like this in the prototype:
but i don't know what should write after the return command.I tried return *s,&s,s but all of them ware wrong.
To siddhant3s:
I... |
Forum: C++ Mar 18th, 2009 |
| Replies: 9 Views: 585 And one more question.
How can i gain some information about ANSI/ISO c++ standard and the compilers that support it?
thanks again |
Forum: C++ Mar 18th, 2009 |
| Replies: 9 Views: 585 Hi
Could you explain a little about the topic?
thanks |
Forum: C++ Feb 16th, 2009 |
| Replies: 7 Views: 292 In fact i meant the most useful ones and not like most of tutorials that in the first step gives you a lot of code to read and understand.
in fact something that explains every function(most useful... |
Forum: C++ Feb 16th, 2009 |
| Replies: 7 Views: 292 really thank you niek_e :)
wow what a suggestion.what a site :-O
I didn't know google's address!:angry: |
Forum: C++ Feb 16th, 2009 |
| Replies: 7 Views: 292 Hi people
Can someone introduce me a website or e-book (but not a book) that explains each windows API function or data type or...one-by-one?
thanks |
Forum: C++ Feb 12th, 2009 |
| Replies: 5 Views: 371 and one more thing...
Could you explain a little about the whole algorithm.you know if i wanna learn c++ i must know these things too and tell what are those lines in your second code tag.
thanks |
Forum: C++ Feb 12th, 2009 |
| Replies: 5 Views: 371 Hey there are some problems.
1-if i place the definition of your class's functions and variables in another file,The compiler you know can't...ahhh...find them.No i tried as you said and it came up... |
Forum: C++ Feb 11th, 2009 |
| Replies: 5 Views: 371 Hey I want a code for a please wait with dots in front of it (writes some and delete them and starts again) or a / or \ that rounds.
thanks |
Forum: C++ Feb 9th, 2009 |
| Replies: 3 Views: 589 Hey men is it possible to build your own operator with your own definition and your own symbol for every type? |
Forum: C++ Feb 7th, 2009 |
| Replies: 4 Views: 412 Hey when i understood what is QT i really was dying of joy but when i understood it is 108MB i really got shocked.you know my internet is 50.6 Kbps and the fastest internet i can access is 128Kbps... |
Forum: C++ Feb 7th, 2009 |
| Replies: 4 Views: 412 Hello
I wanna ask is it possible to to us vb for building a program's GUI and c++ for its coding? |
Forum: C++ Feb 6th, 2009 |
| Replies: 5 Views: 630 good time people
I have a code like the one below:
#include <vector>
#include <stdio.h>
#include "mymath.h"
using namespace std;
int main(){
int n;
char a='y'; |
Forum: C++ Feb 4th, 2009 |
| Replies: 22 Views: 1,376 seems you just read the first page.
anyway.yes its correct but as i said i got it working
but thank you |
Forum: C++ Feb 3rd, 2009 |
| Replies: 22 Views: 1,376 I know you are tired of writing in this thread but I wanna tell you that finally i got my code working.
I'm not humble enough to prevent myself to tell that mine worked faster than yours.
here's... |
Forum: C++ Feb 1st, 2009 |
| Replies: 22 Views: 1,376 Hey bevox.With respect to you,I've changed your code a little and now it can find perfect numbers,too.
#include <iostream>
#include <vector>
#include <cstdlib>
using namespace std;
struct... |
Forum: C++ Feb 1st, 2009 |
| Replies: 22 Views: 1,376 And
Amicable pairs and perfect numbers are really close.you know them so there is no need for an explanation.So you can find them with one program.notice this part of my code:
if(sum2==i){
... |
Forum: C++ Feb 1st, 2009 |
| Replies: 22 Views: 1,376 In fact i meant my own code not yours.and if you read and understand mine completely you will see that it is supposed to find both perfect numbers and amicable pairs in the interval.in fact i was... |
Forum: C++ Jan 31st, 2009 |
| Replies: 22 Views: 1,376 AAA.and one more thing.my code says that the sum of 6's divisors except itself is 12 but it is proved that it is 6.(you know 1+2+3=6).
its not only this.you know 6 is a perfect number.when i give 1... |
Forum: C++ Jan 31st, 2009 |
| Replies: 22 Views: 1,376 jesus its really hard to understand your algorithm.
for example what is this scope thing.
and a problem.maybe its not important but i think you love fixing it.
your code finds every pair four... |
Forum: C++ Jan 29th, 2009 |
| Replies: 22 Views: 1,376 #include <conio.h>
#include <iostream>
using namespace std;
int main(){
char c='y';
int sum1=0,sum2=0,ai=0,pi=0;
do{
int start,end;
cout<<"Enter a number to begin... |
Forum: C++ Jan 29th, 2009 |
| Replies: 22 Views: 1,376 I changed the array declaration and now the value is not negative but the answer is the same as my last post.
And are you sure you are using Visual Basic?
And thanks |
Forum: C++ Jan 29th, 2009 |
| Replies: 22 Views: 1,376 I did as you recommended but now when I run it,after entering the values in the console window,I get the message: |
Forum: C++ Jan 28th, 2009 |
| Replies: 22 Views: 1,376 Hey men
When i wanna run the code below,i get the famouse don't send message and i use code::blocks 8.02
#include <conio.h>
#include <iostream>
using namespace std;
int main(){
int... |
Forum: C++ Jan 14th, 2009 |
| Replies: 10 Views: 994 In fact when I wanted to download code::blocks,I just searched download code::blocks and I don't know what you mean chris.
and rubina what do you exactly mean by "hi"? |
Forum: C++ Jan 14th, 2009 |
| Replies: 10 Views: 994 I installed it right and if you mean selected compiler in compiler and debugger settings,the borland c++ compiler is selected.I changed it but still no answer.
and I used <vector> too but it came up... |
Forum: C++ Jan 14th, 2009 |
| Replies: 10 Views: 994 But I have problem with code::blocks and microsoft visual c++,too.
In fact my code::blocks that its version is 8.02 doesn't compile at all.
and my microsoft visual c++ (v 6) doesn't know some... |
Forum: C++ Jan 13th, 2009 |
| Replies: 10 Views: 994 Hi ladies and gentle men
I wanna use bloodshed dev-c++ 4.9.9.2 but when i wanna launch it,before anything happens,a dialog box comes up and says:
and in my dev-c++'s bin file there is just one... |