
please wait
by LuckyIsDog
pthread_create invalid arguments...
|
#include <stdio.h> #include <pthread.h> #include <stdlib.h> void * thread1() { while(1){ printf("Hello!!\n"); } } ... |
Dec 15, 2012 at 6:42am
[3 replies] Last: change the function signature to void* thread1(void*) #include <std... (by vstomar)
|
by ggarciabas
Using #define
|
Hello, I created a simple file to calculate a bisection and I had problems with the #define. I used this structure: #define __e 0.01 // define o erro ... |
Dec 14, 2012 at 4:44pm
[6 replies] Last: Technically, __e cannot be used in a portable program, with or witho... (by Cubbi)
|
by GreatShatt
File Browse
|
Hey! I am a college student trying to impress my professor with a final project where we have to save and open files from a HDD. Instead of having the user type... |
Dec 14, 2012 at 8:43am
[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<mysql/mysql.h> #include<stdio.h> #define DATABASE "vobd_db" usin... |
Dec 14, 2012 at 6:04am
[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 user enter with a letter, an error message could be showed. ... |
Dec 14, 2012 at 4:59am
[1 reply] : #include <iostream> #include <string> using namespace std; int main()... (by dailei)
|
by LuckyIsDog
cout does not display!
|
#include <stdio.h> #include <string.h> //strlen #include <stdlib.h> #include <errno.h> #include <unistd.h> //close #include <arpa/inet.h> //close #includ... |
Dec 12, 2012 at 7:06am
[5 replies] Last: cout << "Something" << endl; which is really the same as: cout << "... (by Stewbond)
|
by amnakhan786
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 is a binary file, which is encoded. working of encoder: th... |
Dec 11, 2012 at 10:27am
[no replies]
|
by Revathi R
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/5.6/rwav/ver09.1/workspaces/SOLARIS26/SUNPRO42/0s/rw/generi... |
Dec 11, 2012 at 8:51am
[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 after being encrypted. but the problem is, for some kind of s... |
Dec 11, 2012 at 8:45am
[1 reply] : As the file contains non-printable characters, you should open it as a... (by kbw)
|
by para1131
2d array performance
|
I perform 3loop matrix multiplication with different 2darray definition (pointer 2 pointer,template and basic definition like float A ;) and measure MFLOPS of... |
Dec 10, 2012 at 10:30pm
[7 replies] Last: I asked for difference between MFLOPS and elapsed time for computing ... (by Cubbi)
|
by SoftDisk
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? How much would ~4-5 hours of your professional consulting work... |
Dec 10, 2012 at 7:43pm
[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 using the GNU compiler suite. The problem is, that the source co... |
Dec 9, 2012 at 7:06pm
[7 replies] Last: I usually write Java software under Linux and know little about Compil... (by spirit)
|
by RyuKnightly
Req : Linux TCP/IP tutorial
|
hellow i try to learn about linux TCP/IP . anybody can give me an source example (server and client) ? from make socket , listening IP , and sending . ... |
Dec 9, 2012 at 3:56pm
[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 get this error: <map.h> no such file or directory |
Dec 8, 2012 at 10:53am
[1 reply] : You probably mean #include <map> (by kbw)
|
by navderm
Error Allocating Data
|
Hi All, I have been using two different libraries that were created by my colleagues. Now the problem is that there are a few new (cv::Mat) and reserve (in std... |
Dec 8, 2012 at 10:27am
[2 replies] Last: [quote=navderm]Awaiting ! Sincerely, navderm Whay are you waiting ... (by guestgulkan)
|
by Nitros8891
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.. #include <pthread.h> #include <stdio.h> #define NUM_THREADS ... |
Dec 8, 2012 at 5:49am
[3 replies] Last: Thanks guys, I fix the code with c++ x.cpp -o x -lpthread...in the con... (by Nitros8891)
|
by amnakhan786
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 i am getting output in a text file, the result is shown as ... |
Dec 7, 2012 at 8:39am
[2 replies] Last: You should use fread() to read a binary file opened with fopen(). In ... (by kbw)
|
by nana22g
challenging 1-line question
|
I am using a function like this: double f (double M, void *l) { f_params ¶ms= *reinterpret_cast<f_params *>(l); return (log(1./((interpol(M)) * params... |
Dec 5, 2012 at 1:21pm
[1 reply] : Should be one of those: f_params Data; // Initialize Data f(14, &Dat... (by S G H)
|
by Charcoalman
Need Help urgently !!!!!!
|
Anyone can help me,i'll pay you Leave your email |
Dec 5, 2012 at 10:11am
[3 replies] Last: Sry, I only do programming in windows and I don't use bash but c++, bu... (by closed account ETAkoG1T)
|
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 cause google isn't helping much. Tried figuring it out myself ... |
Dec 5, 2012 at 3:44am
[10 replies] Last: @halitciftcise Firstly you handle your directory to as home -> in co... (by TheIdeasMan)
|