UNIX/Linux Programming - May 2011

std-C++ in QT4
 
Hi,How can i do this? Example: This is real code in qt: #include <qt/QPushButton.h> #include <qt/QApplication.h> #include <qt/QFont.h> int main(i...
[7 replies] Last: This method did not to avail. (by Helegurbann)
Get size 3 Screens ?
 
I had 3 screens, i linked them together. And now, i used them as the same 1 screen on 1 PC. But, i have problem when i get size of screens. I can't get size sc...
[no replies]
C++ Program using google map
 
Can someone help me to write a c++ program which take latitude and longitude as input and print the name of as the place as output.
[1 reply] : I can't help you write the program, but first you need to know the pre... (by luckyl)
by Veltas
Good C++ compiler
 
I wasn't sure whether this belonged in beginner because it's a bit of a newbish question, but can anyone suggest a good console compiler and linker for Linux? ...
[14 replies] Last: Yeah, C has some OOP features anyway and even without that there's a b... (by Veltas)
shell() and variable
 
How to use variable in shell()??? I'm not trying to save value in file, this is just example... I been googling with no luck. Trying here, please help.... ...
[3 replies] Last: Yup, thanks kev82! Solved my prob so far.... =) (by elvansx)
by mjs91
HDF5 file conversion
 
Hi, I'm trying to convert my *.h5 file to *.txt in my C++ program. My file is of the hierarchical data type. My program needs to be able to convert the da...
[1 reply] : You can use fork() and exec() system calls to create a child process a... (by jsmith)
C++ socket with bridge network
 
Hi, I am configuring a program to send packets over a bridge network. Currently, I do not think the program is actually sending values. It's code I've used...
[1 reply] : What errors are you seeing? Do a netstat -a to see if your ports are ... (by kooth)
Write a program equivalent with command in Shell Linux
 
i need all people help me!hic hic hic i studing programing in Linux-Ubuntu and i have a problem when i write a C program equivalent with command "cat", "more",...
[2 replies] Last: No, not that. I want to writing a C program that similar there command... (by Hellmaster)
problems with writing to a file
 
Ok guys i am currently on a mini endeavour to get some things straight again in my head regarding c++ programming, and i have made a very simple program to writ...
[2 replies] Last: Ok i have found the problem, since the string type is not exactly some... (by blackmail)
Question on dlsym() thread safety
 
Hi All, I just wanted to know whether the dlsym() is safe to use across threads with global handle (returned by dlopen). Kindly provide brief explanation if p...
[2 replies] Last: I have a requirement of that kind. Its quite strange, however I have t... (by nkumar85)
by sidjey
Semaphores
 
Hello! Please help fix bugs! Here's the source code: #include <cstdlib> #include <iostream> //#include <ifstream> #include <fstream> #include <memory> #i...
[4 replies] Last: I certainly understand that it is very much asked for this (((but at l... (by sidjey)
Source code C to imitate Command in Linux
 
Hello all people! I studing programing in Linux-Ubuntu and i have a problem when i write a C program to imitate a command for manage access to a file in Linux. ...
[7 replies] Last: I swear, google translator outputs better than this... Hellmaster, i... (by closed account S6k9GNh0)
by niluso
help with syntax error
 
I have a section of code that works: void StartFunc1(void (*f)(void)) { int a = (int) f; } void main() { StartFunc1((void(*)(void))Func2); } Wh...
[1 reply] : First of all, what is the error message your compiler gives you? Secon... (by johnnystarr)
by bacpp
foreach function
 
hi, I have 2 directories (../src/dir_a and ../src/dir_b) each with its own .cpp files. I have written the following foreach function, but the problem is i...
[4 replies] Last: gotcha....thanks! (by bacpp)
by iwtbf
Magnet card reader behaves like a keyboard - how do I catch the output?
 
Hi everybody. I'm a beginner when it comes to programming but since this is a pretty *nix specific problem I choose to post this topic here. I have bought ...
[1 reply] : Almost certainly, your magnet card reader is a keyboard. It's a very... (by Moschops)
How do I make applications in terminal?
 
I want to make applications in the terminal or shell. Basically now line based but occupying the whole screen... not just printing out lines etc.
[1 reply] : That can be accomplished with the ncurses library. There's a number of... (by Athar)
How would I make my own irc chat client?
 
Would I need to use some network library? if so what are good ones? Basically everything that I would need... I know I would need a network connection(i t...
[1 reply] : The GUI part depends on which framework you're using. Using Qt and Qt ... (by Athar)
Install Lapack and Blas on MacOSX
 
Hy, this is my first topic on this forum, so please forgive me if I have put it in the wrong section. I'm searching for a website or a tutorial that explains ...
[4 replies] Last: thanks, now the problem has become another one: is there a 'good' refe... (by narciso)
by Jhn
Weird error by compiling pthreads program
 
I wrote the following pthreads program:- It is giving un-understandable errors which I pasted at the bottom of program. #include<stdio.h> #include<pthread....
[7 replies] Last: Oh, that makes sense. (by Veltas)
64-bit Conversion
 
I have an existing C++ code for linux. I have to convert the whole thing into 64-bit and the .rpm that is generated from this code to should br 64-bit. How can ...
[3 replies] Last: I have no idea about rmp's. (by writetonsharma)
May 2011 Pages: 123
  Archived months: [apr2011] [jun2011]

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