Programming :: How To Compile / Simple Tutorial For Making Simple Program

Oct 7, 2010

i'm a college student studying pc programing, and i was given today a special work and i have to program using miranda... which i've never used it >.< can anyone give me a hand to where to download, how to compile, and a simple tutorial for making a simple program or something?

View 3 Replies


Programming :: Get Started With Making 'a SIMPLE Dock'?

Mar 22, 2011

This is probably hopelessly ambitious as I'm not a C or C++ programmer (I normally like to stick to scripting languages like BASH or Perl). Basically I'm looking on good advice to get me started with writing a Application Dock with the functionality of the OSX dock but without the overly flamboyant graphics that have characterised the Linux versions.At the moment the closest I've found to what I would like is bbdock. However it falls well short of the functionality of what I would like.

What bbdock does is read a file to create an icon for the openbox dock/fluxbox slit/wmaker whatever that launches an application when first clicked, shows an little arrow when the application is running, and brings the application to the fore when clicked once running.Here's a screenshot of it doing just that.The drawback to bbdock is that it doesn't really look for running applications, only those launched from bbdock. So for example it wont notice if I've launched an instance of pcmanfm from the openbox menu. And therefore it obviously also doesn't add icons for other applications that are running.

What I would like to be able to do is detect new running applications and add a bbdock icon for them. Also to detect if an application already with a shortcut has been run and update it's status to show it's open. Probably have an up and down arrow to move the icons up and down when there are too many to fit on the screen. None of the above needs fancy animation. The fade to gray effect used by bbdock is quite nice and could probably be augmented with a fade in and out to grey to represent another action, say fading to grey and back when launching and greyed when iconified.So, my question is what do I need to get started doing this? Am I best using the pretty outdated bbdock wmaker dockapp style? What functions and libraries am I likely to need to achieve the effects I want? Are there any examples of how to monitor running applications (well windows and figure out what constitutes a new application) that I could look at for inspiration. Is there anyone who's into C++ for linux who would be interested in helping me out to get this small project working?

View 8 Replies View Related

Programming :: Make A Simple Vector Test But Can't Compile It?

Jun 6, 2010

I am trying to make a simple vector test program, but i can't compile it. Here is the code:

import java.util.*;
class Vec {
public static void main(String args [ ]) {


View 2 Replies View Related

Programming :: How To Write Simple C Program In RHEL5

Sep 17, 2010

How can i write a simple c program in my RHEL5?I am more concerned about what are toosl i need to install to get a C platfrom running in my RHEL5?

View 14 Replies View Related

Programming :: Simple Download Scheduler Program Code?

Apr 30, 2010

I have created a simple download schedular with source-code give below :
touch /home/student/packs/lynx/logfile
lynx -cmd_log /home/student/packs/lynx/logfile


View 10 Replies View Related

Programming :: Call_usermodehelper - Loading A Simple C++ Program Like Hello World With Driver

Dec 13, 2010

all i want is loading a simple c++ program like hello world with this driver. everything works fine except it doesnt start the program. because ret returns with 0 i think the program works fine but I think i messed up something about how to start the c++ program. i used this example for my program but it doesent work too.


is there anybody out there who can give me a hint what i messed up? i use ubuntu with 2.6.32 Kernel.


View 1 Replies View Related

Programming :: Write A Simple Character Printing Program Using NASM?

Jul 27, 2010

i tried a code to accept a character and print the same ! i can accept it with following code but its not working with printing that character i use NASM version 2.07


segment .data
msg1: db 'Enter a key',10
msg1len: equ $-msg1


View 3 Replies View Related

Programming :: Errors - Make Pop-up Reminders For The Simple Calendar Program?

Feb 21, 2010

First off, I'm completely new to bash scripting so forgive me if I make any egregious errors. I'm trying to make pop-up reminders for the simple calendar program when. This is what I have so far:

# set the time format for when
#current="$(date +%I:%M %p)"
current="$(date +%-l%p)"


When I run the script, gxmessage pops up and displays the correct information, but it does so for each line in "~/.when/today" that contains a time that matches the current system time (which would be three pop-ups at 10PM, according to the example). I want it to display the information only once. How can this be accomplished? Is a while loop even the right job for this?

View 8 Replies View Related

Programming :: Build A Simple Program For C Programming Class?

Feb 12, 2011

im trying to build a simple program for my C programming class, this is the source code

#include <stdio.h>
int main()
int length, width, length, height, area, perimeter;
perimeter = width + length + height;
area = width * length + heigth;


i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?

View 5 Replies View Related

Programming :: Create A Simple Program With Will Continually Read Input From The User Until They Enter A Blank Line?

Apr 6, 2011

basically i have to create a simple program with will continually read input from the user until they enter a blank linei know how to read in certain input but not sure how to get it continually in a loop

View 2 Replies View Related

Ubuntu :: Making IPhone Apps - A Simple Process - Where To Begin

Feb 2, 2011

Making iPhone apps. a simple process? where do i begin. i have no idea what I'm doing.

View 4 Replies View Related

Ubuntu Multimedia :: Need Simple Microphone Program

Apr 17, 2010

I need a simple program that I can talk into a microphone and the sound will come out the speakers. I want to use my Computer that's hooked up to the store speakers as a PA System.

I am having a difficult time finding a program that will let me do this without having to record and playback. Any help would be wonderful.

View 6 Replies View Related

Ubuntu :: Simple-to-use Speech-to-text Program?

May 18, 2011

I've got a bunch of hand-written notes which I would like to put into Kabikaboo (great app by the way) - but it is a real pain reading stuff then typing it up. I'd like a speech-to-text app, so I can just read my notes out loud and the computer will turn them into text files.Looking through Synaptic, all I can find is Julius; and that does not seem to be an easy-to-use app at all. So many parameters to set, an impenetratable (to me) manpage; and although I am a CLI user quite often, some kind of GUI would be nice.

View 4 Replies View Related

Ubuntu :: Creating A Simple Gtk Program Through Terminal?

Jun 10, 2011

I am wanting to try creating a simple program through Terminal. Anything will do. A window or button, etc. I haven't found anything simple enough online yet, but I'm sure they're out there. I just want to expand my knowledge of gtk type stuff. Sorry if this is not the correct category to ask this. I was going to put this on the Community Cafe forum, but chose General Help instead. I am running Ubuntu Lucid. **Edit note: I did try the procedure described at the url (below), but I got all kinds of errors in terminal. [URL]

View 1 Replies View Related

Ubuntu :: Creating Simple Program To Automatically Run Command

May 12, 2011

I need a program that automaticly runs this command in the terminal when I use it:
sudo modprobe nvidia_g210m_acpi
Sure, I know that it's not that hard to just write it in terminal and so on, but I really want a program for it. I'm using ubuntu 11.04 if U need to know that?

View 8 Replies View Related

Ubuntu :: Finding A Simple Program That Pops Up Reminders?

Jul 20, 2011

I am just looking for a simple program, nothing overly complex with crazy features. Just something that pops up above any browser/window and remains that way until you click it or something. The pop up would occur periodically or at sometime each day. It would say something like "TAKE A BREAK FROM COMPUTER" lol and other things. not suppose to be some full reminder program like a calendar.

View 2 Replies View Related

Applications :: Building A Simple Program With Putty Commands?

Jun 9, 2010

I'm interfacing with a device using putty and right now I have to use a reference document to dissect the data I'm sending and receiving. I'd like to build a program that can build packets according to user input and then dissect them upon receipt; basically an [ english <=> proprietary packet structure ] program that talks to the device via USB. The packets come in varying sizes, but are composed of well-defined fields and values.

View 6 Replies View Related

General :: SSD Trim Simple Bash Script Program?

Jul 9, 2011

I wrote this script which works but it should run automatically about once per week. I hunted and experimented with KDE Task Scheduler (no dice and no help anywhere) and cron (confusing instructions and cannot edit crontab -e with vim, and cannot enter cron folders/files). I would settle for a desktop shortcut to run the script but found no for that.



xterm -hold -e fstrim -v /
OS: openSUSE 11.4 x86_64


View 13 Replies View Related

General :: Write A Simple Program C++ To Connect To Mysql Database?

Sep 5, 2010

I'm trying to write a simple program c++ to connect to Mysql database based in my server:

int main (void) {
cout << "33[2J" << "33[0;0f";
MYSQL mysql;
MYSQL *conn;


View 2 Replies View Related

Ubuntu Multimedia :: Simple Midi Editing Program Similar To Jazz++ Or Anvil Studio?

May 20, 2011

Stupid browser froze up when I tried to submit this before... *sigh* Anyway, is there a simple midi editor that that isn't Rosegarden and doesn't require JACK? Something would simply let me load a Soundfont, and then edit and export a multi-track midi file without a bunch of other stuff you have to do?

View 2 Replies View Related

Programming :: C++ Programming With Simple RTAI Functions Outputing Words?

Apr 11, 2011

I need help as I am not proficient with Linux C++ Programming. There are two parts which I need to do in the coding provided below.

1. Produce the program so it can output the word "Hey there!" and wait two minute and print the word "See you later!".

2. Produce the program that will output the text "Cool" every 20 seconds by setting a periodic task.

#include <linux/kernel.h>
#include <linux/module.h>
int init_module(void)
printk("Hey there!


View 3 Replies View Related

Programming :: Create A Simple Makefile Using C ?

Mar 26, 2011

How to create a simple Makefile using C....

View 3 Replies View Related

Programming :: Getting Perl Simple Recursive Sub?

Feb 16, 2011

This is my sub;


sub projName
print "Enter project name: " ;
print "";


I can call this routine and it works fine when I enter a valid name for $PROJ. If I enter an invalid name it goes to the else block and prints the statement. However, it does not call itself. Instead the script just exits.I've googled 'perl recursive subroutines' and the example don't appear to be doing anything different.

View 4 Replies View Related

Programming :: Simple If's In Bash Scripts?

Nov 7, 2010

I have been looking at: ut a lot of it is to do with files and numerical comparisonswhat would be the bash equivalent of:if (http isin $2) { do something }

View 2 Replies View Related

Programming :: Simple Subtraction Using Bash And Bc

Nov 4, 2009

I am trying to create a function that takes a pair of a high and a low limit, and returns an arbitrary number between them. Below is my attempt to create a function that accomplishes this by checking to see if they are equal, and if not, subtracts a very small number from the high limit and returns the result.

View 2 Replies View Related

Programming :: Simple Script For Comparing Two Directories?

Apr 1, 2011

have a simple script for comparing two directories. I want to list all differences between this directories.

here is my function for compare:

function comp
for i in $1/*; do
if [ ! -e "$2/${i##*/}" ]; then
echo $i


in my script these two files are equal(my script ignored last time modified)

View 5 Replies View Related

Programming :: Creating Simple Webcam Effects?

Apr 13, 2010

I want to create simple webcam effects filters. I am only interested in doing relatively simple image processing like blurring or averaging the color. I would like to create the filters in either C or Python.

So before I dive into using Gstreamer or V4L I wanted to ask the forum if they have had any experience with webcam development?

View 2 Replies View Related

Programming :: Python: Simple Message Queues / IPC?

Mar 10, 2010

I have this daemon I'm writing in Python, but I still a Python n00b. I've coded the part of the daemon that does the work, but not the part that receives messages. I need a simple system so that other processes on the same (Linux) computer can occasionally send text-string messages to the daemon (without needing to stay running all the time themselves). Once in the past we did something similar by (mis)using pyliblo to listen for OSC messages coming in on a certain port. That option isn't as workable here because the pyliblo interface (as near as I can tell) requires you to know in advance specifically what messages you are expecting, and forward them to specified functions, rather than just allowing you to generically process incoming messages as you see fit.

View 1 Replies View Related

Programming :: Reading A Simple File Format In C?

Dec 16, 2010

I made a string key-value mapping struct in C, and functions to add and remove entries. I would also like to write a function to read in this file format:

key: value
another: another value


View 14 Replies View Related

Programming :: Simple C# Using Mono Not Working Properly?

May 13, 2010

I am creating a simple program using C# to print the contents of the todo.txt file once it has run. Problem is when I run the program, I get this warning.

PHP Code:


View 12 Replies View Related

Copyrights 2005-15, All rights reserved