523 Topics

Member Avatar for
Member Avatar for jBat

I'm trying to understand how the function encrypt works (linux), but event with this simple example is not working. Any ideas?. Thank you. #define _XOPEN_SOURCE #include <unistd.h> #include <stdlib.h> #include <iostream> #include <string> int main() { const char key[64] = "12" ; /* bit pattern for key */ char txt[64] …

Member Avatar for tinstaafl
0
154
Member Avatar for khakilang

I have a few good old computer which runs on Window XP without any problem so far. But what happen come next year when Microsoft put Window XP to rest forever. No security updates, no hardware drivers update, no third party software updates etc.. Dump the old computer and buy …

Member Avatar for Tcll
0
416
Member Avatar for oanahmed

Hi! Few days ago, I had learned C language. It took me almost 8 to 10 months to learn the whole language. Now I wanna want to make real world applications using it. I'm an Ubuntu user or more generally a Linux user. The point to ponder is that I …

Member Avatar for DeanMSands3
0
3K
Member Avatar for pwolf

I have just started looking into vim, and It seems very cool indeed ! However, I am not sure whether I should use it for everything or if I should use an ide with a vim plugin. I am interested in learning libgdx/android and google glass stuff. So which would …

Member Avatar for jwenting
0
711
Member Avatar for Gribouillis

This snippet defines a function [icode]mousepos()[/icode] which gets the mouse position on the screen. The package python-xlib is required.

Member Avatar for woooee
1
6K
Member Avatar for iamthwee

I have a doubt with my codeigniter .htaccess file. I was hoping there was something I was missing. My question is I need a different .htaccess file for my live server and one for localhost. Locally, I'm using macos and linux, on my live server I am using centos with …

Member Avatar for veedeoo
1
2K
Member Avatar for iamsmooth

I know there are benchmarking programs that exist, but I've decided that as an exercise, I want to try and create some sort of simple benchmark program to test schedulers of my Raspberry Pi (CFQ, noop, deadline). I have been switching the schedulers and testing some linux commands using time …

Member Avatar for griswolf
0
287
Member Avatar for MeixiuLin

I have trid the testing script as follows: [code=php] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </HEAD> <BODY><?php $headers = 'From:info@mydomain.com'. "\r\n" . 'Reply-To: [email]info@mydomain.com[/email]' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); $ret=mail('user@customer.com', 'subject', 'this is the content',$headers,'-finfo@mydomain.com'); echo "<BR/>mail() returned: " . ($ret? "TRUE" : "FALSE") . …

Member Avatar for fateenalkhred
0
3K
Member Avatar for napninjanx

I mean I love software the way it's designed and it's pretty cool :D I have collected loads of ebooks, software, OS'ses also Linux OS'ses cause I love it so much, plus I also have snap shotted photos of my favorite softwares and extracted the setup of the software just …

Member Avatar for jwenting
0
270
Member Avatar for Hilfiger

Hello I have to write a thesis on External Computer Devices and i have a problem decideing what to make as an application. Basicaly i write about ports, how they work, intrerupts, standards etc. I know the topic is very vague, unfortunately was to late to change the topic. Did …

Member Avatar for Hilfiger
0
293
Member Avatar for EchoSeven

hello. my MySQL database corrupts the database when ever i start, stop, or restart the service. i am on a laptop.. and this is for testing.. so, i have to stop the server to be able to do other kinds of work and take my laptop to school, work, and …

Member Avatar for EchoSeven
0
577
Member Avatar for Tobias2189

I want to develope games as an indie dev. But I'm really lost in this giant sea of programming languages and terms I don't really understand. I've sorta used programs like GameMaker & ClickTeam Fusion 2.5. I was terrible with GameMaker and never touched the GM Language. I've done a …

Member Avatar for Hiroshe
0
224
Member Avatar for MasterHacker110

I was wondering something, I know that on windows you can't interact directly with the hardware, you have to use the system API. Now in Linux in the other hand, it looks to me if this can actually be done, or am I wrong? The thing reason why I say …

Member Avatar for mathematician
0
237
Member Avatar for Mr.UNOwen

As all of you can tell from the title, I need help understanding how to communicate to a USB port. Basically I need to send some bits to a usb micro controller and to do so I need to understand how you do it in C for both a Windows …

Member Avatar for omarcharolin
0
10K
Member Avatar for tania2011

Using POSIX thread library two threads are created by this program. Main program creates a file, let say, ‘alphanumeric data.txt’. The thread one writes some alpha numeric value along with system time in this file. Second thread reads this value from file and displays the following information on screen: Alpha …

Member Avatar for L7Sqr
0
149
Member Avatar for daChi

Hi there, my name is Brian. I am a software engineer whose most experienced in the Linux/UNIX shell scripting world. I also have a background in cloud computing (namely Amazon Web Services) and Java. I look forward to learning from and sharing with the Daniweb community!

Member Avatar for Dani
0
54
Member Avatar for ELIAS MUTHAMA
Member Avatar for rch1231
0
128
Member Avatar for Ghost0s

Hi i'm a newbie here & my questions are : 0- *what should i know to develop a library like the C standard library and if im thinking of building my own OS "im just dreaming" should i create a NEw C for it cause as we know C for …

Member Avatar for Ghost0s
0
299
Member Avatar for blackmiau

I've finally decided to "upgrade" from Windows Vista to Win7. I'm now in the process of backing everything up. Since this is going to take some time, I've hooked up my computer to the tv and I'm now using another computer (yes, I have a backup pc, hihihi). I wanted …

Member Avatar for blackmiau
0
264
Member Avatar for sankubha

Am developing a c programming which contains windows.h header file and GetWindowText api functions.Now i want to run it in linux.Is there is any api in linux or is there is any possiblity to run the c programming on linux.

Member Avatar for Ancient Dragon
0
452
Member Avatar for badoosan

I am trying to port some code running on a Linux machine to a Windows 8.1 machine running xampp. I am stumped as to why my cookies aren't getting stored and retrieved. Here's what I'm doing: #!\xampp\perl\bin\perl use CGI; use CGI::Session; my $cgi = new CGI; my $sid = $cgi->cookie("CGISESSID") …

Member Avatar for Taywin
0
260
Member Avatar for jithinjohny

Hi, I have linux based hosting. I need to upload and work the jsp/servlet pages. after i uploaded the files into the hosting, when i checked the files , it shows the code itslef. How to fix this. Please help me. Thanks in advance.

Member Avatar for stultuske
0
210
Member Avatar for MasterHacker110

So as I posted before I am thinking on buying an iphone. I want to get into mobile app dev. I dont have a mac (only windows) so I search and found a lot of articles that said that it is basicly imposible to write iphone apps from a windows …

Member Avatar for SalmiSoft
0
323
Member Avatar for satzrd

Hi All, I created a VM with RHEL as guest OS. When i try to add that VM in a existing domain (manully) it shows "Reverse look up zone cannot be found". I assigned static IP to the linx VM, it is rechable from the physical machine and vice versa. …

0
135
Member Avatar for zegarnek

Hi, I am just playing with C code in the console under Linux. In the old times a fair bit of code was written for a console; programs were operating in text mode, creating menues was quite a fun. I coded very simple c routine to print a strings of …

Member Avatar for N1GHTS
1
3K
Member Avatar for shaheer21

Hello i am new to assembly please help me i want to write a program in Linux assembly which can multiply and divide real binary and hexa decimal numbers(e.g 11010.11001 & A56.B5). . Please help me as soon as possible i will have to submit the assignment by tuesday please …

Member Avatar for Assembly Guy
-1
121
Member Avatar for Sajoo

Hello I am working on Parallelization of Fractal Image Compression. I have used prof. Yuval Fisher's enc.c and dec.c fractal image compressor / decompressor. The code is working fine but my question is: How to view the RAW images lenna.dat(input image) and lenna.out(decoded image) on Windows/Sun/LINUX machine. I think there …

Member Avatar for Arun_8
0
368
Member Avatar for nouth

It is possible to read/write the binary of any file with using Python? `open(file, "b")` only works for windows `"rb"` `"rb+"` `"wb"` `"wb+"` `"ab"` `"ab+"` works but `.read()` just prints the file contents not its binary

Member Avatar for nouth
0
696
Member Avatar for stockton

My organisation is about to deploy 500+ Raspberry Pi's(running Debian) across the country. I have been given the task of configuring these devices. Configuration depends on specific installation, so cannot be configured before installation and the staff at the remote site seriously lack skills. BTW These remote sites are all …

0
203
Member Avatar for adhirgukt

I'm using gcc compiler in linux ubuntu os. I's started doing windows programming in c but my compiler does not having windows.h or supporting header files. How can i include these windows programm supporting files? Can i download them externally or what else.......?

Member Avatar for invadev
0
12K

The End.