Programming :: Should I Start With C Or C ++

Nov 4, 2010

I'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


ADVERTISEMENT

Programming :: Unix Programming - Single Process That Does Not Start Up Any Other Threads

Sep 28, 2010

i 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 Related

Programming :: Start Programming Using OpenGL?

Sep 1, 2010

I 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 Related

Ubuntu :: Getting A Start On Programming

Jul 9, 2011

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 Related

Programming :: How To Start My Script

Jun 11, 2011

I 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 Related

Programming :: How To Start Program

Dec 20, 2010

I 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 Related

Programming :: Check If $var Is Not Start With 0

May 25, 2010

I 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'

View 15 Replies View Related

Programming :: Start Script Automatically?

Feb 21, 2011

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 Related

Programming :: How To Start Script Externaly

Mar 16, 2010

I 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?

View 1 Replies View Related

Programming :: How To Start Programming

Nov 10, 2010

How do I start programming ubunt. c++. beginner know. What language is good that I can also design the site I use.

View 1 Replies View Related

Programming :: SED - Keeping Start Of Line, But Drop The End?

May 3, 2010

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.

View 2 Replies View Related

Programming :: Have Several Scripts In /etc/rcS.d/ Directory Which Are Required To Run On Start Up

Sep 20, 2010

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 Related

General :: Get Start With Graphics Programming In C Under System?

Jun 24, 2010

Can anyone tell me how do i get start with graphics programming in c
under linux..

View 3 Replies View Related

Programming :: How To Start/stop Squid Service Using PHP

Oct 21, 2009

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.

View 2 Replies View Related

Programming :: Newbie To Start Driver Development?

Mar 14, 2010

I want to know where to beging with I want to start Device driver development.Any good link or book.

View 4 Replies View Related

Programming :: Popup A Dialog On Application Start?

Apr 6, 2011

Anyway, 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?

View 4 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 :: Why Fork Is Executing The Program Twice From Start

May 25, 2011

I 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..

View 8 Replies View Related

Debian Programming :: Automate Command Line At Start-up

Jan 26, 2015

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.

View 10 Replies View Related

Applications :: Getting Ready To Start Programming / What's Good Program To Use

Jan 20, 2010

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 Related

Programming :: Bash Script To Start Gnome Terminal?

Apr 8, 2010

I 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?

View 7 Replies View Related

Programming :: Start Servers Which Are Running On Pc With One Shell Scrip

May 19, 2010

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.

View 6 Replies View Related

Programming :: Extend Perl Capabilities Using CGI / Start Cgi Scripts?

Feb 22, 2010

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 Related

Programming :: For Loop To Iterate Four Times, Print , Then Start Again?

Jul 24, 2011

This 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]....

View 1 Replies View Related

Programming :: Get Perfect And Complete Way To Start Developing FW Application?

Jan 11, 2011

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 Related

Programming :: Start Up A Shell Script When The System Starts?

Mar 1, 2010

This is on Fedora 11. How do I start up a shell script when the system starts?

View 6 Replies View Related

Programming :: Start To Develope Applications For ARM9 Board?

Aug 26, 2010

i 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 Related

Programming :: .net Programmer Get More Into Open Source Software - Start?

Aug 9, 2010

I'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 Related

Programming :: Start Video Resource Manager In System?

May 5, 2010

I 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.

View 2 Replies View Related

Programming :: Start Up Script To Execute AFTER Desktop Loads

Oct 22, 2010

I need one, cause I know this is "So easy, a cave-man could do it" (and I can't) yikes.

I need a start up script to execute AFTER my desktop loads. It's for display resolution. I've added the same script in 3 places, and all will execute, but not until I do it manually. It's being over-written by another function...

1 script in /etc/gdm/Init/Default (as per Wiki page, which has a syntax error I found yesterday):

Quote:

#!/bin/sh
# Stolen from the debian kdm setup, aren't I sneaky
# Plus a lot of fun stuff added
# -George

[Code]....

Can I create a run level 7, like rc7.d, that will execute after the desktop loads (and everything else)? I symlinked the second script to level 5 rd5.d, and it didn't go through. I haven't tried level 6.

View 10 Replies View Related







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