Search Results

Showing results 1 to 39 of 39
Search took 0.01 seconds.
Search: Posts Made By: hollystyles ; Forum: C++ and child forums
Forum: C++ Jan 30th, 2008
Replies: 7
Solved: program problem
Views: 827
Posted By hollystyles
He he, I didn't have a C++ teacher! I do know what labels are but I don't think I've used one for years let alone used one in C++ which is why I was stumped. I should have STFW ;)
Forum: C++ Jan 30th, 2008
Replies: 7
Solved: program problem
Views: 827
Posted By hollystyles
So far your friend is right then!

Ooh that's so cruel.

What is 'start:' I'm no c/c++ expert but that doesn't look like valid syntax to me.

Also you need to prefix cout with std:: or put a...
Forum: C++ Jan 10th, 2008
Replies: 5
Views: 770
Posted By hollystyles
It depends what platform your building your game for. C++ doesn't know about 'mice'

If you're creating your game for Windows, you need to look at the Win32 API. Particularly the message loop or...
Forum: C++ Oct 11th, 2007
Replies: 5
Views: 3,476
Posted By hollystyles
Because you #include "myheader.h" at the top of the cpp file. #include tells the pre-processor to bung the code in "myheader.h" right there.

Yes you can call the header whatever you like, but why...
Forum: C++ Oct 10th, 2007
Replies: 6
Views: 3,349
Posted By hollystyles
You have to remember the extra slot for the null terminator '\0'
Forum: C++ Sep 26th, 2007
Replies: 20
Views: 1,622
Posted By hollystyles
Choose 'Compile and Run' from the Execute menu item.

I would have recommended Visual C++ Express debugging is easier (but that's just my opinion) :)


EDIT: Cripes i'm slow sometimes !!!!
Forum: C++ Sep 25th, 2007
Replies: 9
Views: 843
Posted By hollystyles
Also you're concentrating on the solution domain instead of the problem domain

You have identified you need a grid, you have decided to represent this in memory as an array. But you are using C++...
Forum: C++ Sep 25th, 2007
Replies: 9
Views: 843
Posted By hollystyles
One of the hardest things for any developer is getting started. It's known as 'Analysis Paralysis' I find that one of the best techniques for breaking this impasse is to prototype. Take what you've...
Forum: C++ Sep 11th, 2007
Replies: 16
Views: 7,117
Posted By hollystyles
Writing a stable production quality compiler single handedly? yes I agree with these setiments. But, we shouldn't put the OP off too readily. Researching and creating a limited compiler that works on...
Forum: C++ Sep 11th, 2007
Replies: 16
Views: 7,117
Posted By hollystyles
Have you seen this one ?

http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf

Did you search this forum? this topic has been discussed already and there are more links to be had there:
...
Forum: C++ Aug 20th, 2007
Replies: 8
Views: 870
Posted By hollystyles
But like everyone else points out it's kind of nonsense, because 1. why would you ever need to do that anyway? Obfuscation? other than that I can't think of anything. and 2. it's contrary to the...
Forum: C++ Aug 20th, 2007
Replies: 8
Views: 870
Posted By hollystyles
1. j= (i++) + (i++);

Compiles to machine instructions in this order:

j = 10 + 10
i = 10 + 1
i = 11 + 1

2. and 3.
Forum: C++ Aug 20th, 2007
Replies: 8
Views: 870
Posted By hollystyles
It's the order that the sums and increments are executed. In each expresion you listed there are different addition operations to be done and depending on what order you do them effects the result....
Forum: C++ Mar 16th, 2007
Replies: 4
Solved: what's wrong?
Views: 918
Posted By hollystyles
type the code tags in capital letters.
Forum: C++ Aug 3rd, 2006
Replies: 7
Views: 2,309
Posted By hollystyles
You gotta get the degree or some well known diploma or other qualification that's a definite, cos you need to get to the interview room at a minimum. Agencies are a good source of knowledge about the...
Forum: C++ Aug 2nd, 2006
Replies: 8
Views: 3,378
Posted By hollystyles
moe1983, What tools have you been given to complete this project ?
Forum: C++ Aug 2nd, 2006
Replies: 8
Views: 3,378
Posted By hollystyles
I can help you, see that link called 'the basics' in my signature ? I recommend you read that.
Forum: C++ Jul 27th, 2006
Replies: 2
Views: 1,932
Posted By hollystyles
Prime numbers comes up quite a lot, have you searched the forum ?

http://www.daniweb.com/techtalkforums/showthread.php?t=43892&page=2&highlight=prime+number
Forum: C++ Jul 26th, 2006
Replies: 6
Views: 6,132
Posted By hollystyles
it is a good book for learning c++ and yes it covers Object Oriented concepts particularly well. What I liked about it is it also explains a little about hardware and memory and analysis and design...
Forum: C++ Jul 20th, 2006
Replies: 5
Views: 1,195
Posted By hollystyles
The links Ancient Dragon gave you include downloadable code. Sheesh!
Forum: C++ Jul 17th, 2006
Replies: 8
Views: 1,216
Posted By hollystyles
This is exactly why you should get a book. it is a constant reference, tutorials and developer forums are often a pile of dung full of bad programming examples and dumb posts like some in this...
Forum: C++ Jul 14th, 2006
Replies: 3
Views: 2,175
Posted By hollystyles
Check your compiler optimisation switches in project properties or something (I havn't used VC++ ide ever but I guess they're in there somewhere)

If you look here:...
Forum: C++ Jul 12th, 2006
Replies: 10
Views: 6,751
Posted By hollystyles
Yeah that's right. If you can post here you're on the interweb thingy so go to that google thingy and search 'binary tree' and you get links like this:
...
Forum: C++ Jul 11th, 2006
Replies: 8
Views: 1,216
Posted By hollystyles
If you have windows go here;

http://www.bloodshed.net/index.html

It's a free C and C++ IDE and compiler (it's the windows port of Linux's GCC or something like that). Install it then do this...
Forum: C++ Jul 10th, 2006
Replies: 18
Views: 3,031
Posted By hollystyles
Write the error to a text log file before exiting ?
Forum: C++ Jul 8th, 2006
Replies: 18
Views: 3,031
Posted By hollystyles
This explains it quite nicely

http://www.gidnetwork.com/b-61.html
Forum: C++ Jul 6th, 2006
Replies: 18
Views: 3,031
Posted By hollystyles
There's some strange people on this planet!
Forum: C++ Jul 5th, 2006
Replies: 4
Views: 1,938
Posted By hollystyles
I recommended some books in this thread:
http://www.daniweb.com/techtalkforums/thread49196.html

You gotta have at least one book, there's stuff all over the net just search OOP or Object Oriented...
Forum: C++ Jul 5th, 2006
Replies: 4
Views: 1,938
Posted By hollystyles
One of the best things you can do is read other peoples code, I try to do it every day. Don't stick to one language read as many and have a go at as many as possible. Examples in books may seem...
Forum: C++ Jun 30th, 2006
Replies: 7
Views: 2,835
Posted By hollystyles
Ok I get it now.

#include <iostream>

class A
{
public:
int x;
};
Forum: C++ Jun 30th, 2006
Replies: 7
Views: 2,835
Posted By hollystyles
Is this an internet resource? can you point me to the URL I can't find anything that relates to what you are trying to do.
Forum: C++ Jun 30th, 2006
Replies: 7
Views: 2,835
Posted By hollystyles
Yes b is of type A but you are trying to assign the address of b.d which is an int.


Also A is a class, where as b is an instance of class A. Which are you trying to point to ?
Forum: C++ Jun 30th, 2006
Replies: 7
Views: 2,835
Posted By hollystyles
Where are you getting this from?

int A::*p = &(A::d);

In C you declare Type <variable name> ;
so to declare a pointer to an integer using the * dereference symbol you do this:

int * p =...
Forum: C++ Mar 31st, 2006
Replies: 4
Views: 3,667
Posted By hollystyles
This was the old way of doing it using CGI, you create an exe in C++ or some other suitabe language say PERL) This is put in a special directory on the web server (the cgi bin) and you call it from...
Forum: C++ Jul 13th, 2005
Replies: 9
Views: 2,673
Posted By hollystyles
Dev-C++ I'm using that too.

I've installed Cygwin on my windows XP as well so I can use the gnu compiler gcc and compile for linux.

My biggest problems so far are compiling .lib and .dll and...
Forum: C++ Jul 13th, 2005
Replies: 9
Views: 2,673
Posted By hollystyles
Hi Decessus,

Good for you. How are you feeling so far ? I've been programming in general 6 years now and I still feel lost a lot of the time !!

What lead you to learn programming ? have you...
Forum: C++ Jul 13th, 2005
Replies: 9
Views: 2,673
Posted By hollystyles
I might be persuaded as a C++ beginner. Have you written any smaller games before now?

Tell me a bit more about your idea.
Forum: C++ Mar 11th, 2005
Replies: 11
Views: 23,189
Posted By hollystyles
I've used Bloodshed too, very good for beginners.

If you like bells and whistles Microsofts EVT C++ is free from their site, It's designed to compile for programming mobile devices like...
Forum: C++ Mar 9th, 2005
Replies: 8
Views: 3,467
Posted By hollystyles
Compile runs the preprocessor and then turns your source code into object code.

Building involves the above step but also the linker which links all the compiled object code together into one exe...
Showing results 1 to 39 of 39

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC