Programming :: Headers From Richard Stevens Network Programming Book Not Installing

Oct 27, 2010

I am learning network programming via a book of Richard Stevens.The sample source codes are given here
http://www.unpbook.com/unpv13e.tar.gz
I downloaded and unzipped the file in /usr/src folder.As per the instructions given in README of downloaded archive I did.

View 5 Replies


ADVERTISEMENT

Programming :: Book To Learn Programming In C ANSI?

Jul 11, 2011

What book you recommend to learn programming in C ANSI ?

View 1 Replies View Related

Programming :: Book Recommendation For C++ GUI Programming?

Apr 13, 2011

I am not new to PC programming. I have been able to write C++ console programs. They are not too hard to write.Now, I want to move up to the Linux C++ Graphical User Interface (GUI) programming.Can an experienced member of the Linux community recommend a good reference book for programming the GUI windows?

View 14 Replies View Related

Programming :: Where To Put Headers And Cpp Files

Mar 14, 2010

I have several classes that I use for multiple programs. Where should I keep the h/cpp files so I only have to add the #include for the compiler to find them?

View 9 Replies View Related

Programming :: Get Different Result Of Matrix Op On Hw Rtw Book?

Jul 31, 2011

Dear Linux/c++/g++ programmers: the run result on my system, ubuntuLinux10.04(kernel2.6.35-25), gcc4.5.2 is not what book predict

source code
http://examples.oreilly.com/9780596007614/
11-28
11-29
11-24
#include "matrix.hpp"

[Code]...

View 13 Replies View Related

Programming :: Including Headers Recursively - Is It Right?

Jul 29, 2010

Say, I have a header file containing all required includes:
Code: /* global.h */
#include <stdio.h>
#include <unistd.h>
...
#include <dirent.h>
#include <signal.h>
... /* and so on */

I have several modules in a program (*.h *.c files) and in each *.h I include global.h, then they are included in corresponding *.c files. And I receive strange messages from compiler, like a "warning: implicit declaration of function fdopendir", "error: expected declaration specifiers or '...' before 'siginfo_t' ", "error: 'DT_DIR' undeclared..." though these types, functions and constants are all declared in system headers. What does it mean?... Compiler is GCC 4.4.4-2, system is Fedora 13 x86_64

View 9 Replies View Related

Programming :: Cannot Compile Against ICPC Headers?

Feb 10, 2010

This compiles against g++ template headers but not against the icpc headers.
Code:
#include <string>
#include <vector>
template <typename T>
class MyList : public std::vector< T* >{
};

template <typename T>
class MyListIterator : public MyList<T>::iterator{
};
int main(){
MyListIterator< int > test;
return 0;
}

View 4 Replies View Related

Programming :: The Perfect Javascript Tutorial Or Book?

Jul 30, 2011

I'm looking for javascript tutorials or books that meets the following criteria:

1. Very thorough: Starts with the most fundamental concepts and progresses logically from basic to advanced concepts, without skipping over important ideas for the sake of expediency.

2. Lots of small practice exercises that parallel the concepts and syntax being learned.

I've looked at a lot of tutorials, but they all tend to be lacking in one of these areas or the other.

View 1 Replies View Related

Programming :: Good Book To Learn About Threads In C / C++?

Oct 30, 2010

A good book to learn about threads in C/C++?

View 3 Replies View Related

Debian Programming :: Linux Headers For Armhf And Gcc

Jun 24, 2015

I'm running debian testing on my armhf machine. I need to install linux headers after searching with apt-cache. I ran the command

Code: Select allsudo apt-get install linux-headers-3.16.0-4-all-armhf

But it says it will also install gcc-4.8.. I checked my gcc version which is 4.9. and running. sudo apt-get install gcc . says gcc is already the new version.How do i install the headers without installing gcc-4.8

View 3 Replies View Related

Programming :: C++ - Calling Functions From Other Files And Headers?

Apr 11, 2011

I feel like there should be a cleaner way of doing this. I have one file, for example "a.cpp", calling a function from another file, "b.cpp". Currently I have it set up so that header for "b", "b.h", has the declaration of its functions. And then I'm just including "b.h" in "a.cpp". Do I have to include the "b" header file in "a" to be able to call a function from "b"? Or is there a better way I could be doing this? Like doing something different at compile?

View 7 Replies View Related

Programming :: Have Sqlite3 Headers And Start Using In Programs?

Sep 10, 2010

I'm new to database programming but I'm working in a project that makes use of sqlite3. I know I should #include <sqlite3.h> but it is not there.... i have just sqlite.h. can anyone tell me what to do to have the sqlite3 headers and start using them in my programs

View 9 Replies View Related

Programming :: Certain Book Search - Checking Of Case Insensitive

Jan 19, 2010

I am trying to do a search for the certain books, and I am trying to make it case insensitive. what I have come up with so far is this :

Code:
Database.txt
RETARDED MONKEY:RACHEAL ABRAHAML:30:30:20
GOLD:FATIN:23.20:12:3
StUPiD:JERLYN:20:40:3

Code:
echo -n "Title: "
read Title
echo -n "Author:"
read Author
echo ""
valuecheck='grep -i "$Title" Database.txt | grep -i "$Author" | awk -F":" '{ print $1}''
echo $valuecheck
if [ $Title = $valuecheck ] ; then
echo "HOHOHO"
else
echo "too bad"
fi

The issue which I am having is that, when it does the search for the correct row to be inputted into valuecheck, it will input the value as written in the database, which is in Uppercase. For this case, if I type in stupid for $Title and jerlyn for $Author, it searches the correct row, but the awk will print "STUPID" into the variable as that is what is written in the database. So how can I make my if statement case insensitive? Currently it reads like this:

Code:
if [ $Title = $valuecheck ] ; then
which means
if [stupid = StUPiD ] ; then

How can I make the if statement it case insensitive to allow it to display "HOHOHO"

View 5 Replies View Related

Programming :: Build Module Against Headers That Are Not From Running Kernel?

Apr 13, 2011

I'm trying to debug a module I programmed but I don't want to do it on the running host but against UML (don't want to reboot every 5 minutes).

The UML kernel I downloaded is 2.6.38.2. I have already downloaded the ubuntu kernel headers for this version (they belong to natty though I'm running maverick.... when I installed the .deb file with dpkg I had no problem at all).

Now I'd like to build said module against these headers. How can I do it?

Here's the makefile for my module code...

View 1 Replies View Related

Programming :: Book Which Explains System Library Structure In Depth?

Sep 7, 2010

Has any one ever come across a book on Linux programming which explains a Library structure in depth?

View 3 Replies View Related

Programming :: Book Example Of Own Type Variable Initialization Wont Work?

Nov 8, 2010

Its an example froom a book... and it does not work...

Code:
#include <stdio.h>
int main ( int argc, const char * argv[] ) {

[code]....

View 4 Replies View Related

Programming :: Make An Online PHP Contact / Phone Book With Simple PHP (no Database)?

Jul 5, 2011

I would like to unzip a simple PHP code files, to have a online PHP contact / phone book. Simply, slow, and not database oriented over complicated setups into settings. I have a PHP / web provider (free), not apache. WITHOUT SQL (like before it may exists) something like this [URL]

View 14 Replies View Related

Programming :: Add Some Compiler Flags In Code Blocks / IDE For Mysql Headers And APIs?

Jul 9, 2011

I am writing a C program which is contains Mysql header files and APIs but it can not compile it and its error is : Quote: undefined reference to

to all of Mysql APIs that I included their headers .In command line I compile my source like this with no problem: Quote: gcc test.c -Wall -o test -lz `mysql_config --cflags --include --libs`

I think code block does not have bold italic part of this command. How can I add this to code block to compile my project or those project that contains Mysql APIs (just my project not all of defined projects that has no relation to mysql APIs)with this gcc flags.

View 3 Replies View Related

Programming :: Add Some Compiler Flags In Code Blocks IDE For Mysql Headers And APIs?

Jul 10, 2011

I am writing a C program which is contains Mysql header files and APIs but it can not compile it and its error is :

Quote:

undefined reference to

to all of Mysql APIs that I included their headers .In command line I compile my source like this with no problem:

Quote:

gcc test.c -Wall -o test -lz `mysql_config --cflags --include --libs`

I think code block does not have bold italic part of this command. How can I add this to code block to compile my project or those project that contains Mysql APIs (just my project not all of defined projects that has no relation to mysql APIs)with this gcc flags.

View 2 Replies View Related

Programming :: Framework For Network Programming In C Language Just Like POCO In C++?

Mar 13, 2009

Is there any framework available for network programming in c language just like POCO in c++.

View 1 Replies View Related

Programming :: Which Distribution Is Best For Network Programming

Oct 29, 2010

which distribution is best of Linux for Network programming.Is that GCC complier is preloaded in the Linux distro...Which material is the best for the new comer in Linux

View 1 Replies View Related

Programming :: 3D Programming - Difference Between JOGL And C++ OpenGL Programming?

Aug 27, 2010

I am interested in learning 3D programming. The thing is, I would hate to put too much effort to learn something that doesn't have future and is dying. My favorite language at the time is Java. My goal is professional programming.

So I have several questions:
1. Should I learn JOGL or start learning C++ and do C++ openGL programming?
2. Is there a big difference between JOGL and C++ openGL programming?
3. Is it worth to learn openGL? Does it have a future?
4. Is it a big difference between openGL and directX coding?
5. If choosing Java, then JOGL or LWJGL?

Why and what is the main difference between them?

View 4 Replies View Related

Debian Configuration :: Installing Kernel 2.6.28.9 Headers?

Feb 3, 2010

I'm trying to install vmware server 2 on my lenny and first I must install the kernel headers but I'm having troubels with it.

apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-headers-2.6.28.9

I have even tried with apt-get install linux-headers-2.6.28.9 but same thing Searching apt-cache search linux-headers-2.6.28.9 shows nothing.

View 7 Replies View Related

Debian Programming :: Installing Lazarus And FPC 2.6.2

Apr 14, 2014

So I can install Lazarus 1.2.0, but fpc is limited to 2.6.0 and I want something newer.how to install a later version of fpc on my Debian Wheezy box..

View 1 Replies View Related

Programming :: Installing Py2exe On Debian?

May 2, 2010

I'm running Debian 5.0. I've been following the tutorial here http://www.py2exe.org/index.cgi/Tutorial but it seems I can't get it to work. I'm guessing, Python didn't come with the Distutils that I need. I've search the repositories and the On-line debian package database, but can't find a Distutils package, I've installed python-dev, but that still appears to not contain the module for py2exe.

View 5 Replies View Related

OpenSUSE Network :: Centralized Address Book

Oct 14, 2010

I would like to build a centralized address book for my SOHO server. Is that possible without the use of openLDAP (I would like to avoid that)?My clients will be:Thunderbird, KMail (for KDE 3.5) and webmail.If so, do you have any suggestions/Howtos?

View 4 Replies View Related

Networking :: Book Recommendation / VPN Network Maintenance

Nov 8, 2010

I work for a small retail company which until recently consisted of just one location. This month, we will open two new stores.I have been given the task of setting up a VPN network between the three locations and maintaining it.This network will consist of a main data server on the original location which has four client computers.The second location (another part of town) will have three clients, and the third location will have one client, all connected to the main data server (Retail POS system.) This will be a hardware VPN, with the main data server and all of the client computers running Windows XP.I have been working with the telecom company that is installing the phone system and is providing the routers at each location for the VPN.

I realize that since these are all Windows based machines it is not a Linux question, but I know that many of the experts here maintain Windows machines as well in their work. I am not an IT professional (I am a gemologist), but because I have been a Linux user for most of the last ten years, my boss seems to think I could handle this task so rather than contract this work out, he has asked me to do this. I truly enjoy this type of work, but I am concerned that my lack of knowledge is going to catch up with me, even though I do have a fairly good basic knowledge of Linux networking.

My question is simply this: Can anyone here recommend a good book or online training course which will give me the knowledge I need to maintain this system and trouble shoot it? I have searched online and there are literally hundreds of such books and it is like wading through a swamp. With such a small network, I am sure I can learn what I need, but if someone can recommend a good training/reference book that you have personal knowledge of, I would appreciate the recommendation.

View 1 Replies View Related

Debian Programming :: Does OpenJDK Installing Completed

Sep 17, 2014

I'm running Debian Jessie 64bit, the X-window is xfce4, I found the 'OpenJDK Java 7 Policy Tool' entry is already under the Settings menu, it seems appeared after I customized jessie a little, that installing nvidia driver, virtualbox ose, adobe reader and adobe flash player. From console, I can check there is java, but no javac.For doing java programming, I don't know if the OpenJDK was complete installed or not, should I continue to use it or remove it to install Oracle JDK?

View 1 Replies View Related

Fedora :: Installing Mesa To Do Open GL Programming?

Jan 7, 2010

I'm taking a course in school on computer graphics and we are using Linux as the main operating system. I myself am more accustomed to using windows but have always wanted to give Linux a try. So the other day I dual-booted my laptop with Fedora 12 and so far I'm liking it. I do have one main question however. I need to install Mesa to do my OpenGL programming with but I'm not sure how to install it. I have downloaded a tar.gz file from the Mesa website and have tried running it from the terminal by using these commands: (note: the commands are from the Linux Newbie Guide i found on google)

cd /Tudor's Home/local
tar -xvzf /Tudor's Home/MESA/MesaLib-7.7.tar.gz
cd "the new directory it was extracted to" (gets changed to the actual extraction folder)
./configure
make
make install

Now, I'm not sure why this doesn't work. The extracting doesn't even work so I'm not sure whether these commands are the same in Fedora or what I am doing wrong? I have installed aMSN from an rpm file and it worked perfectly but I'm not sure how to install using makeFiles. Any good tutorials on makeFiles and how to install them? or a link to Mesa as an rpm file? So I can start learning OpenGL.

View 8 Replies View Related

Programming :: Cannot Find Gtk-config On Ubuntu9.04 After Installing GTK

Nov 15, 2009

Hi,
This is my first time here.
I have installed GTK by "sudo apt-get install gnome-core-devel" and I can build the test-application named "Hello ubuntu" successfully with `pkg-config --cflags --libs gtk+-2.0`.
But when I built an application which needs the GTK's support, it said as follows:

checking for gtk-config... no
checking for GTK - version >= 0.99.7... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: Cannot find proper gtk version
I don't know what's wrong with it,anyone can help me?
Thanks a lot!

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved