Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Compile and Execute
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic Printable version
 View previous topic  Zone Post :: Post Guild Wars  View next topic  
Author Message
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Fri Jun 03, 2005 3:05 am   Post maybe stupid    Post subject: Compile and Execute Reply to topic Reply with quote

I've searched these forums and google for a C++ compiler program. I've tried 3 so far, and none of them worked for me.

I've heard that notepad is the best, but I don't know how to compile it, ect. from there.

Can anyone help me?
_________________
SSE Network Administrator
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Fri Jun 03, 2005 3:07 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

You need Visual Studio 6 / .NET (some people in the community can give it to you for free - illegal ofcourse)
and I believe a free compiler is Dev-Cpp
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Fri Jun 03, 2005 3:23 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Ok. Well, I'm trying to edit catid's biller, and I'm not having any luck with the Dev-C++.

I edited it, and when I click Compile, nothing happens. Is this a user error, or what program should I use to edit catid's biller?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Fri Jun 03, 2005 4:35 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Well it is known that Visual Studio 6 always works, Dev-Cpp is just an alternate. Ask around if someone can provide you with Visual Studio 6 - notice it is a full cd download.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Fri Jun 03, 2005 4:55 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Hey, we don't do such things here!

You should buy VC++ 6, or a newer version of it.
Don't steal stuff, if you can't be arsed to pay for it then stick with the free alternative.
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Fri Jun 03, 2005 5:19 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

make a .cpp file in notepad (paste):

Code: Show/Hide


#include "stdio.h"

int main()
{
  printf("goodbye");

  return 0;
}



save it as myprogram.c

then get a compiler called gcc( http://gcc.gnu.org/ ) and run (on the command line):

gcc -o program.exe myprogram.c

it should produce an exe file called program.exe in the same directory
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Fri Jun 03, 2005 5:39 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Haha!
Back to top
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Fri Jun 03, 2005 11:45 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I tried looking for GCC, but I'm either stupid and am too dumb to figure it out.. Wait, I'm just too stupid..

Is there any other compiler other than GCC, or is there a setup.exe for GCC anywhere?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Fri Jun 03, 2005 11:58 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Your best bet is getting MSVC++. A good, free alternative is Microsoft Embedded Visual C++ .
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sat Jun 04, 2005 12:15 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

DevC++ by Bloodshed is a nice GUI application for the g++ compiler. You may want to check it out.
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Mon Jun 06, 2005 2:52 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I can't get DevC++ by Bloodshed or that GCC to work. I can't even install GCC.. Who knows what else I can use that's free?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Mon Jun 06, 2005 3:20 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I've just given both DevC++ and the new MS VC++ 8.0 Express a try.

DevC++ - is okay, though it won't compile MySQL files. It also doesn't like the #pragma instructions - throws warning statements of malformed. And I couldn't get the DLL to be below 300Kb, when VC++ 6.0 produces 60Kb (both done in a 'release' state).

MS VC++ 8.0 - is nice, I really like it. However, it doesn't come with winsock2.h include file, and must download about a 500 MB SDK package, for hoping it'll work.

So I guess, I should have just stuck w/ what I knew what worked. MSVC++ 6.0.
Back to top
View users profile Send private message Add User to Ignore List
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Mon Jun 06, 2005 3:29 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Contempt+ wrote:
I can't get DevC++ by Bloodshed or that GCC to work. I can't even install GCC.. Who knows what else I can use that's free?


Read my post up there.
Back to top
View users profile Send private message Add User to Ignore List
Muskrat
Server Help Squatter


Age:38
Joined: Aug 24 2004
Posts: 829
Location: Swamp
Offline

PostPosted: Mon Jun 06, 2005 5:32 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I've been using the MSvC++ 8, I just copied all the libs and includes over from MSVS 6 and it works just fine. icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Mon Jun 06, 2005 5:38 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Meh, I was thinking of copying everything over but... I didn't want to reinstall VC++ 6.
Back to top
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Tue Jun 07, 2005 5:00 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I tried compiling commands.cpp, but I got this:
Code: Show/Hide

C:\Documents and Settings\Admin\Desktop\Test Biller\src\command.cpp(5) : error C2065: 'PacketStruct' : undeclared identifier
C:\Documents and Settings\Admin\Desktop\Test Biller\src\command.cpp(5) : error C2065: 'Packet' : undeclared identifier
C:\Documents and Settings\Admin\Desktop\Test Biller\src\command.cpp(6) : error C2448: '<Unknown>' : function-style initializer appears to be a function definition


Any Ideas?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Tue Jun 07, 2005 5:11 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I recommend using VC6 because I know it works sa_tongue.gif

Contact me in-game ( I am online right now) and I will send it to you.

EDIT: My online name is MMaverick btw icon_lol.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Tue Jun 07, 2005 2:03 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Contempt, you need to learn the thing you are trying to use. Obviously the code is compilable. So where is PacketStruct defined? How is it known by command.cpp? Do some file searches and figure it out for yourself. Maybe you are not defining seomthing correctly in the compiler settings. Maybe you have a bad path. Maybe you are missing some files.
_________________
4,691 irradiated haggis!
Back to top
View users profile Send private message Add User to Ignore List
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Tue Jun 07, 2005 3:17 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Yes, I think he's missing files. Did you add the whole src to your Project?
Back to top
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Tue Jun 07, 2005 3:47 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

No, I added just the command.cpp, I didn't know that you had to add the whole src.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Tue Jun 07, 2005 3:51 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Of course you do; it has to read from the header files.
Back to top
View users profile Send private message Add User to Ignore List
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Tue Jun 07, 2005 4:02 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Why is someone who has never compiled anything before doing this? Someone build it and send him the binaries.
Back to top
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Tue Jun 07, 2005 5:10 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

One time has to be the first time; but I agree that you should start with some Hello world project first.
Back to top
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Tue Jun 07, 2005 6:15 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I see what you guys are saying, and yes, I agree with Solo.

I should start with some hello projects, I just have to redownload the file from maverick, since my power went out when it was at 48%. 600mb download, download rate of 20.0 kb/s
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Tue Jun 07, 2005 6:21 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Yeah do some Hello Mr Ekted, Hello Solo Ace, Hello Purge+ projects. sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You can post new topics in this forum
You can 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
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 78 page(s) served in previous 5 minutes.

phpBB Created this page in 0.771209 seconds : 50 queries executed (75.6%): GZIP compression disabled