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 


A good WORKING C compiler?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Sepplmeierhuber
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 188

PostPosted: Mon May 14, 2007 2:49 am    Post subject: A good WORKING C compiler? Reply with quote

Can anyone provide me a link for an good, actually WORKING C compiler?

After a long odyssey into the world of Python I wanna try C.
I use now Dev C++ 4 & UE Studio with all it's available compilers.

Dev C++4 works pretty neat, but for example, when I wanna compile

Code:
#include <stdio.h>

void main( void )
{

      printf ("Test\n");

}


it doesn't allow me to do this because it wants int main instead of void main. This lil printf is just from a C Tutorial I'm using.

And all those compilers from UE Studio, every single compiler tells me "can't create blablabla.obj" when I want to compile my code =O

Would be really awesome if anyone could give me a nice working compiler ^o^
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Mon May 14, 2007 4:53 am    Post subject: Reply with quote

www.bloodshed.net

Razz
Back to top
View user's profile Send private message
injex
Master Cheater
Reputation: 0

Joined: 14 May 2007
Posts: 272

PostPosted: Mon May 14, 2007 4:57 am    Post subject: Reply with quote

Read what I wrote up there please o.o
I said the bloodshed Dev C++ doesn't compile because it strangely wants me to use int main instead of void main, no matter what.

If anybody wonders why I have a new ACC:
I re-registered because I wanted new name lol =[
Back to top
View user's profile Send private message
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Mon May 14, 2007 5:22 am    Post subject: Reply with quote

Do you want a free complier? You can compile with VC++, it will compile C and C++ but it costs money. Right know I think you can get the beta for free and you can download the full version from torrents.
_________________
Back to top
View user's profile Send private message
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Mon May 14, 2007 5:37 am    Post subject: Reply with quote

Why do u insist on using void main() and not int main() ?
Back to top
View user's profile Send private message
injex
Master Cheater
Reputation: 0

Joined: 14 May 2007
Posts: 272

PostPosted: Mon May 14, 2007 5:43 am    Post subject: Reply with quote

Dunno, I'm really noob to C.
Until now I just did what the tutorial teached me.

And in this tutorial void main() is used o.o

Edit: Lol Sorry, I've been a real idiot Embarassed

Anybody mind closing this? Embarassed
Back to top
View user's profile Send private message
me
Grandmaster Cheater
Reputation: 2

Joined: 24 Jun 2004
Posts: 733
Location: location location

PostPosted: Mon May 14, 2007 9:15 am    Post subject: Reply with quote

just use the int(main)
it will work with the simple printf ("Test\n"); program you have there,

if you want to try different compilers VC++6 that someone mentioned is free I think,

Borland C++ Builder is not available for download now but it could take some delphi components as well,, not used it but might have a look a download for it,,

anyway just use the console application template for simpilicity and that will take your simple printf program,

[edit]** oh I see you worked it out lol **[/edit]

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

Joined: 04 Jun 2006
Posts: 26

PostPosted: Tue May 15, 2007 9:02 pm    Post subject: Reply with quote

ahaha...

Im using borland C! An old version of 3.1v

void main(void)

1st void no return value.
2nd void no argument.
Back to top
View user's profile Send private message
lul30
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 197

PostPosted: Sat May 26, 2007 4:54 pm    Post subject: Reply with quote

this is one to for beginners

#include <stdio.h>
#include <conio.h>

int main()
{
printf ("hello,world or Hello me\n");
getch()
}

and Btw this is Really really Beginner
Back to top
View user's profile Send private message
yoyosaint
Cheater
Reputation: 0

Joined: 04 Jun 2006
Posts: 26

PostPosted: Mon May 28, 2007 5:54 pm    Post subject: Reply with quote

lul30 wrote:
this is one to for beginners

#include <stdio.h>
#include <conio.h>

int main()
{
printf ("hello,world or Hello me\n");
getch();
return 0;
}

and Btw this is Really really Beginner
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
Page 1 of 1

 
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