Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 03-08-2006, 08:24 PM   #1 (permalink)
Alpha Geek
 
saurabh.sauron's Avatar
 
Join Date: Jan 2006
Location: Middle Earth
Posts: 503
Default Compiling in KDevelop


how do u compile a program in KDevelop? i wrote a simple program but cant find a compile option. also, how do u execute it? pls help
thnx
saurabh.sauron is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 03-08-2006, 08:49 PM   #2 (permalink)
Broken In
 
harmax's Avatar
 
Join Date: Mar 2004
Location: chennai
Posts: 135
Default Re: Compiling in KDevelop

tryin to figure that out for the past 10+/- years, people hoo use it please educte us on it usage, adv and blah blah
__________________
WORK EXPANDS TO FILL THE TIME NEEDED FOR ITS COMPLETION
-------- PARKINSON\'S LAW
harmax is offline  
Old 03-08-2006, 09:28 PM   #3 (permalink)
In The Zone
 
Venom's Avatar
 
Join Date: Jun 2006
Posts: 240
Default Re: Compiling in KDevelop

Which language is KDev used for? Cause I use Kate for Python/C++ and so on. So to compile Python and Cpp i use the terminal...
Venom is offline  
Old 03-08-2006, 09:41 PM   #4 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Compiling in KDevelop

See if this helps http://www.dazzle.plus.com/linux/
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 04-08-2006, 07:02 PM   #5 (permalink)
Alpha Geek
 
saurabh.sauron's Avatar
 
Join Date: Jan 2006
Location: Middle Earth
Posts: 503
Default Re: Compiling in KDevelop

look at this screenshot...
i tried compiling with the terminal and got this error...
http://i47.photobucket.com/albums/f1..._sauron/sc.gif

BTW, how do u break the execution when u dont have getch(); ???
saurabh.sauron is offline  
Old 04-08-2006, 08:53 PM   #6 (permalink)
In The Zone
 
Venom's Avatar
 
Join Date: Jun 2006
Posts: 240
Default Re: Compiling in KDevelop

You dont have to use a Getch, if you really need to break, use return maybe. Getch is outdated, TC ?
Venom is offline  
Old 04-08-2006, 09:54 PM   #7 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: Compiling in KDevelop

For C/C++ IDE in Linux , use Anjuta (http://anjuta.org/ ) , for Python use 'IDLE' IDE.
Also check this link:
http://wiki.python.org/moin/Integrat...ntEnvironments
For KDevelop , check their website : http://www.kdevelop.org/

Last edited by JGuru; 04-08-2006 at 09:58 PM.
JGuru is offline  
Old 05-08-2006, 03:26 PM   #8 (permalink)
Alpha Geek
 
saurabh.sauron's Avatar
 
Join Date: Jan 2006
Location: Middle Earth
Posts: 503
Default Re: Compiling in KDevelop

i installed anjuta but then i get an error while compilation

here's my test program
Quote:
#include<iostream>
int main()
{
cout<<"Sauron";
return 0;
}
The Error:-
Quote:
4:error:'cout' was not declared in this scope.
pls help
saurabh.sauron is offline  
Old 06-08-2006, 12:18 AM   #9 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: Compiling in KDevelop

This one works fine!!

Code:
#include <iostream>

using namespace std;

int main()
{
     cout<<"Hello C++!!";
     return 0;
}


Checkout this C++ Tutorial:

http://www.glenmccl.com/lang.htm

Ofcourse in Linux, there are some minor variations!!

Last edited by JGuru; 06-08-2006 at 12:36 AM.
JGuru is offline  
Old 07-08-2006, 06:30 PM   #10 (permalink)
Alpha Geek
 
saurabh.sauron's Avatar
 
Join Date: Jan 2006
Location: Middle Earth
Posts: 503
Default Re: Compiling in KDevelop

ya...i came to know that i had to use
using namespace std;
i dont think u need getch in linux...
saurabh.sauron is offline  
Closed Thread

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


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 05:08 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2