UNIX/Linux Programming

by admin
news Welcome to this board! closed
 
Welcome to the forum for UNIX and Linux programmers in C++.com! In this forum, users can to talk ...
[no replies]
post problem with compiler ..!
 
hi guys i have problem with compiler in linux .. when i test my program file .. i get this mes...
[2 replies] Last: http://lmgtfy.com/?q=unable+to+exec+g%2B%2B.real+no+such+file+or+direc... (by computerquip)
post Beginner C/C++ compiler
 
Hey guys just setup a fedora linux system as a virtual machine looking to get a decent beginner pref...
[11 replies] Last: that was hilarious... :))) (by writetonsharma)
by MaLi
post dhcp client
 
Hi, On linux platform, I want to have dhcp client. port any open source client to my app (which ...
[no replies]
by CD4
post Dirent.h
 
#include<stdio.h> #include<sys/types.h> #include<dirent.h> #include<string.h> struct dir...
[10 replies] Last: #include<stdio.h> #include<sys/types.h> #include<sys/stat.h> ... (by chenzhizhong)
question mktime issue
 
Hi, I'm trying to use the mktime function. In order to test I thought I'd try and get it to retu...
[5 replies] Last: -3600 on gcc on FreeBSD amd64. Interestingly enough, going the othe... (by kbw)
question unexpected behaviour of for loop?
 
hi thank you for your comments.
[3 replies] Last: Aside from that ridiculousness: # define N 36 # define SIZ... (by Disch)
post Signal handling
 
How can I register a signal handler for all handle-able signals (i.e. everything except for SIGKILL ...
[2 replies] Last: Totally forgot about this topic. Thanks! I'll try that later. (by chrisname)
by CD4
post playing with enviornment variables..
 
#include<stdlib.h> #include<stdio.h> #include<string.h> char *envstrn; int main( int arg...
[5 replies] Last: echo itself is a program which takes care of all these things, your pr... (by writetonsharma)
by CD4
post argument passing
 
#include<unistd.h> #include<stdio.h> int main(int argc,char *argv ) { int opt=0; extern...
[2 replies] Last: ok.. die to this the problem was occouring.. thanks for helping me :... (by CD4)
by omronz
post print out client IP which has been connected to the server
 
Hai I have successfully write a socket code where data can be sent to/from a client/server host u...
[1 reply] : For a connection-oriented socket see man getpeername (by jsmith)
post pthread_mutex_call blocks forever causing cpu usage 100%
 
pthread_mutex_lock() call never returns causing other threads to wait for gaining its lock forever...
[1 reply] : code please. I have seen this, you probably need to restart the system... (by writetonsharma)
post sending and receive data thru ip address
 
Hi, i am currently doing a project which require me to send a data to another system in the network(...
[2 replies] Last: ok thanks. (by jiaqing)
by quant
post segfault if I call func from a lib, why?
 
hi every1, perhaps some one be able to help me in that worst deal... actually I use libiptc & libx...
[4 replies] Last: closed, I made it without xtables lib ;) (by quant)
by MaxT
post Raw Sockets - Connecting
 
Ok so the situation is this. For a coursework project I'm creating an application which helps to tea...
[1 reply] : There isn't because you are implementing TCP in user land. connect() ... (by jsmith)
post Running single binary/process on linux/unix (1,2)
 
How do I make sure in my linux binary that I run only single instance of it on particular machine an...
[20 replies] Last: #include <iostream> #include <signal.h> using namespace std; ... (by writetonsharma)
by CD4
post segmentation fault...
 
#include<stdio.h> int main(int argc,char *argv ) { FILE *fp; if (argc==3){ fp=fopen...
[2 replies] Last: bazzy you are awesome.. you rock man.. what fool of me.. i as trying t... (by CD4)
post Regarding STL Maps
 
Hi, I am developing a program where i have a map of very large size where the key value is a string...
[4 replies] Last: Do you have access to TR1 unordered containers? (by PanGalactic)
post UNIX errno -> message conversion (1,2)
 
I just made this, and then I thought it might help some people, so I'm posting it here: /* ...
[24 replies] Last: I know, but I had to look up OJ ... it also means orange juice.And I w... (by DrChill)
post counting word in a file using shell script
 
How would you count word in file. remember you can't use grep with wc because it won't count word co...
[12 replies] Last: you have done better than needed. e.g. "white dog may or may not run... (by reachvimalm)
post any NIO java equivalent in C++
 
do we have any java nio equivalent class/ implementation in C++?
[1 reply] : No. (by kbw)
post Issue in reading a binary file
 
Hi guys i have a problem while reading a binary file... I have written some data in binary format an...
[8 replies] Last: exactly...you got it correct. you dont have to do anything for char... (by writetonsharma)
post Square-Root fuction
 
Hi there. Can somewone make me a program that calculates the square root of X without using the m...
[2 replies] Last: I was going to post something but then I realised he said square ro... (by chrisname)
post shell command
 
I am a little new to ubuntu & linux, How do I make a shell command compile my source code I surfed a...
[4 replies] Last: you can use make. if your file is called main.cpp (or main.c) mak... (by bigearsbilly)
by devas
post Mix C and C++
 
Hi, i have a question. Is it possible to write a code that callable both from C and C++? I wan...
[4 replies] Last: Thank you (by devas)
by luq
post curlpp on Ubuntu 9.04
 
Hey, I've managed to install libcurl and curl on my Ubuntu 9.04 system. But now I want to install...
[13 replies] Last: curlpp example: /** * main.cpp * * The most simple ex... (by delacruz)
solved Host name to IP Address (vice-versa)
 
Hi Guys, How can I convert hostname to IP address? localhost ---> 127.0.0.1 Thanks in adva...
[1 reply] : Never mind found it. In case someone else is looking for it ... (by kevinchkin)
question segmentation violation????
 
Hello I have a problem while executing my code. It gave no error while compiling. The error i get...
[7 replies] Last: Segmentation fault occurs whenever your program tries to access INACCE... (by gajawadasatish)
by jimctu
post gcc library question
 
hi everyone im doing a project with the miracl library... i make it works fine with codeblocks on ...
[1 reply] : There are a couple of ways to do this: when linking: g++ -R<path_to... (by PanGalactic)
by Aazor
question Segmentation fault error
 
I need help debugging this segmentation fault.. I have narrowed it down to the separateComandsAndPro...
[5 replies] Last: ok thank you guys very much! (by Aazor)
question : operator (colon)
 
Alright, I've been doing some Gtk+ development as of late, and I've been going over the documentatio...
[3 replies] Last: Correct. (by kbw)
Pages: [1] [2] [3]   Archived months: [sep2009]

Registered users can post in this forum.