523 Topics

Member Avatar for
Member Avatar for shinsengumi

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 …

Member Avatar for smantscheff
0
400
Member Avatar for Keidi

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}\"" …

Member Avatar for ckoy
0
391
Member Avatar for shinsengumi

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 …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for shinsengumi

Hi, I'm kinda new to using MySQL,I just downloaded sqlite3 for my Linux. Can anyone give me some links to tutorials/sample codes that use MySQL and C as a programming language? Thank you

Member Avatar for mwasif
0
102
Member Avatar for sparkthesunoff

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 …

Member Avatar for rch1231
0
168
Member Avatar for ragnarok511

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?

Member Avatar for WASDted
0
460
Member Avatar for mayank143srk

Hiii m final year b.tech student...i want some ideas for 1 yr. project on linux networking,networking and security....

Member Avatar for mcullam
-1
195
Member Avatar for tlkummell

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 …

Member Avatar for WASDted
0
184
Member Avatar for kaycee3x

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 …

Member Avatar for kaycee3x
0
267
Member Avatar for khess

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 …

Member Avatar for CimmerianX
0
514
Member Avatar for crossbow25

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 …

Member Avatar for crossbow25
0
249
Member Avatar for blackrobe

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 …

0
115
Member Avatar for patrickm129
Member Avatar for Nick Evan
0
97
Member Avatar for peterman.k

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, …

Member Avatar for jamillion
0
378
Member Avatar for san_fran_crisko

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 …

Member Avatar for san_fran_crisko
0
259
Member Avatar for alazanski

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 …

0
201
Member Avatar for Danny_501

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 …

0
61
Member Avatar for 333kyle333

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 …

Member Avatar for 333kyle333
0
173
Member Avatar for 333kyle333

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)

Member Avatar for NicAx64
0
83
Member Avatar for NicAx64

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); /* …

Member Avatar for mike_2000_17
0
143
Member Avatar for willgr

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 …

Member Avatar for willgr
0
229
Member Avatar for 333kyle333

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.

Member Avatar for 333kyle333
0
303
Member Avatar for abcdabid

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

Member Avatar for rch1231
0
102
Member Avatar for notyabhi

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

0
129
Member Avatar for Seregwethrin

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++, …

Member Avatar for MartinDale
0
266
Member Avatar for okwy

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.

Member Avatar for Ancient Dragon
0
221
Member Avatar for sial_m

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, …

Member Avatar for Gribouillis
0
347
Member Avatar for Emily Banks

[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 …

Member Avatar for Imogenmorgan
0
557
Member Avatar for Glass_Joe

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 …

Member Avatar for marees123
0
309
Member Avatar for monstercameron

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.

0
125

The End.