Programming :: Book To Learn Programming In C ANSI?
Jul 11, 2011What book you recommend to learn programming in C ANSI ?
View 1 RepliesWhat book you recommend to learn programming in C ANSI ?
View 1 RepliesA good book to learn about threads in C/C++?
View 3 Replies View RelatedI want to know your opinions on the best combination of programming languages to learn if you want to learn more than one. An explanation of your choices would be real nice. I've included a multiple-choice poll that has the langauges from the Member's Choice Awards 2009 list of best programming languages on it. Please vote for your choice of languages also. It should be interesting to see what the numbers are like when people can vote this way, and choose more than one language.I'm voting for Python/C just as an "overall" opinion. It's what I'm going to learn. I've done quite a bit of reading and experimenting and this is what I've personally settled on. My opinion is just a personal "overall" opinion. You can also pick just a single language, and vote for just a single language if you think it's better to learn just one.
View 14 Replies View RelatedI 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.
I'm performing some explorations in terms of memory allocations in ANSI C, using the following compiler:
gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
and I started to try to make the compiler complain for a huge data structure, so I coded this:
[code]....
I mean, I can always read the man entry for gcc but I rather ask because I can then have interaction...
I'm writing a tridiagonal solver for sparse linear systems and I coded this decreasing loop:
PHP Code:
xx[NN - 1] = gamma[NN - 1]*BB[NN - 1];
ii = NN - 2;
/* Compute the x values: */
while (ii >= 0) {
xx[ii] = gamma[ii]*(BB[ii] + xx[ii + 1]);
ii = ii - 1;
}
now... if ii is declared as an unsigned integer, the code gives me a segmentation fault, but if I declare it as an int, it doesn't. Using DDD I noticed that, as an unsigned int variable, when I finally decrease it, it underflows and blows up to a huge value, ergo giving me an unaccesible direction for xx in the following iteration! I taugh me not to use unsigned int variables for dereasing loops! XD
I wanted to try learning Assembler, I wonder if you know of any good tutorials or hints? I have an x86_64 CPU running (obviously) Linux.
View 14 Replies View RelatedI 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 RelatedWhat would be a good book/manual to read to learn more about linux o.p. systems? and how to use them.I have to add I may not have such a good internet connection I might end up with free dial up (Bummer)so I'm not sure if a link will do.I will end up at the library anyway. so if you could suggest something that would be good, I'm not really looking for the history but more like how to use, maybe the terminal and such?.
View 4 Replies View Relatedhave a previous background in internet programming languages such as XHTML, DHTML, CSS and javacsript. I would like to start programming and managing my linux system (like an expert) and starting on linux projects also. My question is which is the best programming language to learn: C, C++ (may b even C+), python, Perl etc... I'm learning BASH right now cause I know its a necessity for linux systems. but what would you guys suggest after that I learn.
View 2 Replies View Relatedubuntu terminal mingling made me want to learn programming, i started with python, using idle workspace (is this the right term?)i got to the stage when i need and want to use SPE workspace.i have downloaded it, but can't type in it - when i type, nothing happens at all.where have i been wrong please ?
View 3 Replies View RelatedI am just starting to learn Linux and am interested in a career in Linux. Actually I wanna go for RHCE, which is the first step for Sys Admin..right?? Basically I do NOT want to go into programming/developing as I don't feel it's my cup of tea (and also may be it sort of boggles me). Still, from what I gather I am having confusions regarding whether I should learn any programming language for a career in Linux.
Here I am avoiding programming..and now I get to hear that Linux career uses programming..That's sort of frustrating...My friend told me I need to "master" C. Do I need to learn some programming language?? If yes, then to how much extent?
i want to learn a scripting language,which one should i go for ,among perl and python.
View 14 Replies View RelatedWhich scripting language to learn for Linux Administration? Python, Ruby, Perl, or PHP?
View 7 Replies View RelatedI am web developer, i am work with php,and want choice best linux for create my project
and learn web server
So a friend and I are new-ish to linux (I am reasonably comfortable with basic /etc text editing, command admin). We are, however, completely new to programming and (x)html. We have a few (what we think are) interesting ideas for dynamic websites.Ideally we would like to develop our own course of study to get to the point where we have a basic understanding of programming so that our adventures in the programming of a dynamic website would be possible. Much of what we need learn to do is the following: use daily updated public-domain data from several other sites, manipulate that data algorithmically, which would then yield updating output on our site. Here is what I would like to do:
1. learn the basics of programming with a language that would teach good code habits and fundamental understanding.
2. become comfortable with (x)html
3. learn another language for the extension of (x)html into a dynamic data-heavy website.
Question could you please suggest a way about going about 1>2>3?Ideally the language of (1) would be something that would not be "wasted" just on web design etc. As a language, C really appeals to me. However, if learning this wouldn't lend itself to being helpful in learning another language for webdesign maybe I shouldn't use it(?).If (1) weren't to be C, what language would be funadmental enough to teach good coding but also be helpful in learning (3)
I went to the sun website but all I see are upgrades to JDK 6, I dont see where to download the actual JDK.
Anyone know where I can download the JDK for Linux?
I've got a (very) simple perl xinetd server that I'd like to port to C++. implement something similar using system() or popen() without success.
[code]...
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]...
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.
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"
Has any one ever come across a book on Linux programming which explains a Library structure in depth?
View 3 Replies View RelatedIts an example froom a book... and it does not work...
Code:
#include <stdio.h>
int main ( int argc, const char * argv[] ) {
[code]....
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 RelatedI 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?
Groovy is an object-oriented programming language for the Java platform. I do not have experience in Java, only perl and shell scripts. Recently I have been asked to maintain a software written in groovy (also to make enhancements). So can I learn groovy without knowing java language. or isit I have to learn java before venturing into groovy.
View 1 Replies View RelatedI did searched you tube but my results were not great.I have 2 books on KernelProgramming.I feel I need if some where I can get a video tutorial which can help me to understand how to develop a Linux Device driver that will be great.I had a look at Greg Kroah Hartmans video lecture of developing patches on ......I have been reading books and a lot of stuff.So I wish if I could get a video lecture that would be better
View 1 Replies View RelatedI have a server listening on incoming client connections. Once the client establishes SSL connection with the server, the server waits on read() from the client. Only Client can disconnect the connection. I want to have a timer in the server program to wait for x secs after read() and then disconnect the Client connection.
View 3 Replies View RelatedI want that I click with the mouse on the video, it paused.I notice that there is "BaconVideoWidget" which I guess is the video rendering widget but it don't have signal named "clicked":
Code:
vd = totem_object.get_video_widget()
vd.connect("clicked", vd.hide)
[code]....
i have a server program which accept multiple client connection and am using polling. like every 2 secs it will look to client whether any data is received after it binded. i have used setitimer but there is runtime error i got.. the server accept all client connection but doesn't execute any msg which client sent.
#include<stdio.h>
#include<stdlib.h>
#include<sys/socket.h>
#include<sys/types.h>
#include<netdb.h>
#include<unistd.h>
#include<pthread.h>
#include<string.h>
[Code]....