Search Results

Showing results 1 to 40 of 40
Search took 0.02 seconds.
Search: Posts Made By: Geek-Master ; Forum: C++ and child forums
Forum: C++ Feb 4th, 2008
Replies: 21
Views: 6,814
Posted By Geek-Master
Hey Narue,

Where does the pointer exist once it has been created, in RAM or the CPU?
Forum: C++ Jan 10th, 2008
Replies: 21
Views: 6,814
Posted By Geek-Master
I think it is pretty said that I am finally getting around to what 1o0oBhP was pointing me to back in 2005. I have been looking into data structures using linked lists, binary trees and B-trees...
Forum: C++ Sep 17th, 2007
Replies: 6
Views: 1,732
Posted By Geek-Master
So the return is mainly used for automation of individual programs in a batch or bash script. I've not focused much on C++ since I work in a Windows environment, but I can use that bit of info Salem.
Forum: C++ Sep 17th, 2007
Replies: 6
Views: 1,732
Posted By Geek-Master
When you do use main to return an integer, that number that is sent back to the OS, how is it used? I know it is on the lines of error handling, 0 for no-errors and not 0 for errors.
Forum: C++ Sep 16th, 2007
Replies: 6
Views: 1,732
Posted By Geek-Master
I am running Ubuntu and compiling my C++ code using g++. For some reason I can't get it to compile my source code using VOID MAIN. It is always telling me that I must use INT instead. This isn't life...
Forum: C++ Jan 23rd, 2006
Replies: 6
Views: 34,118
Posted By Geek-Master
I checked out the C++ Standard Library book from my college to see if they had anything on 2D vectors. To my surprise there were none.

I also did some research on the net to find anything 2D...
Forum: C++ Jan 23rd, 2006
Replies: 6
Views: 34,118
Posted By Geek-Master
So is this the way you declare the size of a 2D Vector?


#include <vector>
using namespace std;

vector<vector<int> > items[5][5];


I didn't get a syntax error on it. So does it create a...
Forum: C++ Jan 22nd, 2006
Replies: 10
Views: 2,995
Posted By Geek-Master
Since weight is of Private Access you can't directly initialize it.

So an Initialization list has the ability to indirectly access the data member weight and maintain encapsulation, right?
Forum: C++ Jan 22nd, 2006
Replies: 6
Views: 34,118
Posted By Geek-Master
How do you make a 2D Vector?
Forum: C++ Jan 22nd, 2006
Replies: 10
Views: 2,995
Posted By Geek-Master
Oh so my first post was using an initializing list. I was under the impression that it was the same as an assignment constructor, just written in "shorthand" I thought. So when you use an assignment...
Forum: C++ Jan 22nd, 2006
Replies: 10
Views: 2,995
Posted By Geek-Master
I believe you are reading too far into my question. I appreciate your help. Let me define my question more specifically.

One person defined a class constructor this way:

Critter::Critter(int...
Forum: C++ Jan 22nd, 2006
Replies: 10
Views: 2,995
Posted By Geek-Master
I know what constructors do, that wasn't my question. My question was why did they write it this way.

Is it shorthand? If so, is there a long way of writing it?
Forum: C++ Jan 19th, 2006
Replies: 10
Views: 2,995
Posted By Geek-Master
I've been reading through a beginning chapter on classes and I have come upon this below:

class Critter
{
public:
Critter(const string& name = ""): m_Name(name) {}
...
};

I was...
Forum: C++ Jan 19th, 2006
Replies: 2
Views: 1,609
Posted By Geek-Master
Well I want to take classes in C++. A computer science degree would rock, but if there is an emphasis on Game Dev then I would be very happy to pursue that college. Since this is the location for C++...
Forum: C++ Jan 18th, 2006
Replies: 2
Views: 1,609
Posted By Geek-Master
Does anyone know of a college in Georgia that offers a complete online BS in Game Development or Computer Science?
Forum: C++ Dec 9th, 2005
Replies: 2
Views: 4,066
Posted By Geek-Master
Here are some steps I would take:

1. Setup Coordinate Parameters and Direction Flags

If you are in full screen mode then all you will need to do is obtain the screen size i.e.(800x600).

If...
Forum: C++ Feb 13th, 2005
Replies: 2
Views: 12,514
Posted By Geek-Master
your way is a lot better. That way I can make that a function and call for it when I need it. Cool, thanks a lot Narue.
Forum: C++ Feb 13th, 2005
Replies: 2
Views: 12,514
Posted By Geek-Master
I've been playing around with files and streams and just hit a pot hole.

My goal is to be able to input time and date into a file when say someone "clocks in/out". Just a little program that will...
Forum: C++ Jan 4th, 2005
Replies: 21
Views: 6,814
Posted By Geek-Master
Pointers are still a vast subject that I am still working on to learn. I still need time to look over all of the technical writing of it all. I just needed to grasp the purpose of them.


by:...
Forum: C++ Jan 3rd, 2005
Replies: 21
Views: 6,814
Posted By Geek-Master
I have been reading about pointers, which IS confusing. I'm sure there is a purpose, but I don't know why I need them yet. For example


var1 = 23; // assigning 23 to var1
var2 = var1; ...
Forum: C++ Dec 30th, 2004
Replies: 29
Views: 9,153
Posted By Geek-Master
I feel horrible about how long this "tutorial" on cls, went. I want to thank all of you who helped me. I learned more than just being able to clear the output on the screen. Narue's example was...
Forum: C++ Dec 29th, 2004
Replies: 29
Views: 9,153
Posted By Geek-Master
Thanks for the Hyperlink, this will reduce future trouble I might have with my compiler.
Forum: C++ Dec 29th, 2004
Replies: 29
Views: 9,153
Posted By Geek-Master
Thanks, I've been wondering about the header files, "where's the code for the things I'm calling", if there was more to it. I'll be checking if "Bill" is even there.
Forum: C++ Dec 29th, 2004
Replies: 29
Views: 9,153
Posted By Geek-Master
yes, yes i did

I've tried it on both Dev-C++ 4 Bloodshed, and Quincy 2002's compilers. Both give me the same exact errors.
Forum: C++ Dec 29th, 2004
Replies: 29
Views: 9,153
Posted By Geek-Master
untitled1.o.(.text+0xc):untitled1.cpp: undefined reference to `clrscr'

Am I supposed to alter the header file, I guess to define it?
Forum: C++ Dec 29th, 2004
Replies: 29
Views: 9,153
Posted By Geek-Master
To Narue: in your own opinion, what would be a good compiler to use?

I'm just in a learning phaze. I'm not making anything grand right now, but I'm just making simple things and learning from...
Forum: C++ Dec 29th, 2004
Replies: 29
Views: 9,153
Posted By Geek-Master
when I use clrscr(); it gives me a linker error that it's undefined. Could this be an issue with my library? I'm using Dev-C++ 4.
Forum: C++ Dec 28th, 2004
Replies: 9
Views: 12,674
Posted By Geek-Master
I totally understand the tasks I'm about to under go with gaming. I'll master them even if it takes 50 years, as long as I'm having fun doing it. I believe C++ is perfect for enemy AI. I'm not all...
Forum: C++ Dec 27th, 2004
Replies: 9
Views: 12,674
Posted By Geek-Master
Well the one thing I ultimatly want to do with programming is make games :cheesy: , RPGs mostly. Math is another thing I enjoy besides computers, programming, and networking...warning warning tech...
Forum: C++ Dec 27th, 2004
Replies: 9
Views: 12,674
Posted By Geek-Master
I have been playing around with different 'flavors' of programming, like QBasic, Assembly, and C++. I like all of them, but I have really begon to like C++. The only problem I have, is that I dont...
Forum: C++ Dec 25th, 2004
Replies: 29
Views: 9,153
Posted By Geek-Master
LOL, sorry to be such an 4$$ but I'm still a new guy in programming. Just trying to learn a lot at one time. Thanks for the replys.
Forum: C++ Dec 25th, 2004
Replies: 29
Views: 9,153
Posted By Geek-Master
I'm just stupid, and lovin every minute of it
Forum: C++ Dec 25th, 2004
Replies: 29
Views: 9,153
Posted By Geek-Master
Just to be sure that we are on the same page... the function should only clear the 'output' on the screen... not do anything with the actual program or command prompt. I want to create 'animation'...
Forum: C++ Dec 24th, 2004
Replies: 29
Views: 9,153
Posted By Geek-Master
Sorry to be such a gimmy gimmy... but I couldn't find any threads on some code that clears the screen, just like DOS's 'CLS' and Bash's 'Clear'...I need a function that does the same thing as both...
Forum: C++ Dec 24th, 2004
Replies: 4
Views: 4,417
Posted By Geek-Master
Yes it did work, thanks :cheesy: . I shall "digest" this code to master C++ a little more...oh yeah ^^.
Forum: C++ Dec 21st, 2004
Replies: 4
Views: 4,417
Posted By Geek-Master
I'm still new to programming so I'll read up on vectors and your code, thanks by the way...but could I trouble you on what header to include to use that line of code? Thanks again.
Forum: C++ Dec 21st, 2004
Replies: 3
Views: 1,914
Posted By Geek-Master
Thanks, I'll check to see what other people have said on the book sellers' sites. :)
Forum: C++ Dec 21st, 2004
Replies: 4
Views: 4,417
Posted By Geek-Master
I'd like to ask if anyone knows how to randomize character variables, and if it is possible to define the possible characters it can use in the randomizing process. Any info would be excellent ^^...
Forum: C++ Dec 19th, 2004
Replies: 5
Views: 2,284
Posted By Geek-Master
I haven't tried the book your using, but I have read a great starter from SAMS. SAMS Teach yourself C++ in 24 hours 3rd Edition paper back. A friend of mine told me that it would be perfect to...
Forum: C++ Dec 19th, 2004
Replies: 3
Views: 1,914
Posted By Geek-Master
I am currently reading the SAMS Teach Yourself C++ in 24 Hours 3rd Edition. It was a nice starter for me, but I need to travel deeper into the world of C. I am not sure what book is best to buy. ...
Showing results 1 to 40 of 40

 


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

©2003 - 2009 DaniWeb® LLC