1,446 Topics

Member Avatar for
Member Avatar for amnakhan786

Hi, i am relatively new to programming. i am trying to use an open source library found by google search. the readme file tells to write make on commandline, as a result i got an exe file sample, but now i am trying to chk the output and the usage …

Member Avatar for JasonHippy
0
237
Member Avatar for pritaeas

Went to a Microsoft Windows 8 Camp yesterday and I must say, it changed my view on Win8 entirely. The camp was focused on the store apps, so I'm not talking about the desktop apps that will still work as in Win7. The idea behind it is something I can …

Member Avatar for BigPaw
2
199
Member Avatar for danielmichael.torres.9
Member Avatar for hwoarang69
Member Avatar for hwoarang69

i write alot of program in C. and it really helpful if i write them in unix or linux. so is there a way for me to use unix or linux without downloading onto my computer? may be i can download unix, linux on CD or some program that let …

Member Avatar for ORAfreak
0
294
Member Avatar for rajkumar.it

Hello guys, I am working as a C C++ UNIX software programmer , and looking for freelancer projects. could you please let me know how can i get the project?

Member Avatar for rajkumar.it
0
114
Member Avatar for lewashby

I have a Samsung Galaxy Tab. To my dissapointment it is unable to be mounted to Linux. I found a few website with instructions on how to mount it be so far they haven't worked. I'M really trying to get more and more away from Window$ but I'M finding it …

Member Avatar for ishkebibble
0
202
Member Avatar for shreya19

Which command is used to copy all files having the string chap and any two characters after that to the progs directory?

Member Avatar for Watael
0
103
Member Avatar for harpoon35

Hello, I was trying to combine some commands but having a little trouble. In a single command I want to call the script dvdcoll2 and accept input from dvdcoll1. Then I want to put stdout into dvdcoll3, and stderr into dvderror. How do I string together four commands in a …

Member Avatar for Watael
0
107
Member Avatar for daino

I'm trying to build a CPP library and have set the CPP Include path as below. I Am using Windows XP with MinGW compiler. VARIABLE NAME: CPLUS_INCLUDE_PATH VARIABLE VALUE: C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++ I have restarted my PC several times but I still get an error message telling me that the file it …

Member Avatar for daino
0
599
Member Avatar for vishankparikh

Q-1 Write a shell script in Unix that lists files from your current working directory · By modification time when called with lm · By access time when called with la. By default, the script should show the listing of all the files in the current directory. Q-2 Write a …

Member Avatar for sbesch
0
149
Member Avatar for pepsi123

I keep receiving these error messages: Applicant.cpp:25:6: error: prototype for âvoid Applicant::setDeposit(char)â does not match any in class âApplicantâ Applicant.h:12:7: error: candidate is: void Applicant::setDeposit(bool) Applicant.cpp:29:6: error: prototype for âchar Applicant::getDeposit()â does not match any in class âApplicantâ Applicant.h:13:7: error: candidate is: bool Applicant::getDeposit() Applicant.cpp:71:5: error: prototype for âint Applicant::addPoints(int)â …

Member Avatar for pepsi123
0
175
Member Avatar for professor123

how can you use the **HISTORY** command in **UNIX** or is there an **Alternative command** to view your previous unix commands.

Member Avatar for rubberman
0
266
Member Avatar for minitauros

Hello there. I am kind of confused. In PHP I substract two unix timestamps from each other. The first: mktime(0, 0, 0, 10, 22, 2012) The second: mktime(24, 0, 0, 10, 28, 2012) For as far as I know the time difference between these two timestamps is exactly 7 days. …

Member Avatar for diafol
0
240
Member Avatar for pattilupwned

Hello, I am writing a program that reads in data from a text file and puts it into a linked list. Certain variables are read in only if the "officeHeld" number is a particular number, otherwise the variable is set to 0. When I run this through Visual Studio, I …

Member Avatar for dx9_programmer
0
365
Member Avatar for daino

Has anybody ever installed libjpeg for windows. I have a MingW compiler, MSYS if needed and the instructions are leading me nowhere. It seems to require an understanding of one thousand obsolete systems to get anywhere. Must I have MSYS installed? Can I install using the windows CMD Prompt? Is …

Member Avatar for vijayan121
0
3K
Member Avatar for yoyo12345

# # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.org/docs/2.2> for detailed information. # In particular, see # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html> # for a discussion of each configuration directive. # # Do NOT simply read the …

Member Avatar for yoyo12345
0
248
Member Avatar for McLaren

Hello, I am stuck with tryting to upgrade PEAR fri 1.7.2 to newest version. I want to install PHP unit and it does not like 1.7.2 version of pear. I managed to get till there: C:\Users\Darius>pear upgrade pear WARNING: channel "pear.php.net" has updated its protocols, use "channel-update p ear.php.net" to …

Member Avatar for McLaren
0
314
Member Avatar for jnewman3

I've been working on this code for 2 days now and i finally think i got the while loop running correctly but now i cant seem to print the child process id's. The code starts with the parent process forking 3 child processes. Then the parent must wait till a …

Member Avatar for rubberman
0
276
Member Avatar for rhowell

I'm inspecting a binary file. I have a rough idea of what is inside but there are some characters present which I am not sure how they got there. My question is highlighted in bold below. Thanks. To speed things up the first 28 bytes are reserved for the date …

Member Avatar for rhowell
0
164
Member Avatar for doa.sdude

<ns:Address> <ns:StreetNumber>XXXXX</ns:StreetNumber> <ns:CityName>XXXXXX</ns:CityName> <ns:StateProvNamePA</ns:StateProvName> <ns:ZIP>XXXX</ns:ZIP> <ns:AddressID> <ns:ID SystemCode="CODE">10</ns:ID> </ns:AddressID> </ns:Address> <ns:Address> <ns:StreetNumber>XXXXX</ns:StreetNumber> <ns:CityName>XXXXXX</ns:CityName> <ns:StateProvNamePA</ns:StateProvName> <ns:ZIP>XXXX</ns:ZIP> <ns:AddressID> <ns:ID SystemCode="CODE">10</ns:ID> </ns:AddressID> </ns:Address> <ns:Address> <ns:StreetNumber>XXXXX</ns:StreetNumber> <ns:CityName>XXXXXX</ns:CityName> <ns:StateProvNamePA</ns:StateProvName> <ns:ZIP>XXXX</ns:ZIP> <ns:AddressID> <ns:ID SystemCode="CODE">10</ns:ID> </ns:AddressID> </ns:Address> <ns:Address> <ns:StreetNumber>XXXXX</ns:StreetNumber> <ns:CityName>XXXXXX</ns:CityName> <ns:StateProvNamePA</ns:StateProvName> <ns:ZIP>XXXX</ns:ZIP> <ns:AddressID> <ns:ID SystemCode="CODE">10</ns:ID> </ns:AddressID> </ns:Address> I am tryting to Spilt a File into number of …

Member Avatar for L7Sqr
0
254
Member Avatar for Joe2

Just tried to access this link; http://blog.seorevolution.com/2012/09/28/things-you-should-know-right-now/ And got: “Forbidden You don't have permission to access /2012/09/28/things-you-should-know-right-now/ on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. ________________________________________ Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_perl/2.0.5 Perl/v5.8.8 Server at blog.seorevolution.com …

Member Avatar for np complete
0
107
Member Avatar for JonasBruunJacobsen

Hi Daniweb! I'm going nuts here, this is my first IT problem I as a softwaredeveloper hasn't been able to solve myself... I'm just not that much hardware guy as I wanted to really be I guess.. :( *I have written a short synopsis of my problem, since my post …

Member Avatar for FzFx
0
2K
Member Avatar for abulut

Hello; While this script working, in case of not to connect a node ("BADYK01","BAGRK01", "BAHLK01", "BAHLK02", "BAHLK03") , it stops. I want it to be continue even if it doesnt connect a node. I mean if it couldnt connect to BAGRK01, I want it to be continue and connect the …

Member Avatar for wickedxter
0
178
Member Avatar for cereal

Hello. The problem is in [this post](http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/434969/php-and-apache#post1868055). First block of code, line 5 and line 9. I see a difference between normal view and raw view (on double click). In normal view line 5 appears like: <Directory /> in raw: <Directory ></Directory> and the same happens on line 9. These …

Member Avatar for Dani
1
257
Member Avatar for hwoarang69

not sure where to post this but the problem is that i cant seem to compiler a program in unix. i am using unix: SunOS unix2.its.albany.edu 5-10 Generic_142900-06 sun4u sparc SUNW, sun-Fire-V440 1-create file emacs hello.cl(l = lower case L) 2.write program in "COOL" class Main { i : IO …

Member Avatar for hwoarang69
0
120
Member Avatar for hwoarang69

not sure where to post this but the problem is that i cant seem to compiler a program in unix. i am using unix: SunOS unix2.its.albany.edu 5-10 Generic_142900-06 sun4u sparc SUNW, sun-Fire-V440 1-create file emacs hello.cl(l = lower case L) 2.write program in "COOL" class Main { i : IO …

Member Avatar for rubberman
0
102
Member Avatar for Lisa Hoover

You can tell a lot about a company by the way they treat the employees lowest on its pay scale. Pay cuts and, yes, even layoffs are inevitable in today's economic climate. The decisions are painful, but they're often necessary and unavoidable. They aren't, however, a license to be callous …

Member Avatar for J_Swaine
0
313
Member Avatar for mmcdonald

Sorry people but I'm really struggling with this and I don't know why... but still. I have a stored unix timestamp. [a] I have the current timestamp not in unix format (YYYY-MM-DD HH:MM:SS) [b] I need to: 1) convert the current timestamp [b] into a unix timestamp 2) I need …

Member Avatar for leviathan185
0
275
Member Avatar for nitin1

actually, i have just started using Ubuntu these days(though i have knowledge of unix/linux from past 2-3 years but didnot worked practically) .Can you give me best links in your knowldge for commands related to networking? I have read from about 15 links from google.com. But still i want more …

Member Avatar for nitin1
0
141
Member Avatar for ulasoc

would you help me how i can connect a unix server and send a command using .net for example changing chmod of a file? Unfortunately there is no usefull information about this on net. But i want to do this using ftp server(not domain name or ip address)

Member Avatar for Nutster
0
280
Member Avatar for New Abhi

Hi all, How to remove duplicates in Unix. Suppose i have file like bellow 1,primary,a 1,secondary,b 2,secondary,c 2,secondary,d i want the output as 1,primary,a 2,secondary,c Please give me the solution for this command.. Thanks in Advance..

Member Avatar for Kwetal
0
124
Member Avatar for mynamekbk

Hello All, I have shell script which runs on unix box but recently we moved to windows box. I am completely zero in VB script I need you guys help to convert the below script to VB Thanks in advance for the help. CheckQDepth() { arch_log_file=`ls $arch_dir |grep $FNPARAM | …

Member Avatar for Kwetal
0
261
Member Avatar for Gaiety

I have some strange problem which i started facing from yesterday. i have used GDB many times on my system , but yesterday when i started running GDB , my dubugger is enterings the library functions code part also which is very irritating for me. I mean if the program …

Member Avatar for _avishek
0
642
Member Avatar for nexocentric

My network card doesn't have any UNIX drivers, but it does have windows drivers, so I'm trying to install ndiswrapper. It seems like the default installation of Ubuntu server doesn't have python installed, so I can't dpkg niswrapper in. Is there any resource to help me learn how to hunt …

Member Avatar for nexocentric
0
272
Member Avatar for SHASHWATH

Spiltter function split the sample.c program into 3 parts sample.dat.1 sample.dat.2 sample.dat.3 if its memory size is 300 and splited file wil hav 100 respectively . . And join function is opposite of it. . Its in unix example split -c <size> filename for join join file

Member Avatar for Ancient Dragon
0
112
Member Avatar for lewashby

http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html Above is a list of commands from the LFS project. I'M building a script for this page I want to be sure I'M not fraking this up. Please pay special attention to the following: sed & unset - at the top case & esac and the threee cat & …

0
99
Member Avatar for n.aggel

Hi to everyone! I want to create a simple chat application using udp sockets. I want to have 2 applications that will be able to talk to each other.In particular app1 will send msgs to p2 and p2 will display them in stdout. Then maybe p2 sends a msg to …

Member Avatar for Ambreshbiradar
0
1K
Member Avatar for talisien

Hello, Does anyone know how to connect to a ms sql server from a unix platform Below is the code i found. I've setup the slq server and allowed it to accept remote connection. Port 1433 is open for connection and firewall is configered to allow remote connection. The host …

Member Avatar for talisien
0
264
Member Avatar for learner_new

> this is my udp server code #include<iostream> #include<arpa/inet.h> #include<unistd.h> #include<sys/socket.h> #include<sys/types.h> #include<stdio.h> #include<string.h> #include<stdlib.h> using namespace std; void error( char *msg) { perror(msg); exit(EXIT_FAILURE); } int main() { int sockfd; sockfd = socket(AF_INET,SOCK_DGRAM,0); struct sockaddr_in serv,client; serv.sin_family = AF_INET; serv.sin_port = htons(53000); serv.sin_addr.s_addr = INADDR_ANY; char buffer[256]; socklen_t l …

Member Avatar for BobS0327
0
3K
Member Avatar for firdousahmad
Member Avatar for JorgeM
0
94
Member Avatar for musicman432

So I'm trying to write this program in C that will take a message the user types in and encrypt it using an RSA public key that the user supplies. I know there are encryption functions and libraries in C but I want to actually recreate the algorithm in code …

Member Avatar for sccdqx
0
298
Member Avatar for sandeepau

Hi, Can you please suggest me to how to execute .profile from perl script. I have following unix script steps & just wanted replicate them in perl script to make sure I'm executing .profile. . ~/.profile echo $SHELL

Member Avatar for chandrashekar
0
150
Member Avatar for Dewey1040

I've recently created a .dll project in Visual Studio using C++. I'm curious how Visual Studio is creating the ability to link the files. I got everything working properly but it seems I can get the project to work flawlessly regardless of where the .dll file is located. Once the …

Member Avatar for mike_2000_17
0
186
Member Avatar for fl415

here is the problem: Write a C/C++ program (call it string invert) that takes a string argument from the command line and outputs the string in reversed order. Here comes the twist: Each process can output at most one character. If you want to output more than a single character, …

Member Avatar for DeanMSands3
0
852
Member Avatar for Samyx

I need help writing a c program to run in Unix that uses pthread library to create a thread that computes the fibonacci numbers. I should provide a parameter to the thread indicating which fibonacci number to return and use pthread_join to wait and collect the returned value and lastly …

Member Avatar for DeanMSands3
0
3K
Member Avatar for keval007

Hi, I am new to Unix environment. Any one can explain how I can set CRON job to run PHP script. Thanks.

Member Avatar for rch1231
0
223
Member Avatar for hwoarang69

hi i am programming for about 4 years and i want to learn how to make a operating system. for ex window, mac or unix. And i am think of storing it on a disk. I have no idea how to get started. can any one tell me the steps? …

Member Avatar for Schol-R-LEA
0
247
Member Avatar for SphirosOkelli

I have been working on a linux/unix course. I am an apprentice at a server administration company and part of my homework is related to Xserves and how to use them. I have been stunted in my attempts because I cannot get NX to work. I have a windows 7 …

0
89
Member Avatar for addlebrains

Hi there. I've just written an extremely simple cross-platform wrapper for posix threads. I compiled it on unix and it compiles with no errors. The windows side... not so pretty. I'm using MinGW. gcc compiles fine but throws a couple of warnings at me (I'll explain in a bit.) g++ …

Member Avatar for ThoraxImpailor
0
231

The End.