|
 |
|
 |
08-11-2003, 10:39 PM
|
#1 (permalink)
|
|
Registered User
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
|
Newbie to C++ and Borland Compiler
I just downloaded the free Borland Compiler. I don't know C++ yet, or any other language. If anyone could give me any information on how to use the Borland Compiler I would really appreciate it. But please keep it for absolute beginners because thats what I am.
|
|
|
08-11-2003, 10:46 PM
|
#2 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,529
|
__________________
Mike
|
|
|
08-11-2003, 10:52 PM
|
#3 (permalink)
|
|
Registered User
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
|
Thanx
Yeah I've already read the first one but when i tried to open bcc32.exe it doesnt open. It flashes a screen for about a quarter of a second and then closes. This has also happened to me when i first tried to write virii in DOS. It was suppose to echo it to the screen but it would just flash really quick and close.
|
|
|
08-11-2003, 10:59 PM
|
#4 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,529
|
oh yes, .. the program is executing then closing. that means the program has complete =)
try putting the following code before it returns: or it might be: that makes it wait for a character before it finishes the program.
have fun =)
__________________
Mike
|
|
|
08-11-2003, 11:08 PM
|
#5 (permalink)
|
|
Registered User
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
|
:(
It still closes without time to see anything. Do you msn messenger? if so add me... bluedevils1414@hotmail.com
|
|
|
08-11-2003, 11:12 PM
|
#6 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,529
|
to be honest, i only know a little c++ .. i'm sure better help will be here by tomorrow =/
i thought those were pretty standard commands .. msn won't do anything.
there's quite a few people here who actually know the language better =) much better. sit tite if you can..
__________________
Mike
|
|
|
08-12-2003, 01:57 AM
|
#7 (permalink)
|
|
Newbie
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
|
Open a Dos prompt, and go to where your compiled program is located, then type in the name of it, that prompt wont close on termination of the execution, beeing a segfault or what ever might give this sort of flashing prompt.
|
|
|
08-12-2003, 02:29 PM
|
#8 (permalink)
|
|
Registered User
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
|
Hello world
Thanx. It works:rock: In The Borland C++ free compiler #1, you make your first program...and its suppose to say HELLO WORLD. well when i try to open it..it opens it as if i were editing it again. So i guess its not compiling it. but in the tutorial it says if you put .cpp at the end, that it would read it and compile it automatically. what do i do?
|
|
|
08-12-2003, 09:02 PM
|
#9 (permalink)
|
|
Java fanboy
Join Date: Aug 2003
Posts: 1,174
|
GCC people, GCC
|
|
|
08-13-2003, 06:43 AM
|
#10 (permalink)
|
|
[code][/code] enforcer
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
|
Just a tip:
If you like a free complete up-to-date IDE with compiler then try BloodShed DevC++. There is also a visual debugger wich you could download seperately.
I believe the compiler is GCC, but don't quote me on it pls.
Here is the link:
IDE+compiler=> BloodShed Site
Read manual or readme (can't remember wich one) on where to download the visual debugger. It's really simple (the installation), it involves copy and paste stuff  .
Also don't forget to enable "debugging info" in the IDE.
Tell me how it went and what you think about it.
- Val -
__________________
|
|
|
08-19-2003, 12:13 AM
|
#11 (permalink)
|
|
Non-profit Techie
Join Date: Dec 2002
Location: Mesa AZ
Posts: 76
|
BloodShed is a good. I used it for my Comp Sci II (C++ II) Class, and it worked great.
But it is probably too complex for a Script Kiddie. You have too really know how too program. 
|
|
|
08-19-2003, 06:06 PM
|
#12 (permalink)
|
|
[code][/code] enforcer
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
|
Quote:
Originally posted by DesertWolf
But it is probably too complex for a Script Kiddie. You have too really know how too program.
|
How is what too complex for a script kiddy?
The fact that this "kiddy" starts scripting around seems a healthy sign to me. C++ is just a next step.
DevC++ by the way is a quite a simple (relative) yet complete (almost, download the visual debugger!) IDE.
In my environment I see even pro's having difficulties with professional IDE handling. So IDE's and compilers seems like a course on it's own  .
__________________
|
|
|
08-19-2003, 06:13 PM
|
#13 (permalink)
|
|
[code][/code] enforcer
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
|
Quote:
Originally posted by DesertWolf
When Open Source is outlawed, only outlaws will use Open Source.....I guess that will make me an Outlaw, How about you ?
|
In case you are interested in mathematical logic:
"->" means "then".
"AND" means logical AND operator.
PREMISS:
(OpenSource=Outlawed)->(Outlaws=UseOpenSource) AND
I am Outlaw.
CONCLUSION:
NONE
There is no logical way of finding out you use Open Source. Therefore, the only conclusion is that you feel you are an outlaw for some reason.
Just fooling around a bit 
__________________
|
|
|
08-20-2003, 12:11 AM
|
#14 (permalink)
|
|
Non-profit Techie
Join Date: Dec 2002
Location: Mesa AZ
Posts: 76
|
Valmont,
I am sorry but I think your premiss is incorrect, because you ignored my conditional When.
I stated that "When Open Source is outlawed",
and because at this point in time, Open Source is not outlawed then (->) at this point in time I am not an outlaw.
So what I am stating is that
IF (OpenSource==Outlawed){
Outlaws==UseOpenSource;
" I am an Outlaw";
}
else {"I am not an Outlaw};
But how did this go from the script kiddie post to my sig?
As for the script kiddies interest, if he is willing to dig and try to find this stuff on his own ( and there is plenty of info out there) then more power to him, at least he is learning something. But looking at his other post, he seems to be looking for someone to hand everything to him.
As for it being too complex for him, the few script kiddies I have delt with, used pre-made tools they downloaded from the web, they had no idea of what the tools did behind the scenes. And some of the posts from bluedevils1414 lead me to think he has no idea what he is doing.
Just my $0.02.
just having some fun Valmont.
|
|
|
08-20-2003, 12:14 AM
|
#15 (permalink)
|
|
Non-profit Techie
Join Date: Dec 2002
Location: Mesa AZ
Posts: 76
|
Oh yea, and Valmont, as far as that goes, I am probably the only ful time Mac OSX user here so in a way that makes me an outlaw.

|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -8. The time now is 01:56 PM.
|
Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
|
 |
|