523 Topics
| |
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] … | |
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 … | |
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 … | |
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 … | |
This snippet defines a function [icode]mousepos()[/icode] which gets the mouse position on the screen. The package python-xlib is required. | |
| 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 … |
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 … | |
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") . … | |
| 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 … |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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! | |
how can i start linux operating systems on my computer? | |
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 … | |
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 … | |
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. | |
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") … | |
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. | |
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 … | |
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. … | |
| 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 … |
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 … | |
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 … | |
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 | |
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 … | |
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.......? |
The End.