Programming :: How To Start Programming
Nov 10, 2010How do I start programming ubunt. c++. beginner know. What language is good that I can also design the site I use.
View 1 RepliesHow do I start programming ubunt. c++. beginner know. What language is good that I can also design the site I use.
View 1 Repliesi want a process that can operate as both a TCP echo server and a UDP echo server. The process can provide service to many clients at the same time, but involves a single process that does not start up any other threads.
View 3 Replies View RelatedI want to start progrmming in opengl. I am using Ubuntu. do I need just to install a GLUT package.if yes how to do it
View 5 Replies View RelatedI'm going to start programming in Linux.Should I start programming with C or C++ ?Which one is better to start learning ?And where can I get best practice to learn myself.
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?
I'd really like to learn to program and develop in C or C++, but I have no idea where to get started. I thought Python might be easier so I tried reading the manual, but it was all these sub-directories and interpreters that I had no idea what they were talking about.
View 8 Replies View RelatedI want to make a script to ssh to remote machines(hostnames are provided in a serverlist) and grab meminfo, cpuinfo, etc.I am not 100% sure how to start my script? Should i use a for loop, while loop?
View 11 Replies View RelatedI want to make alarm(buzzer) and Lamp(led) to work from infrared sensor output via usb.When ir sensor detect motion it will make the alarm&lamp on. Then also sending mail. Im using pic 18f2550-1/sp(usb Fsio from km2.net).But i dont know how to start the program.
View 2 Replies View RelatedI need to check if $var is not start with 0
Code:
read var
if [ $var IS NOT START WITH 0 (or something like 006077) ];then echo 'Good'
I don't know if this the right section but in anycase the question is:- I made a script containing a never ending loop doing : sleep X then command Y', the problem is:can I start this script from init.d without the effect of blocking forever the boot process ?Or is better to insert a specific entry in inittab ?
View 5 Replies View RelatedI have a very specific problem/question?
I have CentOS 5.4 distribution. I use this linux as webserver (apache/php/mysql).
What I want to do is to start a linux shell script with webbrowser trough php. Is it possible? What do you think?
I have a script that writes the following type lines to a file. The lines include some html tags. Here is an example:<p>Total = 5</h2></b></center>I want to keep the <p> tag, but remove the ending 3 tags. Sometimes the line can have a 1, 2, or perhaps a 3 digit Total. So I could have a Total = 125.Anyway, after the removal of the ending tags the result would be:<p>Total = 5There are some lines in the file that end with </h2></b></center> that I want to keep. These lines looks generally like this:
<p><b><center><h2>Events Summary for Sun May 02 2010</h2></center></b>
As you can see I am using sed to change the beginning and end of lines to make a very simple web page.The file actually displays ok in a browser with the extra tags on the end, but it is just sloppy work to have these unneeded tags in the output file.
I have several scripts in /etc/rcS.d/ directory which are required to run on start up.Now I have written a new script, and I want it to be run during the system start up itself (Not in any runlevel). SoI have given the default start as,# Default Start :SBut when I use the command : "update-rc.d test_script.sh defaults".....it is creating symbolic links to/etc/rc0.d /etc/rc1.d ..../etc/rc6.d.But I actually need a symbolic link in the /etc/rcS.d/ directory.Is there is any way to achieve this ( I tried manullay creating a link in /etc/rcS.d, but that is not running the script on system start up).
View 1 Replies View RelatedCan anyone tell me how do i get start with graphics programming in c
under linux..
Im using PHP and Sun Solaris to do something for Squid Proxy Server. im using......
- LAMP / SAMP
- Linux / Solaris 10
- Squid Server
- PHP
actually i need to know that someone knows about how to start/stop Squid Service using PHP code.
I want to know where to beging with I want to start Device driver development.Any good link or book.
View 4 Replies View RelatedAnyway, here is something that is puzzling me and cannot think up a good way around it: I call the constructor and show elements of LoginDialog in the constructor of my QMainWindow, like this:
PHP Code:
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow){ ui->setupUi(this); LoginDialog *lid = new LoginDialog(this); lid.show();}
LoginDialog is a QDialog and it does show up on application start... but...
It is not active! The QMainWindow is the active window, even if I put lid->activateWindow();
So, the question is: how do I pop up this dialog on application start in such a way that it will show the LoginDialog on startup as active window?
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 RelatedI am learning about OS and I wrote this simple forking program... Here's the code..
Code:
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
[Code].....
How can it print the first statement, that is BEFORE the fork() statement twice?
I am running Natty 11.04 btw..
I'm trying to automate two command lines, a synclient and a syndaemon. They both work well if I type them manually in a terminal, but if I do a littre script to do this, tap to click and scrolling don't work anymore.
This is the script I wrote:
Code: Select all#!/bin/bash
synclient VertEdgeScroll=1
syndaemon -d -t -K
exit 0
So I made a chmod +x on the file, placed it in ~/bin then change PATH to include the directory. Then I added this file in "Startup applications".
The scripts run ok, mais it has a different effect than if I run the commands manually.
I was wanting to know what's a good programming suite that is comparable to MS Visual C++. I'm also curious about the portability of something I make in Linux, can I make a program in Linux and import it over to Windows, and what would be involved in making it compatible?
View 3 Replies View RelatedI want to write a bash script which can open a new gnome-terminal window.
In that gnome-terminal window, it should goto a specific directory and edit a file using Vi Editor.
How is it possible to do that?
I want to start servers which are running on my pc with one shell script.
what I wrote is.
#!bin/sh
cd /home/HUNT/server1
gnome-terminal
sh script/server start_with_output
[Code].....
Result I got is:
A new terminal opened with current directory as /home/HUNT/server1 and server started running.
What I didn't get: second terminal and second server were not running.
I want to extend my perl capabilities using CGI. So, could you please tell me where to start and how to start my cgi scripts on linux RHEL AS 4 system.
View 4 Replies View RelatedThis is an slice from an other wise successful script. What i need it to do is print one <tr> then print <td>$stat_array</td> fours times, quit print a </tr> then print another <tr> , prints the next four $stat_arrays in @stat_array, and so on and then a </table>.What it does is print all eight $start_arrays then a </tr>
Code:
my @table_header = ("Process", "Region_Permission","Region Violation","Message Type");
my @stat_array =("ibfarm102 - localtick" ," Greenwich" ," hibmis100 - procHKHD2 - Hongkong" , "PidMonRsp" ,"
[code]....
I would like to get help from experts who are experienced in the area of Linux network programming to help me to choose the proper way to create a special Firewall program.I do start reading WinSocket and tending to start BSD. I don't want to start with an API like winsock then stuck. So please, I do need a way to accomplish all features such as capturing, dropping or allowing all kinds of LAYERS as well as Intrusion detection.I am a good programmer in C++ but I am new for linux.So, what is the best Linux OS to install and start with and which is the best way to accomodate C++.
View 1 Replies View RelatedThis is on Fedora 11. How do I start up a shell script when the system starts?
View 6 Replies View Relatedi wanna do somthing in this can any one help me how i have to start with linux and how to proside to develop some small applications its very much essential for me. give me a guide path with that i have to get things ASAP.
View 1 Replies View RelatedI'm a .net programmer, and I'm looking to get more into open source software. I'd be happy to join a project, and hopefully learn something new. Where can I start?
View 1 Replies View RelatedI am trying to develop a video resource manager in Linux.By that what I mean is, if two applications (may be running in two different machines) are trying to play videos, the video resources will be served by this video resource manager (running at a center location). Pardon me as I donot have much idea about video resource handling in Linux , first of all , it is feasible to have this kind of a layer, in between the applications and the available resource hardware.
Kindly give me some pointer as to how do I start? Pl. give me some reference URLs.