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  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Wed Apr 04, 2007 10:29 am    Post subject: Reply with quote

borland's command line development tools are free, and they're pretty good.

http://tinyurl.com/2j6sq3 <--

_________________
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: Wed Apr 04, 2007 10:41 am    Post subject: Reply with quote

appalsap wrote:
borland's command line development tools are free, and they're pretty good.

http://tinyurl.com/2j6sq3 <--

Thanks appalsap. You helped me again. What's the difference between a normal compiler and a command line one? Anything?
Once I can rep you appalsap, I will. I promise. You the man (well sort of).

Edit: You need to register. Which I can obviously do, but it wants:
* Telephone number is required
* Company is required.
* Address is required
* City is required
* State is required
* Zip code is required
* Country is required
* Language is required
* Address is required for postal notifications
And I'm not prepared to tell them that stuff.
Can I borrow your account? lol
Can you upload it? Thx?

Sorry about this fuss.

--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
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Wed Apr 04, 2007 11:03 am    Post subject: Reply with quote

just go to http://trial.borland.com/survey.aspx?sid=33

and click on submit (dont have to modify anything), then you can download

difference between command line and GUI is GUI has buttons and menus while command line runs in a little black box, a lot of people prefer command line though, as it is less memory intensive, you dont have to navigate menus to get stuff done, and you can automate the build process with batch files.

_________________
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: Wed Apr 04, 2007 11:07 am    Post subject: Reply with quote

appalsap wrote:
just go to http://trial.borland.com/survey.aspx?sid=33

and click on submit (dont have to modify anything), then you can download

difference between command line and GUI is GUI has buttons and menus while command line runs in a little black box, a lot of people prefer command line though, as it is less memory intensive, you dont have to navigate menus to get stuff done, and you can automate the build process with batch files.

Cool. So command line simple and sweet. I still have to sign up though. -.-
Can I borrow your account/can you upload it? Lol.
The only reason I don't want to sign up is because my dad won't let me, and if I do, he'll get really angry, and he'll check. Lol. I feel like I'm 13 again. XD

--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
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Wed Apr 04, 2007 11:12 am    Post subject: Reply with quote

http://rapidshare.com/files/24324959/freecommandlinetools.exe
_________________
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: Wed Apr 04, 2007 11:17 am    Post subject: Reply with quote

appalsap wrote:
http://rapidshare.com/files/24324959/freecommandlinetools.exe

Thanks for mirroring it apple.

EDIT: I need help again. Sorry.
I didn't know where the compiler exe was. So I used this:
Code:
C:\Documents and Settings\....\My Documents\...\Compiler\Bin\fconvert.exe

Now all it did was convert it to a bak, which is no use to anyone. Is it?
Which program is actually the compiler to make it an exe?

EDIT2: When I follow the tut above. I try to open autoexec.bat in notepad, but all that comes up is a blank notepad file name autoexec.bat...

--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
pyr0magex
Grandmaster Cheater Supreme
Reputation: 0

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

PostPosted: Wed Apr 04, 2007 7:01 pm    Post subject: Reply with quote

appalsap wrote:
Learn C. You'll cry and bleed but you'll thank me in the end Wink


That's what I'm learning right now. =p


Why not just download Visual Studio? It compiles C too.

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

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Wed Apr 04, 2007 7:18 pm    Post subject: Reply with quote

pillboi:
bcc32.exe is that program. and the blank thing is supposed to show up, if you had anything written there I'd be worried

pyro:
I just don't like the IDE, its really big, slow (probably because its a .NET executable), and (by default and even if you tell it not to in many areas) generates too much debug info.
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: Fri Apr 06, 2007 10:48 am    Post subject: Reply with quote

appalsap wrote:
pillboi:
bcc32.exe is that program. and the blank thing is supposed to show up, if you had anything written there I'd be worried

Lol. Ok. I'm still getting really confused with this tutorial: http://tinyurl.com/2j6sq3. I'm going on google now to look for another one. XD
Ok. With bcc32.exe, when I open it, it just closes again, so I guess I need to set a path for it. Also, Lol at the autoexec.bat comment.
Gimme a second, I'll edit this post if I find a another tut.

EDIT: Is there any other compilers, where it is just open the .exe, choose your file and press compile. Lol.

EDIT 2: My big problem following the tutorials is that I don't know where to find the "system path". Any help?

--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.


Last edited by --Pillboi-- on Fri Apr 06, 2007 11:01 am; edited 1 time in total
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Apr 06, 2007 10:52 am    Post subject: Reply with quote

it closes because ou didn't pass any parameters to it, dont open it via explorer, open it by the command line (cmd.exe) and type in

Code:

cd \path_to_whever_you_installed_it
bcc32 whatever.cpp


and it'll spit out an executable (unless you made errors in your code in which case it will print errors)

--Pillboi-- wrote:
Also, is there any other compilers, where it is just open the .exe, choose your file and press compile. Lol.


thats called an IDE, and those usually cost money. all they do is interact with the command line programs for you anyway Rolling Eyes

_________________
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: Fri Apr 06, 2007 11:05 am    Post subject: Reply with quote

appalsap wrote:
it closes because ou didn't pass any parameters to it, dont open it via explorer, open it by the command line (cmd.exe) and type in

Code:

cd \path_to_whever_you_installed_it
bcc32 whatever.cpp <---


and it'll spit out an executable (unless you made errors in your code in which case it will print errors)

--Pillboi-- wrote:
Also, is there any other compilers, where it is just open the .exe, choose your file and press compile. Lol.


thats called an IDE, and those usually cost money. all they do is interact with the command line programs for you anyway Rolling Eyes

Ok thanks. Where you put bcc32 whatever.cpp. Why a cpp file, wouldn't it be .c because it's saved in a c format?
Will it put the executable in the folder that the .c file was in?
Ok yeah, I don't want to pay for an IDE. Thanks. Very Happy
Thanks for your very rapid reply just then!!! Razz

--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.


Last edited by --Pillboi-- on Fri Apr 06, 2007 11:08 am; edited 1 time in total
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Apr 06, 2007 11:08 am    Post subject: Reply with quote

well, when you don't specify a file extension it searches for *.cpp so I got used to it.

start -> run -> cmd

a black window should come up, and you type stuff in it, and yes it will be in the same folder

_________________
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: Fri Apr 06, 2007 11:10 am    Post subject: Reply with quote

appalsap wrote:
well, when you don't specify a file extension it searches for *.cpp so I got used to it.

start -> run -> cmd

a black window should come up, and you type stuff in it, and yes it will be in the same folder

Ok thx. Is cmd.exe the command prompt? And if it is can I just make a .bat file?
Ok thanks again. You help me so much! Razz Very Happy Very Happy Very Happy

--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
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Apr 06, 2007 11:12 am    Post subject: Reply with quote

yes you can make a .bat file to do it all for you if you wish
_________________
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: Fri Apr 06, 2007 11:13 am    Post subject: Reply with quote

appalsap wrote:
yes you can make a .bat file to do it all for you if you wish

Wicked thanks. It's working now. +Rep when I can.

EDIT: Not quite. It says:

I think it should work.
My code is very simple:
Code:
#include <stdio.h>

int main()
{
    int a, b, c;
    printf("Enter the first value:");
    scanf("%d", &a);
    printf("Enter the second value:");
    scanf("%d", &b);
    c = a + b;
    printf("%d + %d = %d\n", a, b, c);
    return 0;
}

Know my problem? Is it the compiler or my program? Surprised

EDIT 2: This is the tutorial I am following. The source code comes from there if it helps. (Although I understand the basics well now and could right a program like this in C easily.) Razz

--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
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  Next
Page 2 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