Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Application and Web Development > Standard C, C++

Reply
 
LinkBack Thread Tools Display Modes
Old 08-11-2003, 10:39 PM   #1 (permalink)
bluedevils1414
Registered User
 
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
bluedevils1414 is on a distinguished road
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.
bluedevils1414 is offline   Reply With Quote
Old 08-11-2003, 10:46 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,529
sde is on a distinguished road
Check these tutorials out:

C++ - The Borland C++ free Compiler #1

C++ - Borland C++ free Compiler #2

Welcome to Code Newbie =)
__________________
Mike
sde is offline   Reply With Quote
Old 08-11-2003, 10:52 PM   #3 (permalink)
bluedevils1414
Registered User
 
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
bluedevils1414 is on a distinguished road
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.
bluedevils1414 is offline   Reply With Quote
Old 08-11-2003, 10:59 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,529
sde is on a distinguished road
oh yes, .. the program is executing then closing. that means the program has complete =)

try putting the following code before it returns:
Code:
getchar();
or it might be:
Code:
getch();
that makes it wait for a character before it finishes the program.


have fun =)
__________________
Mike
sde is offline   Reply With Quote
Old 08-11-2003, 11:08 PM   #5 (permalink)
bluedevils1414
Registered User
 
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
bluedevils1414 is on a distinguished road
:(

It still closes without time to see anything. Do you msn messenger? if so add me... bluedevils1414@hotmail.com
bluedevils1414 is offline   Reply With Quote
Old 08-11-2003, 11:12 PM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,529
sde is on a distinguished road
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
sde is offline   Reply With Quote
Old 08-12-2003, 01:57 AM   #7 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
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.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 08-12-2003, 02:29 PM   #8 (permalink)
bluedevils1414
Registered User
 
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
bluedevils1414 is on a distinguished road
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?
bluedevils1414 is offline   Reply With Quote
Old 08-12-2003, 09:02 PM   #9 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,174
Belisarius is on a distinguished road
GCC people, GCC
__________________
GitS
Belisarius is offline   Reply With Quote
Old 08-13-2003, 06:43 AM   #10 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
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 -
__________________
Valmont is offline   Reply With Quote
Old 08-19-2003, 12:13 AM   #11 (permalink)
DesertWolf
Non-profit Techie
 
DesertWolf's Avatar
 
Join Date: Dec 2002
Location: Mesa AZ
Posts: 76
DesertWolf is on a distinguished road
Send a message via AIM to DesertWolf
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.
DesertWolf is offline   Reply With Quote
Old 08-19-2003, 06:06 PM   #12 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
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 .
__________________
Valmont is offline   Reply With Quote
Old 08-19-2003, 06:13 PM   #13 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
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
__________________
Valmont is offline   Reply With Quote
Old 08-20-2003, 12:11 AM   #14 (permalink)
DesertWolf
Non-profit Techie
 
DesertWolf's Avatar
 
Join Date: Dec 2002
Location: Mesa AZ
Posts: 76
DesertWolf is on a distinguished road
Send a message via AIM to DesertWolf
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.
DesertWolf is offline   Reply With Quote
Old 08-20-2003, 12:14 AM   #15 (permalink)
DesertWolf
Non-profit Techie
 
DesertWolf's Avatar
 
Join Date: Dec 2002
Location: Mesa AZ
Posts: 76
DesertWolf is on a distinguished road
Send a message via AIM to DesertWolf
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.
DesertWolf is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 01:56 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting