Home | Community | Message Board

Kratom Eye
This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Myyco.com Shop: Golden Teacher Liquid Culture For Sale

Jump to first unread post Pages: 1
C++ compiler that does not require any service packs?
    #6866315 -

I just got the newest Borland C++ compiler and it is telling me I need IE 6 SP1 to be able to even install it, welllll you need a legit copy of XP to aquire updated IE

what do I do?


--------------------
---------------------------------------------------
Sit up and meditate, there's no time to contemplate.
-------------------------------------------------
I have an international Hitech Psytrance project with a friend: BioChronic
I make various form of Psytrance as a solo Project Dendriform

Extras: Filter Print Post Top
Re: C++ compiler that does not require any service packs? [Re: Psy Baba]
    #6866352 -

ok, well I Got Dev-C++ 5 (currently beta)

And beginning a new project it automatically has this.


#include <windows.h>

/* Declare Windows procedure */
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);

/* Make the class name into a global variable */
char szClassName[ ] = "WindowsApp";

int WINAPI WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nFunsterStil)

{
HWND hwnd; /* This is the handle for our window */
MSG messages; /* Here messages to the application are saved */
WNDCLASSEX wincl; /* Data structure for the windowclass */

/* The Window structure */
wincl.hInstance = hThisInstance;
wincl.lpszClassName = szClassName;
wincl.lpfnWndProc = WindowProcedure; /* This function is called by windows */
wincl.style = CS_DBLCLKS; /* Catch double-clicks */
wincl.cbSize = sizeof (WNDCLASSEX);

/* Use default icon and mouse-pointer */
wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);
wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);
wincl.hCursor = LoadCursor (NULL, IDC_ARROW);
wincl.lpszMenuName = NULL; /* No menu */
wincl.cbClsExtra = 0; /* No extra bytes after the window class */
wincl.cbWndExtra = 0; /* structure or the window instance */
/* Use Windows's default color as the background of the window */
wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND;

/* Register the window class, and if it fails quit the program */
if (!RegisterClassEx (&wincl))
return 0;

/* The class is registered, let's create the program*/
hwnd = CreateWindowEx (
0, /* Extended possibilites for variation */
szClassName, /* Classname */
"Windows App", /* Title Text */
WS_OVERLAPPEDWINDOW, /* default window */
CW_USEDEFAULT, /* Windows decides the position */
CW_USEDEFAULT, /* where the window ends up on the screen */
544, /* The programs width */
375, /* and height in pixels */
HWND_DESKTOP, /* The window is a child-window to desktop */
NULL, /* No menu */
hThisInstance, /* Program Instance handler */
NULL /* No Window Creation data */
);

/* Make the window visible on the screen */
ShowWindow (hwnd, nFunsterStil);

/* Run the message loop. It will run until GetMessage() returns 0 */
while (GetMessage (&messages, NULL, 0, 0))
{
/* Translate virtual-key messages into character messages */
TranslateMessage(&messages);
/* Send message to WindowProcedure */
DispatchMessage(&messages);
}

/* The program return-value is 0 - The value that PostQuitMessage() gave */
return messages.wParam;
}


/* This function is called by the Windows function DispatchMessage() */

LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message) /* handle the messages */
{
case WM_DESTROY:
PostQuitMessage (0); /* send a WM_QUIT to the message queue */
break;
default: /* for messages that we don't deal with */
return DefWindowProc (hwnd, message, wParam, lParam);
}

return 0;
}


I don't even understand that LOL, could someone help me out in understand how to just make a window pop up that says "Hi"?


--------------------
---------------------------------------------------
Sit up and meditate, there's no time to contemplate.
-------------------------------------------------
I have an international Hitech Psytrance project with a friend: BioChronic
I make various form of Psytrance as a solo Project Dendriform

Extras: Filter Print Post Top
Re: C++ compiler that does not require any service packs? *DELETED* [Re: Psy Baba]
    #6866663 -

Post deleted by lukem95

Reason for deletion: .


Extras: Filter Print Post Top
Re: C++ compiler that does not require any service packs? [Re: Psy Baba]
    #6866985 -



--------------------



Extras: Filter Print Post Top
Re: C++ compiler that does not require any service packs? [Re: HELLA_TIGHT]
    #6867201 -

maybe look for the Gnu c++ compiler???
gcc I think it may be called
It is open source and I believe there is a windows version
I don't remember if it comes with the IDE though
heres a link....
http://gcc.gnu.org/

Edited by cpw1971 (05/03/07 01:33 PM)

Extras: Filter Print Post Top
Re: C++ compiler that does not require any service packs? [Re: cpw1971]
    #6868028 -

Doesn't Devc++ uses gcc? I think the Eclipse C plugin uses Gcc also. Basically I believe it will have a managed mode. Where it generates make files for you, or you can do your own make files.

Basically I suggest following the simplest hello world tutorials. The code you got are windows a.p.i calls that creates a window application.
You do not want to start there.

I'll dig up some tutorials for you that assumes you are using Devc++, this way it will make you life much easier.

I will do this on my next break, sorry I have to study.


--------------------
Be like water my friend!

Extras: Filter Print Post Top
Re: C++ compiler that does not require any service packs? [Re: SymmetryGroup8]
    #6868955 -

devc++ uses gcc. Definately a quality compiler, especially for free :smile:

Check out some of the samples in the devcpp directory, there are some GUI apps, including a hello world i think.


good choice :smile:


--------------------
The DJ's took pills to stay awake and play for seven days.

Extras: Filter Print Post Top
Re: C++ compiler that does not require any service packs? [Re: lukem95]
    #6872154 -

lukem95 said:
yeah, thats for a graphical application, so thats way to complex for you.. (unless you already knew that in which case you use the MessageBox() function)

when it loads click console application

#include <iostream>

using namespace std;

int main()
{
cout << "Hey DuNeRaVeR"; //This print (c OUT) the message into a console window
system("pause");
return 0;
}



Cool, this worked. I found some online tutorials and they are helping decently. I understood if then statements from previous languages. its just placed differently, which is hard for me to adjust to.

Can somebody give me a easily understandable tutorial on making a command button??


--------------------
---------------------------------------------------
Sit up and meditate, there's no time to contemplate.
-------------------------------------------------
I have an international Hitech Psytrance project with a friend: BioChronic
I make various form of Psytrance as a solo Project Dendriform

Edited by Psy Baba (05/04/07 04:28 PM)

Extras: Filter Print Post Top
Re: C++ compiler that does not require any service packs? [Re: Psy Baba]
    #6873590 -

do u need any ebooks for c++? i have a bunch

Extras: Filter Print Post Top
Re: C++ compiler that does not require any service packs? [Re: SheerTerror]
    #6874289 -

Hey, thanks for the offer. Right now I have a torrent of every book of C/C++/Visual C++ from 2000 to 2004 going and it's at 87%.

But, if it ends up being bunk, I'll holler at you.


--------------------
---------------------------------------------------
Sit up and meditate, there's no time to contemplate.
-------------------------------------------------
I have an international Hitech Psytrance project with a friend: BioChronic
I make various form of Psytrance as a solo Project Dendriform

Extras: Filter Print Post Top
Re: C++ compiler that does not require any service packs? [Re: Psy Baba]
    #6879576 -

You can use windows update from a third-party site which doesn't use that annoying  'Windows Genuine Advantage' Windiz Update You cannot use IE for this update site but it will update IE.

Otherwise, make the wise choice and switch to linux. :laugh:  Ubuntu linux is a great alternative to Windoze.


--------------------
If you were to draw a continuous straight line with a standard graphite pencil the line would stretch for 35 miles.

Extras: Filter Print Post Top
Jump to top Pages: 1

Myyco.com Shop: Golden Teacher Liquid Culture For Sale


Similar ThreadsPosterViewsRepliesLast post
* Opinions on Service Pack 2 Fospher 754 11 04/17/06 08:20 PM
by Fospher
* Messenger service SKINNYDOGGY 954 5 06/20/05 11:45 PM
by Vvellum
* My compilation of methods BigNautical 434 0 11/01/04 02:28 PM
by BigNautical
* compiling scenes from multiple dvds onto one dvd? phalloidin 572 3 04/16/06 01:30 PM
by rod
* Intellectual Property, Domain Services, and Host Services. Hooty 1,220 10 09/30/05 05:53 AM
by tak
* Uncapping cable modems, Free internet services Irradiated_Feces 20,708 11 07/25/05 07:01 PM
by ParanoidAndroid
* Free DNS Services Vampire999S 693 3 07/31/05 07:33 PM
by white
* xp pack 2 related soulseek problem butterflydawn 995 6 10/27/04 02:03 PM
by butterflydawn

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: trendal, automan, Northerner
1,103 topic views. 0 members, 8 guests and 3 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2026 Mind Media. Some rights reserved.

Generated in 0.027 seconds spending 0.005 seconds on 16 queries.