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 (-1) | Shanky.com
Compile and Execute
Goto page Previous  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: Tue Jun 07, 2005 6:23 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Lol, I'll think about it, once I do, I'll attach them
_________________
SSE Network Administrator
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Contempt+
Server Help Squatter


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

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

I tried doing it, and I guess I'm doing something wrong. I copied an example off the internet, to see what it looks like, studied it, then went to compile it and build it, but it gave me this:

Code: Show/Hide

C:\Documents and Settings\Admin\My Documents\hello.cpp(1) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory


So what's going on?
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:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

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

On the newer versions of VC++ you need to use "#include <iostream>" without the .h.
Notice this is only for some files.

You can actually read this in the documentation somewhere, press F1 when your cursor is on the "iostream.h", I think that should bring to the right page telling you why you can't use the "iostream.h" anymore in newer versions (than 6?).

What are you currently using, and which version of it?
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:53 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Microsoft eMbedded Visual C++ 4.0

Purge+ gave me the link for it
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:36
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

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

I'm assuming that's the 'Hello World' script there, so if your code is in the C format, you shouldn't save it as .cpp but rather .c. Then compile it into a .exe and run it in the command prompt.
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 10:30 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Ok, I did that. But it gave me another error:
Code: Show/Hide

(null) Parse Error, expecting `SEP'
'return 0'
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Contempt+
Server Help Squatter


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

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

Oh, I'm using Dev-C++ 4 and Miracle C Workbench now
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
D1st0rt
Miss Directed Wannabe


Age:38
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

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

You can make the binary output from Dev-C++ smaller by selecting "Strip executable" from the project settings
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Purge
Episode I > Eposide III
Jar-Jar is kool


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

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

Contempt+ wrote:
Ok, I did that. But it gave me another error:
Code: Show/Hide

(null) Parse Error, expecting `SEP'
'return 0'


Looks like you used a bad layout for the code. Make sure it looks somewhat like this:
Code: Show/Hide

#include <stdio.h>

int main()
{
  printf("I will own you in %a seconds!");

  return 0;
}
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 11:07 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Hey, I got it.

The Almight Purge+ helped me out!

Thanks man
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Contempt+
Server Help Squatter


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

PostPosted: Wed Jun 08, 2005 3:15 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Purge+ helped me with making a "hello" program, but he didn't help me with catid's biller.

I finally got MSVC++ and when I went to make the .exe, it gave me these 4 errors:
Code: Show/Hide

--------------------Configuration: SSBilling2 - Win32 Debug--------------------
Compiling...
main.cpp
c:\documents and settings\admin\desktop\test biller\src\declares.h(2506) : fatal error C1083: Cannot open include file: 'command.h': No such file or directory
command.cpp
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
Error executing cl.exe.

SSBilling2.exe - 4 error(s), 0 warning(s)


Anyone have any ideas? I added the whole src to the project, and I only edited one little part.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Mr Ekted
Movie Geek


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

PostPosted: Wed Jun 08, 2005 3:41 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Looks like you need to set your include directories for wherever command.h is located.

Tools/Options/Directories...Include Files
_________________
4,691 irradiated haggis!
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: Wed Jun 08, 2005 4:50 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I had maverick help me out and we got it all fixed.

Took the original biller, copied those and got it all worked.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Maverick
broken record


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

PostPosted: Wed Jun 08, 2005 4:57 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

not exactly, only copied the project settings from original biller sa_tongue.gif

(Which seem to be faulty in SOS's version)
_________________
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: Wed Jun 08, 2005 5:02 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Well, I knew what I meant tongue.gif

Thanks mav
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:36
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Wed Jun 08, 2005 3:24 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Contempt+ wrote:
but he didn't help me with catid's biller.


What are you talking about? You didn't even ask for help in that when we were talking.
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:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Wed Jun 08, 2005 8:44 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Don't be so defensive, he probably didn't mean it that way.
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: Wed Jun 08, 2005 11:14 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Yeah, I meant to say that Purge only helped me with the Hello program.. Thanks man
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:36
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Wed Jun 08, 2005 11:19 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Ah, I see. icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Thu Jun 09, 2005 12:26 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Can we compile and execute this guy?
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Ex-Gravitron
Guest


Offline

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

Certainly, but you will have to join him as well.

Or simply:
Don't misbehave!




Mine Go Boom,
I am sorry that I pushed to make the movie to new forms.
It just made you waste many hours on adding plugins.
I look back at the old forums, and I feel sad.
This place has lost all of its bearings and purpose.
It became nothing more than a safe haven for all the SS retards and flameboyants.
It makes the old VIE TTL look better.
At least half of them had brain and were witty, all we have is one who name himself in proclimation of being "dr. brain" and be no more than a mouthful of sewage.
It should be closed down.

Grant me moderator, and set me loose to do the job I was born for.
Back to top
Cerium
Server Help Squatter


Age:43
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Tue Jun 14, 2005 7:50 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Learn to wipe your ass properly first, grav.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Tue Jun 14, 2005 11:06 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

It's Dr Brain. No period.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Muskrat
Server Help Squatter


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

PostPosted: Wed Jun 15, 2005 1:14 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

See? he can be witty, to.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


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

PostPosted: Wed Jun 15, 2005 5:53 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Hah, "No period.", you don't say that a lot huh Brain. 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 Previous  1, 2, 3  Next
Page 2 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: 66 page(s) served in previous 5 minutes.

phpBB Created this page in 0.466677 seconds : 47 queries executed (53.5%): GZIP compression disabled