Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Free "C" Language Compiler
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
pyr0magex
Grandmaster Cheater Supreme
Reputation: 0

Joined: 26 Jun 2006
Posts: 1192
Location: my room

PostPosted: Sat Apr 07, 2007 9:16 am    Post subject: Reply with quote

I meant like... directly to the desktop. But what I really needed to hear was that the command prompt was the standard output, cause I didn't know.

but even so, you say it's the "standard" output. Are there any other output options aside from a cmd? (the website shows how to do form output, but is it possible to make a formless program that doesn't open the cmd?)


also, what exactly makes the programs at that site open in a form instead of a cmd?

Thx for answering my questions, I just need to clear a few things up before I get started learning =p

_________________
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Sat Apr 07, 2007 9:24 am    Post subject: Reply with quote

to the desktop? that'd be very messy ( easy way is TextOut) or very tricky. You have to create the form to write to it, and creating windows is very unpleasent and takes a lot of code for small programs that just display some output.

you have to build with the WINDOWS (as opposed to console) subsystem for a windows program and instead of int main()

Code:

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)

_________________
Back to top
View user's profile Send private message
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Sat Apr 07, 2007 10:51 am    Post subject: Reply with quote

pyr0magex wrote:
I meant like... directly to the desktop. But what I really needed to hear was that the command prompt was the standard output, cause I didn't know.

but even so, you say it's the "standard" output. Are there any other output options aside from a cmd? (the website shows how to do form output, but is it possible to make a formless program that doesn't open the cmd?)


also, what exactly makes the programs at that site open in a form instead of a cmd?

Thx for answering my questions, I just need to clear a few things up before I get started learning =p


There are other output options like error output and file output.

The example opens in a window because of these in its WinMain:
The registration of the window and its properties.
The creation of the window with CreateWindow.

The next few lines handles messages for the window like telling it to paint itself.

Read the full explanation on the site because it explains quite a lot.

_________________

Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for?
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sun Apr 08, 2007 2:59 pm    Post subject: Reply with quote

Printing to the Desktop:
http://noz3001.wordpress.com/2007/03/05/textout-to-another-program-desktop/

Credits to Noz3001, because it is on his blog.
Back to top
View user's profile Send private message
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Sun Apr 08, 2007 3:14 pm    Post subject: Reply with quote

got to <3 noz blog Very Happy Long time with out updates tho
Back to top
View user's profile Send private message
argarg
Cheater
Reputation: 0

Joined: 19 Jul 2005
Posts: 45

PostPosted: Mon Apr 09, 2007 8:58 am    Post subject: Reply with quote

I'm amazed noone mentionned Pelles C. It's small and efficient. pretty much all I need for C

http://www.smorgasbordet.com/pellesc/
Back to top
View user's profile Send private message
--Pillboi--
Grandmaster Cheater Supreme
Reputation: 0

Joined: 06 Mar 2007
Posts: 1383
Location: I don't understand the question. Is this a 1 to 10 thing?

PostPosted: Sat Apr 14, 2007 12:48 pm    Post subject: Reply with quote

Flyte wrote:
Start -> Control Panel -> System -> Advanced Tab -> Environment Variables

Sorry I havn't posted for so long. Thanks I'm gonna try it now and also thanks appalasp.

Edit: Is this the path?
Code:
C:\WINDOWS\system32\wbem

--Pillboi--

_________________

Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair.
Back to top
View user's profile Send private message
muffinman177
Master Cheater
Reputation: 0

Joined: 09 Dec 2006
Posts: 377
Location: Drury Lane

PostPosted: Tue Apr 17, 2007 3:15 pm    Post subject: Reply with quote

Use Dev- Cpp. You can download it at http://www.cprogramming.com
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Tue Apr 17, 2007 10:04 pm    Post subject: Reply with quote

I like Bloodshed.net's better, just a personal favorite. Razz
Back to top
View user's profile Send private message
supea
Master Cheater
Reputation: 0

Joined: 29 Aug 2006
Posts: 323
Location: Finland

PostPosted: Sat Apr 21, 2007 6:25 am    Post subject: Reply with quote

There you go: http://dfn.dl.sourceforge.net/sourceforge/dev-cpp/devcpp-4.9.9.2_setup.exe
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites