523 Topics
| |
Hi everyone. I'm trying to export my C program that used MySQL from Linux to WindowsXP and to make the exportation simpler, I'm thinking of downloading Cygwin. May I ask if I still need to download anything to help me use MySQL in Cygwin? Links to download sites and/or tutorials … | |
I am trying to call a php script through a shell script.The script is to be called as the run on receive directive of gammu-smsd.My php script executes as expected when I call it using[CODE]/opt/lampp/bin/php myvarsreader.php[/CODE].However on trying to run my script(From terminal): [CODE]#!/bin/sh PROGRAM=/opt/lampp/bin/php myvarsreader.php eval "$PROGRAM \"\${SMS_${i}_NUMBER}\" \"\${SMS_${i}_TEXT}\"" … | |
Hi everyone! I'm transferring my C program that I created from Linux to WindowsXP. I would like to know what I need to download/install in Windows in order to compile and successfully run the program? Also, will I need to change some parts of the source code? I used socket … | |
Could you please help me with this task? "Write a shell script which solve the task without the whereis command. The parameter ($1) is a file name. The script tells you which directories (maybe more than one) does the file exist in. (in the all-time PATH variable)" So far, i … | |
| Hi, I am about to get a PS3. I know that you install Linux distros for the system. Anyways, I would like to play XBox 360 games on my PS3. Does anyone know any good emulators for that? |
Hiii m final year b.tech student...i want some ideas for 1 yr. project on linux networking,networking and security.... | |
Good Morning... Where to start? Well, I live near San Francisco, California. Married for almost 40 years, two kids (all grown up), two grandchildren ( 6 and under). My career started in 1966 at IBM as a Field Engineer on very large, water cooled, mainframes. I've had to reinvent myself … | |
I have Ubuntu 9.10 running on Oracle Virtual Box in my Windows Vista computer. I have XAMPP running on both. The host is currently set to 192.168.10.4 and the Virtual machine at 192.168.10.3. I tried running the same code independently on both computers and it runs fine on Windows. In … | |
My wife purchased the 32GB [URL="http://www.apple.com"]Apple[/URL] iPad for my Father's Day gift. Fortunately, for me, you don't receive the iPad the day of purchase. Here's how it works: You buy the iPad, they send you an email when it arrives at the Apple Store, you have 24 hours to pick … | |
SinglyList.h [CODE] #ifndef SINGLYLIST_H #define SINGLYLIST_H #include <iostream> #include <string> using namespace std; class Exception { private: string errMsg; public: Exception(const string& err) { errMsg = err; } }; class InvalidPositionException : public Exception { public: InvalidPositionException(const string& err) : Exception(err){} }; class EmptyException : public Exception { public: EmptyException(const … | |
Hey there, I'm currently using NetBeans 6.8 running Cygwin GNU Bash version 3.2.49(23)-release. I'm having a problem running my program that uses pthreads, mutexes, and semaphores. After it creates 1 to 3-4 threads, it returns a Segmentation fault. I ran the program on a computer running Linux (using NetBeans as … | |
This would really help with my security software, and my batch-exe converter. Thanks! | |
I just started my mid level c++ class. In the past we have been using Visual Studio, which I can access thru a VM that our school supplies, so I can program from my Mac no problem. In this class, however, we are switching to a linux based programming tool, … | |
| Hi, I'm trying to use either one or two old embedded x86 devices to build a NAT server, however many it takes. It's a bit unique in the sense that I need full transparency (i.e. no firewall) and fully duplex NAT. I have a network switch which is separated in … |
Hello, I have an old laptop that I don't need. It has 1GB RAM ans 120GB hard drive. I have a somewhat fast internet connection... So, I want to make a "Linux Based Home Web Server". I want to host my files and my websites on it. Now, please help … | |
Hi all, I'm making a miltithreaded program that uses the pthreads library. One of the threads monitors the users input. my problem is when I enter a close command I get the following error: 9 [sig]...: *** fatal error - called with threadlist_ix -1 make: *** [run] Hangup I know … | |
I asked this before, but I have to ask again considering I still haven't found a way to do this. I need to know if there's a way to take a variable inputted into a C++ program and pass it to the terminal as an environment variable. Again, I'm running … | |
The title explains it. I'm running Ubuntu Linux if it matters. I want to be able to take input and pass it to the terminal (bash shell) | |
hi all, I'm new to the linux programming first of all. I just wrote this program. [code] #include <fcntl.h> #include <stdio.h> #include <iostream> #include <string> using namespace std ; int main(int argc,char **argv) { /* open the file */ string _path_name = "./file"; string _return ; int fd=open(_path_name.c_str() ,O_RDONLY); /* … | |
I have developed a C++ CGI which runs fine on Apache on Win32. I would like to deploy the program onto linux. My plan is to install Wubi (i.e. Ubuntu) and compile the CGI there so that it will work on the linux server. But before I do, I need … | |
Okay, this is probably gonna sound dumb, but I need to know if it's possible to take a variable held using C++ and make it an environment variable in a Linux terminal. If it makes a difference, I'm using Ubuntu Linux with the Gnome shell. | |
Hi all Please help me in this problem: Suppose i have hundreds of files in one directory with different extenshions, I want to rename all filenames. [COLOR="Green"]filename[/COLOR] required filename [COLOR="Green"]XYZ[/COLOR]bla.java with [COLOR="Red"]ABC[/COLOR]bla.java [COLOR="Green"]Xyz[/COLOR]bla.java with [COLOR="Red"]Abc[/COLOR]bla.java [COLOR="Green"]xyz[/COLOR]bla.htm with [COLOR="Red"]abc[/COLOR]bla.htm please tell me about shell script for this. regards Abid | |
I am using ext4 filesytem on fedora 13 and also Windows 7. Tried linux internal reader, ext2fsd and many more to fetch data from ext4 partition but unable to do so. Can any one help to access data in Linux partition from Windows 7. Thank You | |
Hi mates, Firstly I'd like to apologize if the forum is wrong but I can't find the forum for my topic. I'm a software engineering student from Turkey and I'm trying to lead my career as best I could. A software engineer should have knowledge of any technology, C, C++, … | |
Good day all, I have a date string format say like "2010-03-01" and I want to get the "tm_wday" equivalent of it say like Monday, Tuesday ... Could someone give me a hint on how to achieve this in c. Thank you. | |
Hello all, I have python 2.6 installed, i can see it in /usr/bin and I can run it in terminal. I cannot however seem to figure out how to open the Idle, or get the program to show in the redhat drop menu. Kinda new to linux (some ubuntu use, … | |
[ATTACH=RIGHT]16277[/ATTACH]First came the smart phone. Next comes the smart camera phone. Thanks to [URL="http://graphics.stanford.edu/projects/camera-2.0/"]researchers at Stanford University[/URL], your smart phone's camera might eventually have a plethora of its own apps that are more advanced than even the iPhone's limited inventory of camera apps. "Camera manufacturers used to ignore phones because … | |
Last week, [URL="http://www.daniweb.com/news/story299002.html"]Indian officials unveiled a $35 Linux-based touchscreen computer[/URL] to the dropped jaws of users holding tablets 16x as much. Capable of web browsing with JavaScript and Flash support, word processing, video conferencing, viewing multimedia content, reading PDF files, and housing USB ports, Wi-Fi, and 2GB of storage, its … | |
cant decide which is best, caanoo has the best specs, dsi has the most fun games, and the psp go looks the slickest...can you see my dilema. |
The End.