UNIX/Linux Programming - February 2016

by alexBB
Cannot output in text file.
 
Hello there. I have Ubuntu 14.04 with g++14 compiler. I need to output some arrays to a text file. ...
[7 replies] Last: I have solved the problem. Thank you much @jib & @keskiverto. - Alex (by alexBB)
by Frenzy
Problem with Functions
 
Hey guys. I just started learning about functions in my class recently. I've been getting some reall...
[5 replies] Last: Problem solved - http://www.cplusplus.com/forum/beginner/185373/ ... (by TarikNeaj)
by nj1995
compiling error
 
Hi,when I attempt to run my code in unix it returns an error saying that 'data' is not a member of t...
[2 replies] Last: Also be aware that C++ doesn't allow Variable Length Arrays. Array siz... (by jlb)
Create shared lib to integrate into JNI under Eclipse
 
Hi, I'm developing for Android NDK under Eclipse in Ubuntu. Lately I have to create a C++11 .so sh...
[1 reply] : I've found the answer, that may serve someone else: Yes, it is mandat... (by Opariti)
by alexBB
Reading from a text file
 
Hello there, It is Ubuntu 14.04 with g++14 I need to read from a text file. I am posting a few fir...
[5 replies] Last: Thank you very much. I highly appreciate your help. - Alex (by alexBB)
by zezeon
compile error again..
 
git clone http://github.com/ParkSeungwon/tcpip && cd tcpip && make Can anyone test compile my pr...
[2 replies] Last: Thank you.. That was a great help. (by zezeon)
C++ Nested for loops
 
I need to make a program where it prompts for an integer greater than one that represents the low en...
[1 reply] : What is the question? PS. Please use code tags, when posting code. Se... (by keskiverto)
by Saumil
System.dll export in c++
 
Hello All, I want to use .net dll in linux in native c++ code. I required "using namespace system" ...
[no replies]
GPIO - What is this/How this works..?
 
Dear CPlusPlus community, I have a RaspBerry PI 2B which I use pretty often. I am still learning ab...
[no replies]
by zezeon
tcp/ip wrapping
 
I want to wrap tcp/ip with C++, but, It does not work. Though I could establish connection but, I co...
[5 replies] Last: Thanks. There was no problem with the code. It hanged due to some othe... (by zezeon)
by Erecc
hi all, i need some helps with strings
 
i have to design a pacman impressed at screen taht is depended by a dinamic number, also some like t...
[2 replies] Last: thans ill do by for - ill do by solved and yes, next time ill post the... (by Erecc)
dyld: library not loaded: libboost_serialization.dylib
 
I am running some code that has compiled however when i run the code i get the following error for t...
[1 reply] : You could try creating a symlink. (cd /opt/local/lib/ && sudo ln -s l... (by kbw)
Duplicate couts and missed code
 
Hello, I'm creating a program that runs on Linux and deals with getpid(), getppid(), fork(), wait(...
[2 replies] Last: Do you realize that when your program encounters exit() the program st... (by jlb)
dlsym C++ problem. How to dynamically load C++ classes?
 
Hi, everyone! I need help very much with C++ on linux. Problem is, that I can dlsym "C" functions, e...
[5 replies] Last: I'm learning for myself new methods and will need it for own projects.... (by phoenix911)
by jaxder
*.cpp vs Main.cpp
 
I am a student who is turning in homework (no, I'm not trying to get you guys to do my homework for ...
[4 replies] Last: > it's better than running the default ./a.out ¿why? Well, you know... (by TheIdeasMan)
by alexBB
functions position
 
I have Ubuntu 14.04 and Linux g++ compiler for c++14 I have a strange situation. Let's consider a l...
[2 replies] Last: Thanks, I got it. (by alexBB)
Segementation Error utmp.h
 
So I am trying to get the time of login struct utmp log ; while(read(Ofile, log, sizeof(log))...
[1 reply] : How is this struct utmp declared ? (by Thomas1965)
how to use microphone for record voice in c++ ?!
 
hi guys ! i wanna write some program for record voice with microphone in c++ ! where i must read f...
[3 replies] Last: Try searching for C++ libraries that can let you control the MIC (by Unturned)
C++11 Best way of changing order of arbitrary elements in a vector into arbitrary positions?
 
What would be the best way to do the following? I would like to reverse a smaller range in a vect...
[1 reply] : That's a little bit crazy. https://joycemoreno.bandcamp.com/album/just... (by kbw)
by alexBB
Compilation errors.
 
Hi there. My environment is Ubuntu 14.04; C++ compiler is g++14 public : void legendreTransform ...
[13 replies] Last: Thank you fellas for your help which has been invaluable. I just compi... (by alexBB)
February 2016 Pages: 12
  Archived months: [jan2016] [mar2016]

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