UNIX/Linux Programming - December 2008

ServerSocket.h: No such file or directory
 
ServerSocket.h: No such file or directory This error comes when i compile my program . I think this error is something related to the including of librarie...
[2 replies] Last: Thanks .. I'll try that out.. thanks for the guidance.. (by vazzdoin)
ncurses for code::blocks
 
OK, so I'm using Code::Blocks with GNU GCC on Ubuntu. How would I install ncurses to work with this? Thanks. Edit: got it in http://www.cplusplus.com/forum/u...
[no replies]
by XCom
Using ucontext_t struct in signal
 
Hello everyone, I want to switch between user contexts using a signal handler (something like a preemptive scheduler for userlevel threads). I've found sever...
[2 replies] Last: Both, scheduler_context and thread_context are initialized in the main... (by XCom)
showquery and mysql_real_query
 
Hi all On weekends, my server ran abnomal. It seemed to be related to the perfomence of MySql. In my server, it has a table which includes fileds like UID and...
[1 reply] : Solved. 'Cause I didn't send the query to Mysql correctly.... (by KenSoGCN)
validation
 
i have a problem i have to write a program that calculate the sum,average and tripple of integers i understand that part. However i must validate my code in su...
[3 replies] Last: Ohoho! That's a killer! I never read OP's names, so I wouldn't have n... (by helios)
function validation
 
i am writing a program that calculates the sum of three numbers. i understand that part. however i must validate my code in such a way that i could only enter a...
[3 replies] Last: Please consider reading the following posts from OP before replying he... (by jsmith)
function
 
i want a function that allows me to enter a number in a 2d array.
[1 reply] : Any function at all? How about sqrt( sin( PI * static_cast<double>(... (by jsmith)
Linux SCSI programming
 
Hi, I'm trying to port a Windows SCSI API over to Linux. The API has several functions, most of them using ATA_PASS_THROUGH_EX to send a vendor specific comm...
[1 reply] : Hi, I figured out some basics from documentation and code examples.... (by galapogos)
Returning a filename
 
I am using Linux 4.2 on a Dell. GNU gcc compiler. I have a directory full of files named as follows: 001_fname_monday.dat 002_fname_tuesday.dat 003_fna...
[2 replies] Last: Thank You, that looks like it fits the need. (by emp1953)
g++ "deprecated headers" and flex
 
For my previous programming project in Linux, I have a flex input file that uses C code in the definitions and subroutines sections. I run it through flex, and ...
[3 replies] Last: It links against libl.a which contains functions called by the C code ... (by jsmith)
Error!! My project's due soon
 
I keep getting this error when I compile this code in Unix. error: expected unqualified-id before "if" The error is on the line of code starting the if st...
[9 replies] Last: Why are you doing that as a macro? for (int i = 0; i < 3; ++i) ... (by Zaita)
Decorate a Console Application
 
Hello, I am working on a console application, But I want to 'Decorate' it a bit, for example: I would like to have the first line of the console to have a red...
[1 reply] : http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/menus.html Hope thi... (by Duthomhas)
Clear screen and gotoxy functions.Codeblocks.
 
Hi , How do i print things anywhere on the screen ? Suppose i want to bring in the middle of the output screen.And also , how do i clear the screen ? Plus , ho...
[5 replies] Last: NCurses Unix, Linux, POSIX platforms http://www.gnu.org/software/n... (by Duthomhas)
by jayz
a sort problem!!!
 
I have this basic code setup up and two functions set up shown below (word.h and word.cpp). I need write a simple class to represent the string of sorted letter...
[1 reply] : Well, what you could do is go through the word and count how many of e... (by firedraco)
Using mincore
 
I want to use the mincore command whose syntax is int mincore(void *start, size_t length, unsigned char *vec); I am confused about the value of 'start'...
[2 replies] Last: Thank you! (by packpack)
  Archived months: [nov2008] [jan2009]

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