Search Results

Showing results 1 to 40 of 46
Search took 0.01 seconds.
Search: Posts Made By: sciwizeh ; Forum: C++ and child forums
Forum: C++ Apr 10th, 2009
Replies: 8
Views: 565
Posted By sciwizeh
Hello, I have a question, when does a global variable get destructed?

ex.
#include <iostream>
using namespace std;
class simple {
public:
int *i;
simple(int ni){
i =...
Forum: C++ Apr 10th, 2009
Replies: 4
Views: 430
Posted By sciwizeh
Well, now I feel dumb... I forgot the SDL_EnableUNICODE call... thanks
Forum: C++ Apr 10th, 2009
Replies: 4
Views: 430
Posted By sciwizeh
Thanks for the reply, I'll check that out in a little bit, and post results.
Forum: C++ Apr 10th, 2009
Replies: 4
Views: 430
Posted By sciwizeh
Hello all, I'm trying to make a simple text box with SDL, I have loosely based it off of The Lazy Foo Tutorial on sting input (http://lazyfoo.net/SDL_tutorials/lesson23/index.php), but this code...
Forum: C++ Feb 18th, 2009
Replies: 0
Views: 265
Posted By sciwizeh
I have the eclipse for Java developers, and I have the MinGW that's distributed with Dev-C++. I just want to know what downloads need to get from the update manager of eclipse, I also don't know how...
Forum: C++ Dec 30th, 2008
Replies: 3
Views: 923
Posted By sciwizeh
ok, i'll look into that, i was hoping that OpenGL, GLU, or GLUT would have something for it, it might, but i doubt it
Forum: C++ Dec 29th, 2008
Replies: 3
Views: 923
Posted By sciwizeh
OK, i recently got a few books on OpenGL, i also got Microsoft flight sim x, and a nice logitech joystick to use with it. so i want to try to figure out how to make OpenGL take input from the...
Forum: C++ Nov 18th, 2008
Replies: 3
Views: 2,392
Posted By sciwizeh
Thats a very weird error. Thanks
Forum: C++ Nov 17th, 2008
Replies: 3
Views: 2,392
Posted By sciwizeh
trying to use the code from an online book to learn OpenGL. i'm using Dev-C++, because i can't find a good way to get GLUT into VS 2008 PRO without muckin about in C:\windows\system32 which i try to...
Forum: C++ Sep 1st, 2008
Replies: 10
Views: 1,776
Posted By sciwizeh
thanks for the help, kinda forgot about this thread for a while, solved!
Forum: C++ Aug 30th, 2008
Replies: 12
Views: 1,221
Posted By sciwizeh
ok, thanks for the advice
Forum: C++ Aug 29th, 2008
Replies: 12
Views: 1,221
Posted By sciwizeh
i thought that
CRect *dims = new CRect;
pDC->GetClipBox(dims);
in order for GetClipBox to change it it had to be a pointer, could i have just passed &dims? i messed around a lot with it until it...
Forum: C++ Aug 29th, 2008
Replies: 12
Views: 1,221
Posted By sciwizeh
oh, ok, i'll fix that
Forum: C++ Aug 29th, 2008
Replies: 12
Views: 1,221
Posted By sciwizeh
oh, that worked, what exactly does it mean though?
Forum: C++ Aug 29th, 2008
Replies: 12
Views: 1,221
Posted By sciwizeh
it's not doing anything, i am probably missing something, here's the relevant parts of the code:
void CALLBACK EXPORT TimerProc( HWND hWnd, UINT nMsg, UINT_PTR nIDEvent, DWORD dwTime );
...
Forum: C++ Aug 29th, 2008
Replies: 12
Views: 1,221
Posted By sciwizeh
that seems perfect, but i need to figure out how to call RedrawWindow() from inside the non-member callback, how can i take the HWND and make it into something that i can call the view's function...
Forum: C++ Aug 28th, 2008
Replies: 12
Views: 1,221
Posted By sciwizeh
hello,

google, daniweb, and microsoft searches didn't help me with this so i hope that someone here will know.

i'm trying to have a method called at a fixed interval of time from the time an...
Forum: C++ Aug 28th, 2008
Replies: 10
Views: 1,776
Posted By sciwizeh
ok, i will try that. what will the boolean tell, if it worked or not, if so how would that show the error?

EDIT: i overrided the method you recommended and it worked, thanks
Forum: C++ Aug 28th, 2008
Replies: 10
Views: 1,776
Posted By sciwizeh
ok, i made an attempt to add a button to the CView. but it isn't working, no errors, just not showing up. i think i am passing something incorrectly, or i'm trying to do this in the wrong place....
Forum: C++ Aug 27th, 2008
Replies: 10
Views: 1,776
Posted By sciwizeh
ok, and got a link to how to change it at runtime?
Forum: C++ Aug 27th, 2008
Replies: 10
Views: 1,776
Posted By sciwizeh
thanka, the same for a listbox? oh, that brings another question, can list box contents be changed during runtime?
Forum: C++ Aug 27th, 2008
Replies: 10
Views: 1,776
Posted By sciwizeh
I am using Visual Studio 2008, and i am working with a single document application, it is CView Based, and i want to know how i can in addition to the view, that i will be drawing on, how i can add...
Forum: C++ Aug 22nd, 2008
Replies: 8
Views: 1,930
Posted By sciwizeh
yes but i am not dynamically allocating the array i can't find much on valarray
Forum: C++ Aug 22nd, 2008
Replies: 8
Views: 1,930
Posted By sciwizeh
thanks again for the info.

@VernonDozier that is what i needed thanks

@ArkM i'm not worried about speed at the moment, i don't want to use normal arrays because i would have to declare a set...
Forum: C++ Aug 22nd, 2008
Replies: 8
Views: 1,930
Posted By sciwizeh
thanks for the advice.

@VernonDozier i don't want to dynamically allocate the space with new.

@Alex thanks, i probably wouldn't have figured out the probable error message for a while.

so,...
Forum: C++ Aug 21st, 2008
Replies: 8
Views: 1,930
Posted By sciwizeh
I am working on a Matrix class that will eventually do a lot of stuff, but early on I have already hit a snag, how do I initialize (in a constructor) the 2D vector I have declared.
//matrix class...
Forum: C++ Aug 20th, 2008
Replies: 15
Views: 2,621
Posted By sciwizeh
again thanks for the link. is there a way to get a bitmap that represents what is currently on a panel, or picturebox, which can be altered?
Forum: C++ Aug 19th, 2008
Replies: 10
Views: 1,066
Posted By sciwizeh
as for compilers, i don't know. maybe you should post a new topic about that.
Forum: C++ Aug 19th, 2008
Replies: 15
Views: 2,621
Posted By sciwizeh
thanks for the link again.

i didn't get a DVD, i downloaded an iso file and had to burn it myself. using it just installed it. would that be the DVD i would look for samples in, wouldn't they be...
Forum: C++ Aug 19th, 2008
Replies: 15
Views: 2,621
Posted By sciwizeh
i got Pro, from dreamspark (https://downloads.channel8.msdn.com/) through Stony Brook for free. yay :)

so how does it work?
Forum: C++ Aug 19th, 2008
Replies: 15
Views: 2,621
Posted By sciwizeh
thanks for the links.

i saw somewhere someone was using a class called CDC to draw, but they didn't explain it at all, what is it?
Forum: C++ Aug 19th, 2008
Replies: 15
Views: 2,621
Posted By sciwizeh
ok, i really want to know how i can take a form and draw on it, or a component of it, with single pixels
Forum: C++ Aug 19th, 2008
Replies: 15
Views: 2,621
Posted By sciwizeh
i know i will loose portability, and it is not my concern. Microsoft Visual C++ is the win32 API, correct?

i thought VC++ was only for windows, is that incorrect?
Forum: C++ Aug 19th, 2008
Replies: 15
Views: 2,621
Posted By sciwizeh
thanks, i'm doing it because of speed issues with java.

i spent a lot of time on this project, an i will spend just as much time converting it (i hope that's a lie).
Forum: C++ Aug 19th, 2008
Replies: 15
Views: 2,621
Posted By sciwizeh
I did some quick searches of google and daniweb, but i cannot find anything on how i can do this.
instead of a long and probably misunderstood explanation i have this:...
Forum: C++ Aug 17th, 2008
Replies: 10
Views: 1,066
Posted By sciwizeh
you almost certainly not find any examples that specific. your best chance is to learn everything that you can about C++ and DirectX so that you can start form scratch.
Forum: C++ Aug 17th, 2008
Replies: 10
Views: 1,066
Posted By sciwizeh
you are right, they won't be aquarium specific, but if you learn how to do everything in the books you should be able to write your own code for your specific application.

you would need a...
Forum: C++ Aug 16th, 2008
Replies: 10
Views: 1,066
Posted By sciwizeh
i haven't read any of them, but i am sure that books will have sample code, most books that have code the code can be downloaded instead of hand typed
Amazon search for DirectX...
Forum: C++ Aug 15th, 2008
Replies: 10
Views: 1,066
Posted By sciwizeh
i doubt that there is any code specific for aquariums, or any books on it. there are undoubtedly books on DirectX, and some on AI which, with fish AI shouldn't be too hard, unless you intend to allow...
Forum: C++ Aug 15th, 2008
Replies: 4
Views: 4,158
Posted By sciwizeh
Showing results 1 to 40 of 46

 


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

©2003 - 2009 DaniWeb® LLC