1,446 Topics

Member Avatar for
Member Avatar for tux4life

Hello, first of all I'm not a Unix expert at all (otherwise I wasn't asking this question), but I'm having some trouble starting my X-Server ... When I type the following:[iCODE]startx[/iCODE] or [iCODE]X[/iCODE] I get the following error message(s): [CODE] ... No core pointer Fatal server error: Failed to initialize …

Member Avatar for jbennet
0
267
Member Avatar for sanushks

Hi All, i'm executing a C program in unix, is there a way i would be able to capture abnormal termination of the C program. i observed that abnormal termintion results in the segmentation fault message being displayed. Would i be able to capture the return count in Unix to …

Member Avatar for kenji
0
176
Member Avatar for homeryansta

Why won't this let me choose my own array size? Queue line[qs_pair] is what i'm concern about. As you can see, I have the user input from the terminal the size of the array. But when I compile it, it gives me an error on visual studio. line unknown size …

Member Avatar for Freaky_Chris
0
105
Member Avatar for Martin Kovac

Hi, I'm new in using MySQL database and have problem with character encoding. Database was created by this query: [code=sql]CREATE DATABASE 'dbname' CHARACTER SET utf8 COLLATE utf8_general_ci;[/code] Then I've create table using this query: [code=sql]CREATE TABLE IF NOT EXISTS 'tblname' ( ... ) CHARACTER SET utf8 COLLATE utf8_general_ci;[/code] AFTER query: …

0
57
Member Avatar for xkey

Perused for years (in the spatial pauses of keeping too busy) - finally thought I'd register. I'm contemplating creating another non-artificial artificial lifeform; my one and only did not kill me with her terrible 2s revision. Presently one of my projects is acting as a facilitator to some corporate employees …

0
65
Member Avatar for siri_lito

hi can anyone help me i have the code that checks the word entered a palindrome or not it works in visual c++ but when i run the same in unix it is giving me errors can anyone tell me how to run it unix plz..... #include <iostream> #include <string> …

Member Avatar for sophia77
0
329
Member Avatar for dubster

hi guys im new to the site im from south africa...im currently in my second year of electrical engineering and now my college has forced me to do software design and ive never had any experience with programing and the others have cause they had programming 1...so my problem now …

Member Avatar for tux4life
0
106
Member Avatar for ImSorry123

Hi All, I am not familiar with shell script and not really have much experience. How to produce a Unix shell script that will display a welcoming message to the current username. Next, the script will show the current directory path, and the extended information of the current directory contents. …

Member Avatar for masijade
0
67
Member Avatar for Silver Snail

I have created a simple HTML and Perl test to figure out how to properly get a browser to re-Post form data to a new URL. The raison d'etre for this test is to figure out the best way to re-Post the shopping cart order form data to PayPal after …

Member Avatar for Silver Snail
0
897
Member Avatar for Designer_101

Hi I seem to be getting this error on the reply section of my forum. I've never had this problem before and have tried google but found nothing. So, now i turn to daniweb, surly someone must be able to help me here. [B]This is the error:[/B] [CODE]Warning: Wrong parameter …

Member Avatar for nav33n
0
620
Member Avatar for etserrano

Hi, I'm writing a C++ single-threaded Unix daemon that listens for data arriving at a port. The whole application logic is contained into an infinity loop. The problem is that the daemon consumes a lot of CPU cycles, specifically because the loop is being continuously executed. I’ve looking around for …

Member Avatar for etserrano
0
160
Member Avatar for maloken

Hi, I 'm in need of help, I need to code a timer for a turn based txt based rpg game using SQL and PHP, I have a small idea of how this'd work but not sure I was thinking of using: [code=PHP] /* $time = (time() - time()+ 60); …

0
65
Member Avatar for vicky_on_mac

Can anybody tell me about windows lpr command's -o option in detail, my issue is how can I give print with n-up or two copies or any other option through command line, this lpr command I think is not same as that on Unix like operating systems.

0
22
Member Avatar for vishy_85

im new to c++. im trying to create a function to get the systemtime every 1 minute and store it in a variable. im able to display the time using the time.h file. the problem is i dont know how to call the function every 1 minute and assign it …

Member Avatar for siddhant3s
0
84
Member Avatar for EmperorDass

Dear All, I have created a button using Google Toolbar. you can refer it on below link [url]http://toolbar.google.com/buttons/apis/howto_guide.html[/url] when we click on the button, it will grab the current URL that the user viewing in the broswer to my website and saves the URL for future reference of the User. …

0
61
Member Avatar for ryy705

Hello, I call the imagettfbbox function like so `imagettfbbox($font_size, 0, 'monofont.ttf', $code)` but its generating the following error: 'imagettfbbox() [function.imagettfbbox]: Could not find/open font' monofont.ttf is in the same folder. And the code executes fine on the server. It just won't work on my computer. This leads me to believe …

Member Avatar for mcscreech
0
1K
Member Avatar for pace59

Help!!! My database crashed and unable to recover at this point. When trying to restore from backup, the .db file is 120568xxxx bytes long. I am getting a extract write error at 110238xxxx bytes on all tapes. Can anyone give me an idea? I do not know much about a …

0
110
Member Avatar for crewxp

I had 2 assignment that were due tonight and I completed both of them in Visual Studio, but we're required to make sure they compile in linux before submitting them. I'm getting undefined reference errors when trying to compile Assignment3. Assignment2 consisted of marble.h and marble.cpp, runs fine. Assignment3 #included …

Member Avatar for crewxp
0
140
Member Avatar for siddhant3s

I have read prior post on the forum but I came up with few specific questions about Porting Unix Socket(hereby calling it BSD socket) to Win32 Platform : First of all, I am a native Linux C/C++ Programmer. I program in Ubuntu with GCC. But, I usually also port my …

Member Avatar for siddhant3s
0
1K
Member Avatar for pramod.srk

Dear All, This is my first thread. We are porting an application from unix to linux. The application is to be connected oracle 10g and access the database. I am getting the linker error as follows /usr/bin/ld: cannot find -lexc collect2: ld returned 1 exit status The make files flag …

0
28
Member Avatar for pharitha

Could anyone help me splitting a big file into subfiles. The file is something similar to this: 1.SYSTEM = UNIX 2.variable = value 3.>ACTIVATED 1 4.ALL: FILE1 5.ALL:FILE2 6.ALL:FILE3 7.ALL:FILE4 8.>ACTIVATED 1 9. ################* 10.>>CONDITIONS 11.################ 12.MODEL: 13.<one ExeSimpleName> : <one or more Flags> : [Options] I need to split …

Member Avatar for mitchems
0
153
Member Avatar for crow_w

My Google is hijacked and I need help correcting this. When I click links from a Google query I get redirected to pages other than the Google result I clicked. I have included a MalwareBytes log, the ESET log, and the HijackThis Uninstall list as directed. The two files from …

Member Avatar for crow_w
0
197
Member Avatar for drjay1627

The following is a project description of a project that I have to complete: Write a shell-like program that illustrates how UNIX spawns processes. This program will provide its own prompt to the user, read the command from the input and execute the command. Let the shell allow arguments to …

Member Avatar for drjay1627
0
148
Member Avatar for amerninja2

So in C++, using Something like Unix Sockets or Winsock with C++ lets you use things like TCP/IP. But it only lets you connect to an IP within your router when its by itself. How can I have the program somehow forward the connection to like an HTTP server or …

Member Avatar for amerninja2
0
1K
Member Avatar for monkey_king

Hi, I've written a program for statistic analysis that can be found here [url]http://staff.pubhealth.ku.dk/~ande/web/software/relate.html[/url] I want to make it portable and the program works on unix with the following compilers sun, intel and gcc It also compiles on windows with mingw and the intel compiler. I've installed ms studio, but …

Member Avatar for Nick Evan
0
104
Member Avatar for ZeRo 00

Guys.... I am writing a shell .I've managed to get the input from the user through a string and then I've tokenised it. Now the problem is do i need to know weather its a programme or should i continue to fork it without knowing it. As all of u …

Member Avatar for Salem
0
67
Member Avatar for number87

I did a program to read the output of the UNIX command ls -ali and count the number of directories, write files, link files etc. But there seeems to be something wrong with my code and I cant compile it. I cant seem to find out whats wrong with it. …

Member Avatar for death_oclock
0
128
Member Avatar for number87

hi guys its my first time doing a c++ program to manipulate shell input I need to create a c++ program which reads input from this unix shell command >> ls -ali and then im supposed to count the number of dir,write files. I am not allowed to use the …

Member Avatar for Agni
0
247
Member Avatar for crsurfer

Hi, guys i need some help! i need to make a txt file with the "-A" command (in shell). that already is implemented in the client, then the client send the file thru sockets and arrive to the server, the server save the file in his directory. But the code …

Member Avatar for Belrog
0
149
Member Avatar for donjohnson24

Hi, I may not be the most ancient here - at 69 - but there probably aren't too many that are older, I guess. I was an IT Manager/Analyst/programmer/support engineer (it was a small company!) for some years before I retired in 2004, working with a unix (Aix) system and …

0
27
Member Avatar for cylow22

hi there, like almost everybody else here i've got a problem. I am working on a simplified IRC for unix, consisting of a server and a client. It's a task for university.. my problem is, my client receives strange signs from the server and when i want to parse them …

Member Avatar for cylow22
0
106
Member Avatar for Rbezona

I am a contract programmer/analyst living in Florida, and working at a large site with a complex blend of mainframe, Unix servers and PCs running Windows. I support Legacy mainframe systems, and Oracle Financials on the mid tier. I program IBM Assembler, COBOL, FORTRAN, PL/I, Unix scripts, PL/SQL, BASIC, PASCAL …

Member Avatar for jbennet
0
62
Member Avatar for serkan sendur

i tried to see the preprocessed file after it is preprocessed. i created den.cpp : [CODE]#define PROC_ERR(MSGSTR, DO_ACTION) \ { \ cerr << MSGSTR << endl; \ DO_ACTION; \ } PROC_ERR(error,action)[/CODE] i run the following command on unix command prompt to create the preprocessed file : [CODE]g++ -E -o den.i …

0
60
Member Avatar for lswan662

I am having trouble with some php code that was working fine on a unix server but when I try to move it to a Windows 2003 server I am getting errors like "Use of undefined constant x - assumed 'x' in ...". I am using PHP 5. Here is …

Member Avatar for lswan662
0
96
Member Avatar for DeepTaste

Hi, I'm planing to develop a voice logger web application, for Unix server. But to tell you the fact, i have no concept about voice logger. So, can anyone provide me some information about this and, if possible, PHP codes to build a Voice Logger. Thankx in advance.

0
69
Member Avatar for Jay8888

Hello, New member here, hope you don't mind me asking a question right from the get go. I work for a very small software company and have had to take on several responsibilities. One of them is doing builds for new releases. Windows, Unix, Linux, HP, etc., we support them …

0
21
Member Avatar for metalla_nz

I have the below code, [CODE=csharp]string txt = "<table SUMMARY=\"Game Match\" border=0 cellpadding=2 cellspacing=0><tr valign=top><td width=25><b>2.</b></td><td width=60><a href=\"/game/gameboy-advance/legend-of-zelda-a-link-to-the-past\"><img alt=\"Game Boy Advance Front Cover\" border=\"0\" src=\"/images/i/36/26/365576.jpeg\" height=\"59\" width=\"60\" ></a></td><td><a href=\"/game/gameboy-advance/legend-of-zelda-a-link-to-the-past\">The Legend of Zelda: A Link to the Past</a><br>by Nintendo of America Inc. -- 2002<br>Game Boy Advance<table SUMMARY=\"Game Match\" border=0 cellpadding=2 cellspacing=0><tr …

Member Avatar for metalla_nz
0
155
Member Avatar for jehamilt

I have a Perl program I am editing. The idea is to have it write a record to another file whenever a user access this program. Here is the Perl code I am using: open(MYFILE, ">>/usage.file"); print MYFILE "USERID: `whoami` used this on DATE: `date` \n"; close MYFILE; the problem …

Member Avatar for KevinADC
0
135
Member Avatar for jehamilt

Hi, everyone. My name is Jerry Hamilton, I've been a SAS programmer/analyst for a little over 28 years and an independent consultant for most of that time. I am busily developing my UNIX shell scripting skills and dabbling in things like Perl. I will be looking to learn from this …

Member Avatar for jbennet
0
26
Member Avatar for yasserovic

This challenge is ( large and easy ) at the same time .. Those who accept this challenge and want to join the fun and interest, We Will take The Best first Program ,, and he will be The " WiNnEr", ================================================ Description The aim of this project is to …

Member Avatar for Murtan
0
122
Member Avatar for Dave Sinkula

[QUOTE][URL="http://www.catb.org/~esr/writings/unix-koans/script-kiddie.html"][B]Master Foo and the Script Kiddie[/B][/URL] A stranger from the land of Woot came to Master Foo as he was eating the morning meal with his students. “I hear y00 are very l33t,” he said. “Pl33z teach m3 all y00 know.” Master Foo's students looked at each other, confused by …

Member Avatar for vmanes
1
156
Member Avatar for sirihoney

I really wonder whether the diff command can be implemented in c++.. But i need the code for tht..anyone please help... Sirisha.

Member Avatar for Salem
0
50
Member Avatar for cali_dotcom

hi, i'm a newbie to php and i'm building a website right now. i giving the users the option to create and send news letters. i also want to give them the option of sending the newsletters at a later date i.e they can create the newsletters, choose a date …

Member Avatar for mschroeder
0
521
Member Avatar for merianos

Hello all ! ! ! I have a litle problem with a script that I have create. This script selecting from the database all the records (in total 2) and then print out a XML file. I have enter this code to change the header to XML : header('Content-type: application/xml; …

0
52
Member Avatar for amt_muk

Hello Friends, I am trying to porting an unix c++ program into windows using MSVC8.0 compiler. In my unix version there are some lines like [CODE] #include <sys/atomic.h> ... atomic_add_int_nv() ... [/CODE] Now, pls help me to find out the Win version of these code segments. Thanks, Amit

Member Avatar for cikara21
0
99
Member Avatar for jagr200

hey all. Im writing a small script that is supposed to check for a file or directory and when its not there create it. After it creates the file or directory I would like the script to loop to the beginning but I cant figure it out. What am I …

Member Avatar for Fest3er
0
97
Member Avatar for david.1982

Hello gurus! Hoping someone can help me out. I am building a calendaring program for items with php/mysql. Each item will have an entry into a table, listing a starting unix timestamp and an ending unix timestamp. What I'm trying to do is build a query that will search all …

Member Avatar for digital-ether
0
175
Member Avatar for cyprinus

Hi folks, I'm Derek in the UK and I stumbled on this site via the angel of mercy that is Google whilst trying to fend off some malware. Seems like a good place to be so here I am! I'm older than I care to admit and spent most of …

Member Avatar for jbennet
0
119
Member Avatar for monkey_king

Hi, I was thinking about implementing piping and redirection in some of my programs. But I'm having difficilties getting started. Does anyone know were to read up on this area, or just what to google. Google only gives my tutorials on basic unix commandline usage. thanks in advance

Member Avatar for monkey_king
0
83
Member Avatar for deepesh911

This time its regarding my fathers computer which has been slow since its existence I think. the virtual memory is very often low which causes problems. Please have a look at the 2 logs I have posted and help me out: Malwarebytes' Anti-Malware 1.30 Database version: 1445 Windows 5.1.2600 Service …

Member Avatar for jbennet
0
350

The End.