Results 1 to 10 of 11
Hi, Its been long and i am back to linux..
Started with Ubuntu 10.4.1
1. My problem is i configured the build-essential(for c compilation).
and I am unable to get ...
- 10-03-2010 #1
Multiple Question in Ubuntu
Hi, Its been long and i am back to linux..
Started with Ubuntu 10.4.1
1. My problem is i configured the build-essential(for c compilation).
and I am unable to get the output.This is what i do.(check the image)
2.Since i wanted to copy the output from one of the tty's I tried GPM service.
But i dont know how to copy it. Some says click the middle mouse button and it will copy but when i do some code start running on the console. no copy paste. Please help.
3. How can i run JAVA programs.
4. Thank you for your help.System Configuration
OS#Windows Xp pro Sp2
Intel Core 2 Duo 2.2ghz
Intel motherboard DG965ry
Nvidia graphic card 512mb
2 gb ram
250gb Sata segate HDD
160gb sata segate hdd
D link ethernetcard
Lg dvd writer
Lg cd writer
- 10-03-2010 #2
5. I lost my time display from the taskbar. How can i bring it back
System Configuration
OS#Windows Xp pro Sp2
Intel Core 2 Duo 2.2ghz
Intel motherboard DG965ry
Nvidia graphic card 512mb
2 gb ram
250gb Sata segate HDD
160gb sata segate hdd
D link ethernetcard
Lg dvd writer
Lg cd writer
- 10-03-2010 #3Just Joined!
- Join Date
- Dec 2009
- Location
- Maryland, USA
- Posts
- 83
Welcome back!
The image is too small to be readable and too fuzzy when blown up. (My eyes are old.) Perhaps you could provide a little more detail about the problem. For example, I don't know what "unable to get the output" means. Post your commands and the resulting errors or output between CODE tags.1. My problem is i configured the build-essential(for c compilation).
and I am unable to get the output.This is what i do.(check the image)
Your second item is complete Greek to me (I'm not Greek). In most Linux desktop environments, pressing the middle mouse button will copy highlighted text from one window to the cursor location in another window, but I don't know if that has anything to do with what you're trying to do. If that's not working for you, you can try Edit, Copy when the desired item or text is highlighted and then Edit, Paste when the cursor is positioned where you want to place the copied object. More info would be useful. Maybe you're trying to copy text from one console window to somewhere else. Detail the source and desired destination.
I believe your Ubuntu install includes the Open Java Runtime Environment (JRE), but it may not include the Java Development Kit (JDK). So, if you want to run existing Java programs, you should be able to by either selecting (double clicking) the Java executable or by the terminal command:3. How can i run JAVA programs.
If you need to compile Java source code, then search your repository (software installation) for JDK and install that, if not installed already.Code:> java javaprogname
Again, more info would be helpful. If you're getting errors because your browser isn't configured correctly to run Java, that's different. But I can't tell what the problem is from the info you've provided.
I recommend you start separate threads for each new problem rather than creating long lists that keep changing. Questions posed in lists get lost and not answered.5. I lost my time display from the taskbar. How can i bring it back
I don't have an Ubunto OS handy on which to try out a solution, but try right-clicking on the taskbar and selecting "configure" or "properties" or a similarly named menu item to add the time widget (whatever it's called) back.Last edited by GregBrannon; 10-03-2010 at 12:37 PM.
- 10-03-2010 #4
I can't really read what you're doing in the image, but I know the answer to question 3.
For a java class file:
and for a jar file:Code:java file.class
you can also right click and choose the java runtime environment to open the file with and it'll be executed.Code:java -jar file.jar
- 10-04-2010 #5
Oh sorry for that crappy image. I selected the image directly from the computer.The image was quite big,but while saving in forum its size got shrunk.
.
I tried again with different pic same problem.
So i uploaded it to photobucket. Hope u guys can read now.
System Configuration
OS#Windows Xp pro Sp2
Intel Core 2 Duo 2.2ghz
Intel motherboard DG965ry
Nvidia graphic card 512mb
2 gb ram
250gb Sata segate HDD
160gb sata segate hdd
D link ethernetcard
Lg dvd writer
Lg cd writer
- 10-04-2010 #6Registered Linux user #270181
TechieMoe's Tech Rants
- 10-05-2010 #7
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,S;
printf("enter two numbers a and b" );
scanf("%d%d",&a&b );
S=a+b;
printf("the sum is %d",S );
getch();
}
this is a simple program. i was trying to test.System Configuration
OS#Windows Xp pro Sp2
Intel Core 2 Duo 2.2ghz
Intel motherboard DG965ry
Nvidia graphic card 512mb
2 gb ram
250gb Sata segate HDD
160gb sata segate hdd
D link ethernetcard
Lg dvd writer
Lg cd writer
- 10-05-2010 #8
conio.h is for console input and output in msdos.
You will need to rewrite your code to work without it
or research the use of the curses library for
similar functionality.
- 10-05-2010 #9
u mean to say that
for
working with C in linux i have to start working on different command lines.
things are different here. or what !System Configuration
OS#Windows Xp pro Sp2
Intel Core 2 Duo 2.2ghz
Intel motherboard DG965ry
Nvidia graphic card 512mb
2 gb ram
250gb Sata segate HDD
160gb sata segate hdd
D link ethernetcard
Lg dvd writer
Lg cd writer
- 10-05-2010 #10If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.


Reply With Quote
