Forum: C++ Jul 21st, 2009 |
| Replies: 15 Views: 449 The idea is to help him create HIS own code, not to give a possible solution ! You're not helping him with this, on the contrary ! |
Forum: DaniWeb Community Feedback Dec 28th, 2008 |
| Replies: 2 Views: 751 Well, whatta you know, I have a Home Key aswell :D
Thanks Narue ;) |
Forum: DaniWeb Community Feedback Dec 28th, 2008 |
| Replies: 2 Views: 751 Hi Danny,
Was wondering when you scrolled down all the way to read the thread you're interested in, there's no way to either go to the top of the page or push a button to go back to view the forum... |
Forum: C++ Dec 28th, 2008 |
| Replies: 5 Views: 409 Great tutorial on pointers by Narue @ Eternally Confuzzled (http://www.eternallyconfuzzled.com/tuts/languages/jsw_tut_pointers.aspx) |
Forum: C++ Dec 28th, 2008 |
| Replies: 9 Views: 3,452 Hi, allways fascinated with AI, can't help myself but maybe this place is a good place to ask for help: Gamedev_AI_Forum (http://www.gamedev.net/community/forums/forum.asp?forum_id=9)
Hope this... |
Forum: C++ Nov 11th, 2008 |
| Replies: 4 Views: 305 - Which compiler are you using ?
- Have you created a console application ?
- Is this the code you entered:
#include <iostream>
using namespace std;
int main() |
Forum: C++ Nov 11th, 2008 |
| Replies: 4 Views: 305 Doesn't seem to be anything wrong with it !
Are you having a problem with the code ending immediatly after entering a variable ?
Do use tags in the future, makes it easier to read your code. |
Forum: C++ Nov 11th, 2008 |
| Replies: 7 Views: 423 Yep, like vmanes mentioned ! |
Forum: C++ Nov 11th, 2008 |
| Replies: 7 Views: 423 - char cho ;
- After each case you have to use a break; , otherwise, the program will fall threw to each case that is presented.
- I guess you haven't shown all the code, seeing as you didn't... |
Forum: C++ Nov 11th, 2008 |
| Replies: 7 Views: 423 1 is a number.
'1' is a character.
So, it depends on which of the two you are going to use. |
Forum: C++ Oct 9th, 2008 |
| Replies: 8 Views: 602 Great tutorial on pointers: Narue's Eternally Confuzzled (Click Here) (http://www.eternallyconfuzzled.com/tuts/languages/jsw_tut_pointers.aspx)
C++ dynamically allocating memory:
int *pMyInt... |
Forum: C++ Sep 18th, 2008 |
| Replies: 4 Views: 1,625 Darn, sorry Narue. As soon as I saw your correction to my code, I felt stupid :icon_redface: |
Forum: C++ Sep 18th, 2008 |
| Replies: 4 Views: 1,625 Hi Narue,
Well, the problemis that I'm getting these error messages:
Removed error messages |
Forum: C++ Sep 18th, 2008 |
| Replies: 4 Views: 1,625 Hi all,
I have a class which contains a struct that holds some variables, string, int's.
Now, one of the variables (string) in the struct is used to compare it with a name, if the name is in... |
Forum: C++ Sep 14th, 2008 |
| Replies: 4 Views: 421 TIP !
Show what code you have written, makes it easier to see what direction you want/have to take !
Working with a an STL vector ?
Working with an array ?
... etc. |
Forum: C++ Sep 13th, 2008 |
| Replies: 5 Views: 505 Ive run your program and it gave me an error, according to my limited knowledge it's related towards going out of bound with your array.
Try using for loops:
for (int i = 0; i < (N-1); i++)... |
Forum: C++ Jan 27th, 2008 |
| Replies: 3 Views: 1,632 Ok, thanks for the explanation vmanes. |
Forum: C++ Jan 26th, 2008 |
| Replies: 3 Views: 1,632 Well, found a solution to solve the problem:
if (fin) // allready exists ?
{
cout << "Current file contents:\n";
char ch;
while (fin.get(ch))
cout << ch; |
Forum: C++ Jan 26th, 2008 |
| Replies: 3 Views: 1,632 Good evening ladies and gents,
Had a question concerning this piece of code that I'm trying out from a book, it supposed to open a file, write text to it, close it, reopen it, append text to it... |
Forum: C++ Sep 29th, 2007 |
| Replies: 3 Views: 1,068 Thank you for the explanation and examples gentlemen :) |
Forum: C++ Sep 29th, 2007 |
| Replies: 3 Views: 1,068 Hello ladies and gents,
Got a question, is it wise to create a member of a class by using another class it's constructor and deleting it threw the use of that class it destructor?
For example:... |
Forum: C++ Sep 25th, 2007 |
| Replies: 2 Views: 2,316 Hi Narue,
Great to see you're stilll around here.
>It looks fine, why do you ask?
Because I wasn't sure Narue.
>It's just your debugger's way of saying that mName isn't ready to be used... |
Forum: C++ Sep 25th, 2007 |
| Replies: 2 Views: 2,316 Hello ladies and gents,
It's been ages since I posted here, have been doing some coding on and of and I was wondering about the following, beneath is a test I made in trying to use the new... |
Forum: C++ Jan 23rd, 2007 |
| Replies: 25 Views: 3,779 Hi Dave, I understand what you're saying, but the examples that I gave are how they are given in the exercise for the Bjarne Stroustrup The C++ Programming Language, there isn't anything mentioned... |
Forum: C++ Jan 21st, 2007 |
| Replies: 25 Views: 3,779 Hello ladies and gents,
Ive got a few more expressions I needed to fully parenthesize:
1) *p++ becomes *(p++)
2) *--p becomes nothing
if *--p would have been --*p:
--*p OR--(*p) would... |
Forum: C++ Jan 21st, 2007 |
| Replies: 11 Views: 2,859 Hi Ravalon :cheesy:
Ok, that's what I needed to know.
When you speak of "new code", you do mean "new code" written by those compiler developers right? If not, then yeah, you got me... |
Forum: C++ Jan 21st, 2007 |
| Replies: 11 Views: 2,859 Hi Dave,
You're speaking of the C90 list, but yet, the Draft shown is C89, am I missing something?
Also, what is actually C89, C90, etc... all about, are they like definitions of what C/C++... |
Forum: C++ Jan 20th, 2007 |
| Replies: 11 Views: 2,859 Thank you both for the help gentlemen :!: |
Forum: C++ Jan 20th, 2007 |
| Replies: 11 Views: 2,859 Nope, can't find it, opened parent directory, searched for anex J, doesn't seem to be in the list. |
Forum: C++ Jan 20th, 2007 |
| Replies: 11 Views: 2,859 Hi Salem,
Thanks for the link, but, to me, it reades rather abstract and doesn't really tell me if what I wrote was correct.
Can you tell me whether the following examples are examples of... |
Forum: C++ Jan 20th, 2007 |
| Replies: 11 Views: 2,859 Hello ladies and gents,
Gotta few questions if you don't mind:
1) Exc_6_4) Wrote a table of values for the bitwise logical operators and was wondering if any of you could check them out whether... |
Forum: C++ Jan 7th, 2007 |
| Replies: 25 Views: 3,779 Well, I actually don't have a credit card :cheesy: And yeah, like Bench said, in what kind of restaurants do you go and eat :lol:
It's not that I dislike it, on the contrary, it shows that... |
Forum: C++ Jan 7th, 2007 |
| Replies: 25 Views: 3,779 Nope, didn't know that s.o.s, thanks for that.
I'd appreciate it if you didn't call me Mr. Jobe, makes me feel old and superior somehow, either JoBe or Johan(my real name) will do ;)
I... |
Forum: C++ Jan 7th, 2007 |
| Replies: 25 Views: 3,779 Yep, tried that and it worked, but, as you say, there is no explanation as to what the variables represent, pointers or numbers. |
Forum: C++ Jan 7th, 2007 |
| Replies: 25 Views: 3,779 Hi Ravalon ;)
Darn :cheesy:
Well, you know Bjarne, cheeky fella :cheesy:
Darn Darn :cheesy: |
Forum: C++ Jan 7th, 2007 |
| Replies: 25 Views: 3,779 |
Forum: C++ Jan 7th, 2007 |
| Replies: 25 Views: 3,779 Hello ladies and gents,
Ive got an exercise in which I have to fully parenthesize expressions using the higher-lower precedence, for instance:
a+b*c would become (a+(b*c)) because... |
Forum: C++ Jan 6th, 2007 |
| Replies: 4 Views: 1,219 Yep, that did the trick Bench, thank you :!: |
Forum: C++ Jan 6th, 2007 |
| Replies: 4 Views: 1,219 I do believe it is related to Intellisense, because when I enter for instance
std:: I get a message: 'No additional information available'. It's that information I want again.
In the past, when I... |
Forum: C++ Jan 6th, 2007 |
| Replies: 4 Views: 1,219 Hello ladies and gents,
Was wondering if any of you could help me out with the following, sometime ago I had to reinstall MS V++ EE and ever since then, when I enter for instance 'std::' or 'cin.'... |