Forum: C++ Sep 12th, 2009 |
| Replies: 20 Views: 1,083 You got that right
dev c++ you can find it here (1st page in google for "dev c++")
http://www.bloodshed.net/devcpp.html
Im a novice myself so I feel somehow uncomfortable with your... |
Forum: C++ Sep 12th, 2009 |
| Replies: 20 Views: 1,083 wow, a lot to read I wonder if he will.... you are kinda being selfish if you expect him to read it all.
c-style strings like this
char * myChar = "some text" is avaible due
1. is valid C... |
Forum: C++ Sep 11th, 2009 |
| Replies: 3 Views: 200 I dont understand what you trying to do |
Forum: C++ Sep 11th, 2009 |
| Replies: 5 Views: 493 mmm, see this part at line 92
char letterToLookup = crypt[i];
letPos = findPositionOf ( letterToLookup, table );
crypt[ i ] = table[ letPos ];
shouldn't you use crypt[ i ] =... |
Forum: C++ Aug 30th, 2009 |
| Replies: 5 Views: 226 Here are the results
writting
int ** pp;
int * p;
int v = 5;
p = &v; //you say "pointers point to references "
*pp = p; //Therefore, you could say *pp = p , because "p"
... |
Forum: C++ Aug 30th, 2009 |
| Replies: 5 Views: 226 |
Forum: C++ Aug 29th, 2009 |
| Replies: 5 Views: 226 I have the following code and it wont compile, it says no matching function for call to `autop::autop(autop)' at this part autop j = f();
I don't understand why the copy constructor wont accept... |
Forum: C++ May 11th, 2009 |
| Replies: 3 Views: 234 good, thanks I should've seen that
the morale is dont let garbage printed on the screen fool you even if it looks extremly similar too what you expect |
Forum: C++ May 10th, 2009 |
| Replies: 3 Views: 234 I have this code:
in my judgement it should print 1 and 2, instead it prints 0 and 1
some advice pls... Im using dev c++
#include <iostream> |
Forum: C++ Dec 10th, 2008 |
| Replies: 3 Views: 460 This is an excersice from the book "C++ In action" you can google for the book title and it will take you to its official site where you can find the book also the source Code, I will look at it to... |
Forum: C++ Dec 10th, 2008 |
| Replies: 8 Views: 5,240 Jaja You right didnt pay attention. |
Forum: C++ Dec 8th, 2008 |
| Replies: 3 Views: 460 yea sry It was a typo when I was making thread I didnt cut and paste documents name the correct name for List.h is sList.h |
Forum: C++ Dec 8th, 2008 |
| Replies: 3 Views: 460 Im trying to make this Hash Table to work, but I get these errors on linking time
main.obj : error LNK2019: unresolved external symbol "public: __thiscall List::~List(void)" (??1List@@QAE@XZ)... |
Forum: C++ Dec 8th, 2008 |
| Replies: 8 Views: 5,240 I dont think you explained right. Maybe take more time to explain it
Did you solve this already? |
Forum: C++ Dec 5th, 2008 |
| Replies: 2 Views: 270 pretty good answer GOT IT ! thx |
Forum: C++ Dec 4th, 2008 |
| Replies: 2 Views: 270 Ah right! Im on my first steps on c++, What Im trying to do is
have this "basic node" class wich just take an id and from there
usign inheritance make "linked list node" and "binary tree node"... |
Forum: C++ Dec 3rd, 2008 |
| Replies: 18 Views: 1,095 It worked wonders, just a lil bit confused why the extra pointer indirection was needed but I think that'll come in the future |
Forum: C++ Dec 2nd, 2008 |
| Replies: 18 Views: 1,095 I modified the program it looks like this but no doubt theres something wrong as it wont output anything I await your wisdom guys
#include <iostream>
#include <cstring>
using std::cin;
using... |
Forum: C++ Dec 2nd, 2008 |
| Replies: 18 Views: 1,095 well thank you all for answering.
"and in other news".. I know .. "Have the feeling" its been answered tons of time but kinda not my fault;
I cheked many introduction texts about that and they... |
Forum: C++ Dec 1st, 2008 |
| Replies: 18 Views: 1,095 it works!! .. and I heard of that before but got confused cuz the thing I did was to Initialize char * string1 = "longer than string2" and evrything else the same and it didnt work either so I... |
Forum: C++ Dec 1st, 2008 |
| Replies: 18 Views: 1,095 void StrCpy(char * Dest , char* Src )
{
while(*Src){
*Dest = *Src++;
cout << *Dest ++;
}
} |