Code of baul :)
Code:
/*
* Hanx [Proyecto Fedora Peru] wth Code
* crc.c - app
*
* This program is private version, for anti-educational purposes and without any
* explicit or implicit warranty; in no event shall the author or
* contributors be liable for any direct, indirect or incidetal damages
hi,
I am new in the shell script, and c programming with linux.
I've been working on facial recognition and have obtained a dll that can recognize faces in an image, and gives cordinates aswell.
It came with an example program written in C++ and I'm trying to port it to python. Here is the C++ code
#include "windows.h"
#include "loadbmp.h" // from http://gpwiki.org/index.php/LoadBMPCpp
To start off with this is a homework assignment for my Operating Systems course and I am stumped.
The prof wants us to read in a source code file and take out all the comment lines and then output the file back into a new source code file.
Guys, I have the following code
Code:
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/wait.h>
#include <unistd.h>
void read2();
main(int argc, char** argv)
{
int pid,status;
pid=fork();
if ( pid == 0 )
{
read2(argv[1], argv[2]);
hello
i have made a small program to find the md5 checksum of a string.i am using xshell to compile the program.
Code:
#include <string.h>
#include <stdio.h>
#include <sys/types.h>
#include <md5.h>
int main(int argc, char * argv) {
MD5_CTX context;
I am new to GUI programming, while surfing through trolltech i find this tutorial. I tried several ways but couln't make it run. can somebody help please ???
Here is the code :
Code:
/*
A small program to demonstrate QT
FileName : main.cpp
*/
#include <qapplication.h>
Hi all -
I've written a small C program which is supposed to check if a file exists (in the current directory).
It compiles (but with warnings) and segfaults when run.
In the following program though most of the working part of the program is commented out, it gives seg fault. reducing the value of MAX to say 10000 removes the seg fault. Why is this happening? it should be only 1 MB only. Is 1 MB too big for an array?
#include <stdio.h>
#define MAX 1000010
int main()
{