UNIX/Linux Programming - December 2012 (Page 2)

pthread_create invalid arguments...
#include <stdio.h> #include <pthread.h> #include <stdlib.h> void * thread1() { while...
[3 replies] Last: change the function signature to void* thread1(void*) #include <std... (by vstomar)
Using #define
Hello, I created a simple file to calculate a bisection and I had problems with the #define. I ...
[6 replies] Last: Technically, __e cannot be used in a portable program, with or witho... (by Cubbi)
File Browse
Hey! I am a college student trying to impress my professor with a final project where we have to sav...
[1 reply] : In OS X the file dialog is handled by NSOpenPanel and NSSavePanel hel... (by codewalker)
mysql++ linux
how to print the result of the mysql querry in c++ myc codes are : #include<iostream> #include<mysq...
[2 replies] Last: okay okay got it thanx (by pradeep rawat)
by athila
Security Data Input in C++
Hello Everybody... I'm trying to write a code for input a int data in a security way. If the us...
[1 reply] : #include <iostream> #include <string> using namespace std; int main()... (by dailei)
cout does not display!
#include <stdio.h> #include <string.h> //strlen #include <stdlib.h> #include <errno.h> #include...
[5 replies] Last: cout << "Something" << endl; which is really the same as: cout << "... (by Stewbond)
how decoding works in this code
Hi, i have this piece of code which is decoding function for rice algorithm. which i pass as input ...
[no replies]
PCC-S-02016, include file pathname is too long
Error at line 43, column 16 in file /u04/net/rtp-netapp1/vol/build/nwwls/devspac e/thirdparty/SunOS...
[1 reply] : Can you explain what you're doing. I feel like I just walked into a r... (by kbw)
by amwani
getline from file only works for somet string
Hi, I am trying to get string from textfile to be decrypted. The file contain special character a...
[1 reply] : As the file contains non-printable characters, you should open it as a... (by kbw)
2d array performance
I perform 3loop matrix multiplication with different 2darray definition (pointer 2 pointer,template ...
[7 replies] Last: I asked for difference between MFLOPS and elapsed time for computing ... (by Cubbi)
small project - looking for professional help
Is it possible to hire someone from here to help me on an advanced level C++ project on Linux? Ho...
[1 reply] : This would be better suited in the jobs section, and you may want to i... (by ResidentBiscuit)
by spirit
Compiling third-party source code that came without Makefile
Hello, Situation: I would like to compile some scientific third-party program under Linux usin...
[7 replies] Last: I usually write Java software under Linux and know little about Compil... (by spirit)
Req : Linux TCP/IP tutorial
hellow i try to learn about linux TCP/IP . anybody can give me an source example (server and clie...
[1 reply] : There's nothing special about TCP/IP on Linux, it's basically the same... (by kbw)
by sanaz
HOWTO: Create C/C++ libraries in Linux (static and dynamic linking)
Hi people, I'm trying to compile the following code in ubuntu 10.04 #include <map.h> And i ge...
[1 reply] : You probably mean #include <map> (by kbw)
Error Allocating Data
Hi All, I have been using two different libraries that were created by my colleagues. Now the probl...
[2 replies] Last: [quote=navderm]Awaiting ! Sincerely, navderm Whay are you waiting ... (by guestgulkan)
pthread_create problem in POSIX, undefined reference to 'pthread_create'
Hi guys, I have this problem in my compiler, I'm using codeblock.. this is the code.. #incl...
[3 replies] Last: Thanks guys, I fix the code with c++ x.cpp -o x -lpthread...in the con... (by Nitros8891)
how to get binary in text file
Hi, i have this piece of code, the encoding function creates a file of binary 1's and 0's but since...
[2 replies] Last: You should use fread() to read a binary file opened with fopen(). In ... (by kbw)
challenging 1-line question
I am using a function like this: double f (double M, void *l) { f_params &params= *reinterpret_...
[1 reply] : Should be one of those: f_params Data; // Initialize Data f(14, &Dat... (by S G H)
Need Help urgently !!!!!!
Anyone can help me,i'll pay you Leave your email
[3 replies] Last: Sry, I only do programming in windows and I don't use bash but c++, bu... (by Filiprei)
by Copy
Trying to compile C++ with g++ in Unbuntu
Well, I've followed all the tutorials and it's still not working. I don't know where else to turn ca...
[10 replies] Last: @halitciftcise Firstly you handle your directory to as home -> in co... (by TheIdeasMan)
December 2012 Pages: 123
  Archived months: [nov2012] [jan2013]

This is an archived page. To post a new message, go to the current page.