UNIX/Linux Programming - October 2016

I/O Loop using Fork() and Pipe()
 
Hi, everyone, I'm working on a college assignment and I'm having a bit of difficulty getting it to w...
[1 reply] : Solved it! #include <sys/types.h> #include <sys/wait.... (by Yomaster)
by hyxzc
I can run through in the window xp, but all the answers in the Linux is error
 
#include<iostream> #include<cstdio> #include<vector> #define mp make_pair #define LL long long ...
[3 replies] Last: http://www.cplusplus.com/forum/beginner/1/#msg6681 (by kbw)
by seelis
Understeaning Socket and chat basics
 
Hi, I tried to create my little chat bash (following this tutorial for sockets : http://tldp.org/...
[2 replies] Last: You have a number of errors, some more significant than others. First... (by kbw)
Generic Makefile/Project
 
I've been working on a development environment architecture. I am targeting a posix-style environme...
[3 replies] Last: Remember to declare DEPENDENCIES as phony or it won't work properly. (by kbw)
by nsi
my timer works in VS but fails using g++
 
Dear programmers! I am having an issue with writing a timer in gnu. My code is: #include <iost...
[3 replies] Last: Thanks very much! (by nsi)
How to stop execution for a specific time ?
 
How can I stop the execution flow at a specific point for some time (I need a few seconds) ? I need ...
[2 replies] Last: Thank you, Peter. (by nuderobmonkey)
std::asnyc vs std::thread
 
Hi, It seems that std::async can be replaced by std::thread in C++11, why we need std::async? Than...
[1 reply] : std::async() provides a simple (the simplest) abstraction for a task... (by JLBorges)
using assert
 
I am trying to make test cases for a program that finds and prints the prime factors of a number. So...
[1 reply] : One way would be to create a function like this: #include <iostream>... (by Thomas1965)
Refactor tool for Ununtu terminal
 
Is there a refactoring tool I can use on a terminal? One that works well with CMake projects?
[no replies]
Running c++ code in xubuntu
 
1. First question, I want to use control keys to end my program but don't know how to code it. ex. P...
[1 reply] : 2. I want to put each function in a separate file. How do I go about ... (by Repeater)
by zxcvbn
MSP430 programming under Linux - mspdebug fails to connect to programmer
 
I am trying to program the MSP430 (on an MSP-EXP430F5438 evaluation board http://www.kynix.com/Parts...
[2 replies] Last: Are you sure your device is actually connected to /dev/ttyUSB0? (by jlb)
Vectors to print a persons information
 
Hi, I have written part of this code but I am having trouble with some things that I dont know are m...
[9 replies] Last: Test Run C:\Users\mpark\Desktop\People\bin\Debug>People.exe personsIn... (by mpark4656)
Making a shared object.
 
I'm having troubles creating a simple so, and I can't figure out why. I've spent a few hours readin...
[4 replies] Last: Way to go! I use both cygwin and Linux at home -- did you get this ru... (by koothkeeper)
Bubble sorting an array, calculating medians, and outputting the array.
 
I'm quite new here and having a hard time wrapping my head around the subject. Basically, I need to ...
[2 replies] Last: you can try use the file operations functions in fstream module, htt... (by vincentps)
using rand()
 
I am trying to generate a random number from a user inputted range. I am having problems with it goi...
[4 replies] Last: Your way was telling the program to generate a random number between 0... (by TwilightSpectre)
My own version of Linux
 
I want to make my own version of Linux and i have tried to learn c++ in the past but never really di...
[7 replies] Last: Here is something to read if they teach that in the south. http://arst... (by SamuelAdams)
How to become systems programmer?
 
I'm a 3rd year computer science student interested in pursuing my career as systems programmer.I'm j...
[2 replies] Last: en you can have a try in China^_^ (by wuqiangheng)
File and vector
 
Here is the updated version. Im posting the code below. Hi, I have written part of this code ...
[2 replies] Last: First, please post code with code tags. See: http://www.cplusplus.com/... (by keskiverto)
Reading in scores from a file
 
I am having trouble figuring out how to read in scores from a file. The first line of the file has ...
[1 reply] : How are you storing your grade information in your program? Will you s... (by closed account 49iURXSz)
How to fix this php server erorr in oscommerce
 
I am running an osCommerce app on Hostforlife.eu. I'm not a php expert though. I recently found that...
[1 reply] : Note that this website specializes in the C++ programming language. In... (by closed account 49iURXSz)
October 2016 Pages: 12
  Archived months: [sep2016] [nov2016]

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