Ubuntu :: Written A C++ Program And Included #include <iostream>?
May 2, 2010I've written a C++ program and included #include <iostream>.but when I compiled the program the terminla shows:No such file or directory
View 1 RepliesI've written a C++ program and included #include <iostream>.but when I compiled the program the terminla shows:No such file or directory
View 1 RepliesHow do I run a program I've written in C++? I'm new found some tutorials to study from but didn't find anything on how to run it. I'm using text editor too write it and saved it as .cpp but everytime i open it it just shows what i wrote it doesn't run it.
View 9 Replies View RelatedTrying to use the html editor 'Arachnophilia'... here are the instructions on their website. ".Open a command console (Linux: shell console), move to the Arachnophilia program directory, type "java -jar Arachnophilia.jar" For convenience, this command can be made part of a shell script, and those using X windows can easily make a desktop icon." hoping someone can explain how to run this program.. using a new install of fedora 12 (which has java)...i'm a newbie, trying to go open source on a low end laptop - LOVE Fedora .[URL]..
View 14 Replies View RelatedBeen thinking about changing over to 64 bit, but I was just curious about whether or not I'll have to worry about incompatibility with a few 32bit-only applications I use, once I've set up multilib. I'll test it out in vbox when I get home but I wanted to check here to see if I could maybe get a solid yes/no/maybe answer.
View 14 Replies View RelatedIs it possible to create a symbolic link that include commands for the program?
For instance, I do the following to start the program:
./script -somecommannd
I would like to create a symbolic like that includes "-somecommand"
Is this possible? or would I need to create a second script that executes that command, and link to that script?
i am a new programer in c i have write a simple app and i have a problem with combiling my program include one header file and 2 c
fun.h
#include<stdio.h>
void f();
/******EOF*******/
fun.c
#include"fun.h"
void f(){
[Code].....
I have C++ source code(*.cpp) files that expects it's header files in System's include folder which is/usr/include.The cpp files has include lines like this:
Code:
#include <some.h>
#include <another.h>
[code]...
I have made two source files named as sum.c and average.cI have included sum.c in average.c
both files in Documents directory.when i compile average.ot followingerror"average.c:4:22: fatal error: sum.c: No such file or directorycompilation terminated.How to solve this issue?I have tried to copy sum.c to usrinclude folder but unable to copy
I am just asking how this works in general. I know Python can wrap a C code, but here it seems Python is already integrated with this C program.Would it be correct to say one would have to understand the C code in addition to py programming in order to accomplish anything useful here?I need to control the program, and especially import its output to some algorithm that accomplishes command and control in the way of bash scripts or whatever.
View 2 Replies View RelatedWhat is the difference between /usr/local/include and /usr/include? When I compile my program, is both /usr/local/include and /usr/include avaliable? Can I copy a file from /usr/local/include to /usr/include?
View 1 Replies View RelatedI recently switched to ubuntu, so kinda new to it. I installed g++ by
Code:
sudo apt-get install build-essential
and now when i'm trying to compile this:
[code]....
I just downloaded the SDL source code. i did compile and make of this code.then i did make install. but i didnt see the files of SDL.h and lib.SDL.*** in /usr/include/ but later i found out that these files are placed in /usr/local/include and /usr/local/lib. how can i specifically install libraries on /usr/include and /usr/lib
View 2 Replies View RelatedI create a simple code for add two number:
Code:
#include<iostream.h>
#include<stdio.h>
main()
{
int num1, num2, sum;
code....
I search the answer to my problem in various forums but I can't solve the problem.I think that is due to I need some package or that I don't install the necessary libraries.
whenever i am trying to compile a c++ program i am getting the following error sample.cpp:1: fatal error: iostream.h: No such file or directory compilation terminated
View 1 Replies View RelatedI've been having a lot of problems solving my HDD mounting problems and renaming. It finally worked, but I had to delete everything from fstab. As crazy as it sounds, it worked, when I turn my computer on, they automatically mount. They are all working fine. I will attach screen shots too. As you can see my fstab is blank, I was just wondering, is this a problem? Or is it totally normal?
View 4 Replies View RelatedI've a problem with the welcome message. As you can see the welcome message with landscape-sysinfo is written twice. The second welcome message is the older one which is something like frozen:
Code:
login as: oliver
oliver@xx.de's password:
Linux xx 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS
Welcome to the Ubuntu Server!
Documentation: [URL]
System information as of Wed Jun 8 01:40:26 CEST 2011
35 packages can be updated.
0 updates are security updates.
Last login: Wed Jun 8 01:30:28 2011 from xx.de
oliver@studi:~$
I was asked to take over maintenance for a web-site written in .asp. Can Appache handle it installed on linux, as a local test-server?
View 2 Replies View RelatedI have written a cd with photos and dvd in Linux and then I tried opening in windows xp but it didn't. It says that it is unable to read it.what can I do?
View 6 Replies View RelatedI'm trying to edit mobi files. To do so, I looked for a mobi2html program, which I found here:URL...I followed all the instructions mentioned in the READ_ME file that comes with the zipped source. I strongly believe, as no error messages appeared during the installation, everything went according to plan.My question is simple: having completed all the installation procedures, what should I do next? My general procedure is to look up for the new program name in the "applications" tab, but I know that won't always do the trick.
View 2 Replies View Relatedphp 5.3 is included in Fedora 12 final , but its not there. I'm using the gnome version of Fedora 12. I know i can install it. I'm writing documentation for flow3 and i need to know if it's included or not.
View 6 Replies View RelatedSource: openSUSE News KDE in openSUSE 11.1 and Beyond KDE 3.5 will not be included on 11.2 �official� media or in the release repository for 11.2, but the community certainly has the option of creating KDE 3.5 packages in the build service, and creating live CDs with KDE 3.5 packages for 11.2. What's everyone's views on this? I personally think that 3.5.x should stay till 12.x.
View 9 Replies View RelatedI was attempting to get crontab to kick off a daily job, but the job wont start. I opened /var/log/messages and noticed all the logs were from 6 months ago. I cleared the log and then did a tail -f so I could watch it for activity. I then hit my box with anunsuccessful log in attempt. Nothing happened to the log. The uptime of my box is 22 days and the logs that were in it before I cleared it were from months ago.Is there a daemon I can check or another file I can mod to get logs writing again?
View 3 Replies View RelatedI wanted to develop a cross platform GUI application.So I thought I would research on Firefox.I havent been able to find out which GUI framework is FireFox using ?Is it GTK, QT, or what ?
View 14 Replies View RelatedI've copied a number of deb files from my ubuntu Natty dvd to /home/bob/Natty-DVD/pool. And I ran:
sudo dpkg-scanpackages . /dev/null | gzip -c9 > Packages.gz
Which created the nesc. Packages.gz file. Then I edited my /etc/apt/sources.list and added the line:
deb file:///home/bob/Natty-DVD ./
and did a sudo apt-get update
But, the list of repos doesn't include my /home/bob/Natty-DVD. This is on a fresh install of natty.
I have a small ubuntu server setup and I would like to create a directory that can be written to by a select number of users. I have a backup directory setup and I want to enable my account as well as three others to be able to read/write to that directory. So far I haven't had any luck.
The owner of the backups folder, a directory on a separate disk mounted under /srv/storage, was owned by root and under the root group. I added the group backups and then changed the backups directory group to backups. I then used chown to change the backups directory to 775 to enable group members to write to it. I then tried to touch a file in the backups folder but no such luck. I did notice that when I run groups, my user account isn't shown as belonging to backups but is shown under the /etc/group file. I even made sure the GID of backups is in fact below 1000.
Anyone have an idea on how to create a shared directory that everyone can create, modify and delete any file? I believe my problem is related to the fact that root is the owner of the backups directory.
For example, I want to install a texteditor called Editra, i done it like the following
First, I install the Editra
sudo apt-get install Editra - success ,its version is 0.5.30
Second, I run it in Terminal
Editra - it can work,but with the error infos "(python:1682): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion `GTK_IS_WIDGET (widget)' failed"
Third, I used command line "dpkg -L Editra", and found that the Editra is installed under /usr/share/pyshared/Editra,so i created the .desktop like this
sudo gedit /usr/share/applications/Editra.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Editra
Comment=the Best TextEditor
Exec=/usr/share/pyshared/Editra
Icon=/usr/share/pyshared/Editra/pixmaps/editra.png
Terminal=false
Type=Application
Catergories=Development
It showed, and I clicked it for running, but it told me error infos
Could not launch 'Editra'
Failed to execute child process "/usr/share/pyshared/Editra" (Permission denied)
Not just Editra, so many software that written in python have the same question, such as tortoisehg...
I went through recordMyDesktop and xvidcap and I didn't find any possibility how to insert written comments into recorded video.
View 2 Replies View Relatedi tried to rip a dvd last night and it got 98% done then said "Data could not be written (Input/output error)"here is the error log from brasero
Checking session consistency (brasero_burn_check_session_consistency brasero-burn.c:1744)
BraseroDvdcss called brasero_job_get_action
BraseroDvdcss called brasero_job_get_action
[code]....
i am write in the forum because i am a bit of resignated. i tried almost all distries and just suse i can install on my notebook without any problems. actually the install works on all other linux deviantes too but the boot records arent written - except for opensuse - but i dont like opensuse. ubuntu is the system which i have choosen and makes a very handsome impression to me. but back to the main problem my notebook is a sony vaio with 4x64 GB SSD cards. 2 ssd's - raid 1 with windows 7 and the other 2 ssd's (volume1) should be ubuntu. the devs are in /dev/mapper/isw_bic_fifbgib_Volume12 till volume 17
i tried to install the boot files to mbr, on volume1, volume2 to the /boot, to a sd card, to a memory stick but ubuntu wont boot from SSD. i just can boot with cd but its not a option for me.
I am posting a thread here for more help. I posted a thread about this problem [URL]..History: This was a clean install of 10.04.1-64b see attachments for lshw and lspci output. An updated bios was needed to be able to turn on the wireless chip, that was done following [URL].. see post #8 there is some issue, the manufacture removed the updated bios from the website.
If I was to guess it has something to do with driver rtl819xSE. I also noticed some 'static' at the lastmountpoints the usb drives. I think the problem here is that this would cause an idle drive never to park and sleep maybe shorted drive life, the logs would become over bloated with this spam, also eat up a battery on a laptop.