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
batch files are it beter version of c++?

 
Post new topic   This topic is locked you cannot edit posts or make replies Printable version
 View previous topic  probblem with c++ Post :: Post how to make to tell batch files make a...  View next topic  
Author Message
hellzlaker
Registered Cap Buster
Popping men in the ass since Oct 2005


Gender: NEVER ENOUGH!
Joined: Oct 27 2005
Posts: 34
Offline

PostPosted: Thu Nov 23, 2006 8:49 pm    Post subject: batch files are it beter version of c++? This topic is locked you cannot edit posts or make replies Reply with quote

i just learned howto make an exe using .bak files.

it looks alike c++ but beter!

example hello world in c++ would be
Code: Show/Hide

#include <iostream>
#include <stdlib.h>
using namespace std;

int main()
{
     cout<<"hey";
     system("pause");
return 0;
}



i did all that but so much easyer in .bat file


Code: Show/Hide

@echo off
echo hey
@pause


so its way shorter and same result so i gues its better?[/code]
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address MSN Messenger
Bak
?ls -s
0 in


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

PostPosted: Thu Nov 23, 2006 10:39 pm    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

.bat files aren't .exes, though. There's a built-in command called echo which you're calling with the parameter "hey". Batch files are scripts where you can specify a series of programs to run. In theory, if you have enough programs you might be able to do some of the things you can with c++, but never with the same speed.
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
hellzlaker
Registered Cap Buster
Popping men in the ass since Oct 2005


Gender: NEVER ENOUGH!
Joined: Oct 27 2005
Posts: 34
Offline

PostPosted: Thu Nov 23, 2006 11:28 pm    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

so c++ is stil faster? and basicly u need to make exe with c++ and then u run that exe using .bat file?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address MSN Messenger
BDwinsAlt
Agurus's Posse


Age:33
Gender:Gender:Male
Joined: Jun 16 2003
Posts: 1145
Location: Alabama
Offline

PostPosted: Thu Nov 23, 2006 11:52 pm    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

Yeah use bat files to run exe's if you want. It makes everything simplier if you have to run things on command line, just double click a file. The command prompt commands are limited.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
hellzlaker's hoe
Guest


Offline

PostPosted: Fri Nov 24, 2006 12:21 am    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

can u tell me how to do that

so i have

exe hello world and i want to run it using .BAT?

do i do

@echo off
:start c:\\documents and settings\\desktop\\c++\\hello worls.exe
pause



and it will do exact same thing as i would run hello world?
Back to top
helzlalalalla
Guest


Offline

PostPosted: Fri Nov 24, 2006 12:43 am    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

how do u make batch file execute it?
Back to top
Doc Flabby
Server Help Squatter


Joined: Feb 26 2006
Posts: 636
Offline

PostPosted: Fri Nov 24, 2006 6:23 am    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

lol bat files are a scripting language, and a obsolete one at that. I rember programming a menu in bat files on my old 286 a very long time ago.... most people use windows scripting as its much more powerful, if you wanna automate tasks in windows.

c++ is programming language. Which means its more cimplicated, but with that addidional complexity it is more powerful.

there is a distinct difference.

bat files are good for automating repetative tasks in dos.
they are not good for creating a new version of pacman for example

2 lines of hello world in c++ icon_smile.gif

Code: Show/Hide

#include <iostream>
int main() { std::cout<<"hey there world"; }

_________________
Rediscover online gaming. Get Subspace | STF The future...prehaps
Back to top
View users profile Send private message Add User to Ignore List
asdsadsaadsa
Guest


Offline

PostPosted: Fri Nov 24, 2006 9:41 am    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

what about using namespace std; ?
Back to top
dsfzsaf
Guest


Offline

PostPosted: Fri Nov 24, 2006 9:42 am    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

also is it true most viruses are made with batch files?
Back to top
Cyan~Fire
I'll count you!
I'll count you!


Age:36
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Fri Nov 24, 2006 10:37 am    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

1. You don't need it if you prefix all the STL stuff with "std::".

2. No.
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
fhdfgfds
Guest


Offline

PostPosted: Fri Nov 24, 2006 10:57 am    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

do you know the command for c++ to open cdrom?
Back to top
Bak
?ls -s
0 in


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

PostPosted: Fri Nov 24, 2006 11:40 am    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

printf("Press the button on your cd tray.\n");
Back to top
View users profile Send private message Add User to Ignore List AIM Address
BDwinsAlt
Agurus's Posse


Age:33
Gender:Gender:Male
Joined: Jun 16 2003
Posts: 1145
Location: Alabama
Offline

PostPosted: Fri Nov 24, 2006 11:41 am    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

Read this topic to and look at the source to open/close the cdrom drive.
http://forums.minegoboom.com/viewtopic.php?t=6613
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Cyan~Fire
I'll count you!
I'll count you!


Age:36
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Fri Nov 24, 2006 4:01 pm    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

BD, you didn't link to your own topic? Maybe you just didn't want the reminder that you couldn't even copy+paste code right?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
hellzlaker
Registered Cap Buster
Popping men in the ass since Oct 2005


Gender: NEVER ENOUGH!
Joined: Oct 27 2005
Posts: 34
Offline

PostPosted: Fri Nov 24, 2006 6:20 pm    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

this is my first baatch file i wonder if i put it on flash drive and run it on school compputer will it know that i did it from my user name?

Code: Show/Hide
@echo off



C:\Documents and Settings\All Users\Desktop>1
C:\Documents and Settings\All Users\Desktop>2
C:\Documents and Settings\All Users\Desktop>3
C:\Documents and Settings\All Users\Desktop>4
C:\Documents and Settings\All Users\Desktop>5
C:\Documents and Settings\All Users\Desktop>6
C:\Documents and Settings\All Users\Desktop>7
C:\Documents and Settings\All Users\Desktop>8
C:\Documents and Settings\All Users\Desktop>9
C:\Documents and Settings\All Users\Desktop>11
C:\Documents and Settings\All Users\Desktop>22
C:\Documents and Settings\All Users\Desktop>33
C:\Documents and Settings\All Users\Desktop>44
C:\Documents and Settings\All Users\Desktop>55
C:\Documents and Settings\All Users\Desktop>66
C:\Documents and Settings\All Users\Desktop>77
C:\Documents and Settings\All Users\Desktop>88
C:\Documents and Settings\All Users\Desktop>99
C:\Documents and Settings\All Users\Desktop>111
C:\Documents and Settings\All Users\Desktop>222
C:\Documents and Settings\All Users\Desktop>333
C:\Documents and Settings\All Users\Desktop>444
C:\Documents and Settings\All Users\Desktop>555
C:\Documents and Settings\All Users\Desktop>666
C:\Documents and Settings\All Users\Desktop>777
C:\Documents and Settings\All Users\Desktop>888
C:\Documents and Settings\All Users\Desktop>999
C:\Documents and Settings\All Users\Desktop>1111
C:\Documents and Settings\All Users\Desktop>2222
C:\Documents and Settings\All Users\Desktop>3333
C:\Documents and Settings\All Users\Desktop>4444
C:\Documents and Settings\All Users\Desktop>5555
C:\Documents and Settings\All Users\Desktop>6666
C:\Documents and Settings\All Users\Desktop>7777
C:\Documents and Settings\All Users\Desktop>8888
C:\Documents and Settings\All Users\Desktop>9999
C:\Documents and Settings\All Users\Desktop>11111
C:\Documents and Settings\All Users\Desktop>22222
C:\Documents and Settings\All Users\Desktop>33333
C:\Documents and Settings\All Users\Desktop>44444
C:\Documents and Settings\All Users\Desktop>55555
C:\Documents and Settings\All Users\Desktop>66666
C:\Documents and Settings\All Users\Desktop>77777
C:\Documents and Settings\All Users\Desktop>88888
C:\Documents and Settings\All Users\Desktop>99999
C:\Documents and Settings\All Users\Desktop>111111
C:\Documents and Settings\All Users\Desktop>222222
C:\Documents and Settings\All Users\Desktop>333333
C:\Documents and Settings\All Users\Desktop>444444
C:\Documents and Settings\All Users\Desktop>555555
C:\Documents and Settings\All Users\Desktop>666666
C:\Documents and Settings\All Users\Desktop>777777
C:\Documents and Settings\All Users\Desktop>888888
C:\Documents and Settings\All Users\Desktop>999999
C:\Documents and Settings\All Users\Desktop>1111111
C:\Documents and Settings\All Users\Desktop>2222222
C:\Documents and Settings\All Users\Desktop>3333333
C:\Documents and Settings\All Users\Desktop>4444444
C:\Documents and Settings\All Users\Desktop>5555555
C:\Documents and Settings\All Users\Desktop>6666666
C:\Documents and Settings\All Users\Desktop>7777777
C:\Documents and Settings\All Users\Desktop>8888888
C:\Documents and Settings\All Users\Desktop>9999999
C:\Documents and Settings\All Users\Desktop>11111111
C:\Documents and Settings\All Users\Desktop>22222222
C:\Documents and Settings\All Users\Desktop>33333333
C:\Documents and Settings\All Users\Desktop>44444444
C:\Documents and Settings\All Users\Desktop>55555555
C:\Documents and Settings\All Users\Desktop>66666666
C:\Documents and Settings\All Users\Desktop>77777777
C:\Documents and Settings\All Users\Desktop>88888888
C:\Documents and Settings\All Users\Desktop>99999999
C:\Documents and Settings\All Users\Desktop>0
C:\Documents and Settings\All Users\Desktop>00
C:\Documents and Settings\All Users\Desktop>000
C:\Documents and Settings\All Users\Desktop>0000
C:\Documents and Settings\All Users\Desktop>00000
C:\Documents and Settings\All Users\Desktop>000000
C:\Documents and Settings\All Users\Desktop>0000000
C:\Documents and Settings\All Users\Desktop>00000000
C:\Documents and Settings\All Users\Desktop>01111111
C:\Documents and Settings\All Users\Desktop>10111111
C:\Documents and Settings\All Users\Desktop>11011111
C:\Documents and Settings\All Users\Desktop>11101111
C:\Documents and Settings\All Users\Desktop>11110111
C:\Documents and Settings\All Users\Desktop>11111011
C:\Documents and Settings\All Users\Desktop>11111101
C:\Documents and Settings\All Users\Desktop>11111110
C:\Documents and Settings\All Users\Desktop>q
C:\Documents and Settings\All Users\Desktop>w
C:\Documents and Settings\All Users\Desktop>e
C:\Documents and Settings\All Users\Desktop>r
C:\Documents and Settings\All Users\Desktop>t
C:\Documents and Settings\All Users\Desktop>yougot.hacked
C:\Documents and Settings\All Users\Desktop>speedhackpro.dll
C:\Documents and Settings\All Users\Desktop>y
C:\Documents and Settings\All Users\Desktop>u
C:\Documents and Settings\All Users\Desktop>i
C:\Documents and Settings\All Users\Desktop>o
C:\Documents and Settings\All Users\Desktop>p
C:\Documents and Settings\All Users\Desktop>a
C:\Documents and Settings\All Users\Desktop>s
C:\Documents and Settings\All Users\Desktop>d
C:\Documents and Settings\All Users\Desktop>f
C:\Documents and Settings\All Users\Desktop>g
C:\Documents and Settings\All Users\Desktop>h
C:\Documents and Settings\All Users\Desktop>j
C:\Documents and Settings\All Users\Desktop>k
C:\Documents and Settings\All Users\Desktop>l
C:\Documents and Settings\All Users\Desktop>z
C:\Documents and Settings\All Users\Desktop>x
C:\Documents and Settings\All Users\Desktop>c
C:\Documents and Settings\All Users\Desktop>v
C:\Documents and Settings\All Users\Desktop>b
C:\Documents and Settings\All Users\Desktop>n
C:\Documents and Settings\All Users\Desktop>m
C:\Documents and Settings\All Users\Desktop>m.dll
C:\Documents and Settings\All Users\Desktop>sytem.dll
C:\Documents and Settings\All Users\Desktop>pornware.dll
C:\Documents and Settings\All Users\Desktop>pornware.exe
C:\Documents and Settings\All Users\Desktop>89protectedpornpictures.dll
C:\Documents and Settings\All Users\Desktop>moreporn.exe
C:\Documents and Settings\All Users\Desktop>gayporn.exe
C:\Documents and Settings\All Users\Desktop>gayporn1.dll
C:\Documents and Settings\All Users\Desktop>gayporn2.dll
C:\Documents and Settings\All Users\Desktop>gayporn3.dll
C:\Documents and Settings\All Users\Desktop>hiddengayporn.dll
C:\Documents and Settings\All Users\Desktop>gayporn.dat
C:\Documents and Settings\All Users\Desktop>89.com
C:\Documents and Settings\All Users\Desktop>xxnx.com




pause


Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address MSN Messenger
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:40
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3614
Location: Las Vegas
Offline

PostPosted: Fri Nov 24, 2006 6:30 pm    Post subject: This topic is locked you cannot edit posts or make replies Reply with quote

This topic went completely down hill and has no merit at all.

Locked topic.
Back to top
View users profile Send private message Add User to Ignore List Send email
Display posts from previous:   
Post new topic   This topic is locked you cannot edit posts or make replies    Server Help Forum Index -> Non-Subspace Related Coding All times are GMT - 5 Hours
Page 1 of 1

 
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 can 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: 646 page(s) served in previous 5 minutes.

phpBB Created this page in 0.610381 seconds : 41 queries executed (74.3%): GZIP compression disabled