Im reading the book "Tricks of the Windows Game Programming Gurus." I just now read over plotting pixels in 16bit, 24bit, 32bit colors. I know how to do them now but I dont exactly understand how 24...
Type: Posts; User: GravtyKlz
Im reading the book "Tricks of the Windows Game Programming Gurus." I just now read over plotting pixels in 16bit, 24bit, 32bit colors. I know how to do them now but I dont exactly understand how 24...
you should delete at the end too
delete test;
This should work...although its not using the header file like you want.
#include <iostream.h>
typedef unsigned long ULONG;
class P1{
public:
How can I make my program force windows to shut down? Im trying to write a program that can set a timer and restart at the end of the timer. Is there a system call? Thanks
Im trying to learn how to do some SQL databases with C. I've read some tutorials on SQL and C, but they dont go as far into detail as I would like them to. Any idea on some good tutorials? I went...
Liberty University in Lynchburg Virginia.
www.liberty.edu
http://www.liberty.edu/academics/ Courses
http://www.liberty.edu/Academics/ComputerInfoTech/ComputerScience/index.cfm?PID=185 CS site
The reason Im asking about this school is because I have a 100% paid schollarship to go there. I dont have a chance at getting something like that anywhere else. The only reason that I get that...
I dont know where that last post of mine came from...but in any case I understand now. Thanks a lot for the help.
That makes more sense....Im thinking in terms of global class so I guess it would be called at the start of the program and deconstructed at the end. I definitely prefer classes over structs now.
That makes more sense....Im thinking in terms of global class so I guess it would be called at the start of the program and deconstructed at the end. I definitely prefer classes over structs now.
Is that typically at the end of the program? Im a C programer learning C++ so Im not fluent with objects just yet.
Are constructors called as soon as the program starts and then never used again? When are Destructors called? Thanks
Does this school have a good computer Science program...its currently offering:
- C++ programming including classes, inheritance, polymorphism,
pointers, dynamic memory allocation, OOP, and basic...
I know C pretty well. Ide say im intermediate. Right now Im learning basic game programing with directx, and ive got a book ordered on winsock/networking. After one of those two books is...
that may be the next book on my list then. Thanks
Would I get a lot more from that than I would from tutorials. Im guessing the answer would be yes seeing as how its pretty long. Another question though. How much knowledge should one have before...
Some applications I use that use skins run very slow, or atleast slower than applications without skins. Does using skins use a lot of resources. Im designing an IRC service application and trying...
My question is more of how to create patches and how to design the program to accept patches. I realize this is more advanced but its just something Im looking into for the long run of what I want...
Im learning how to write win32 applications right now and Im wondering what I need to do in order to provide updates for my program.
For example....I make a program that connects to a server and...
Does anyone know of a good book/tutorial on programing sockets in windows?
const char FILE_NAME[] = "c:\\input.txt";
I did this and it works fine. Try puting the whold directory in for it. input.txt should work as long as you put it in the right place but with the...
const char FILE-NAME[] = "input.txt";
in_file = fopen(FILE_NAME, "r");
Two different variables for one thing...you're asking for something that doesnt even exist. I think FILE-NAME is an...
Thats a very broad quiestion. There are many ways to read data from a file, well maybe not too many but...depending on what way you read your data will determine how you assign your information to a...
Well that works. I have a couple questions though. I did
strcpy(*ptr2, "new"); and now ptr and array read "new". However when I print out ptr2 its some jiberish...its now "new". Why is that?
...
Im actually trying to find a way to change **ptr2 to a string rather than a character. Something like **ptr2 = "this new string"; but that doesnt work in the compiler so Im looking for an...