So then, yes it does work for my example....
Listen... I'm tired of finding this post every day over this BS. Which is better? C++ or VB? We both know the answer.
Type: Posts; User: ShadowMetis
So then, yes it does work for my example....
Listen... I'm tired of finding this post every day over this BS. Which is better? C++ or VB? We both know the answer.
PS. Would it or would it not work for my example? Don't nitpick me on something I took ten seconds between bites of my sandwich to put together.......
Can VB even make its program invisible?
I know they're too simple to need a command to show the window...... So there's no way to not put the ShowWindow command... And can they have multiple windows?
#include <iostream.h>
int main() {
cout << "Hello World!\n";
system("PAUSE");
return 0;
}
When VB becomes more complicated than C++, you have lost.
Calm down man xD. I wasn't really trying to insult you. Yes, VB is simpler. You can do it quicker and neater. I'm not saying you can't. If you really want to go into it though, C++ is still the...
VB is funny. I'm in a VB class and I learned C++ first so it's really a breeze. When we did the first "Hello World" in it I felt kind of insulted. VB doesn't deserve "Hello World"! Not good enough...
Ahhh. Thanks, man. Worked great.
This is replacing RO as my favorite game xD
I keep getting linker errors for winsock2 functions whenever I compile. I'm using DevC++ with the default compiler. It's definately not a code problem. It's got to be something in the Options...
I actually already did that. I just didn't do it until after I posted this. And I changed the font to ANSI_VAR_FONT because it just looks better.
O_O
HOLY I am sillyI am sillyI am sillyI am silly
How did I miss that.....
The number one programming mistake is forgetting the semi-colon.... and I add an extra....
Nope, would you like to try again?
#include <windows.h>
LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
...
See any other dumb errors? Now, it freezes right after it finishes going through the WM_PAINT proccess. It won't move close or respond at all.
AH!!! Duh on me, lol. Thanks alot.
The window keeps closing right away. Please tell me what I'm doing wrong. The following is a condensed version of the source for it.
#include <windows.h>
LRESULT CALLBACK WndProc (HWND, UINT,...
It says right in the title that it's Dev-C++.........
I'd still like to have my question answered...
It's pretty much directly from the book. That's why I'm scratch'n my head over it.
#include <windows.h>
LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);
int APIENTRY...
I think Silk had it. He probably means functions with return values and functions that just do what they do....(I'm not so good with the terminology....)
A collection of variables and functions, pretty much...
I always had trouble with windows programming. There aren't alot of good tutorials online for it. Nitty Gritty Windows Programming with C++ was a cheap buy on Amazon and I got the basics down within...
I continually get errors such as "[Linker error] undefined reference to `GetStockObject@4'". What does it all mean? What does it mean when it says that and what can I do to take care of it?
#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
...
There's a petition to get a pardon for her and I think it's bull. Sign my opposing petition. You can also send this chain message out to your friends.
Martha Stewart is a $$$$$. She deserves to...