Programming :: Build An Accounts System Database For A Project?
Apr 21, 2010
I have recently trying to build an Accounts system database for a project. When you run the program it goes in the main menu sort of like this.
Accounts System
Add a Customer With a Contract......1
Add a Customer Without a Contract...2
Display all Customers...............3
Find a Customer.....................4
Edit a Customer.....................5
Print a Statement...................6
Print an Invoice....................7
Load File...........................8
Save and Exit.......................9
When you add a customer with a contract, you add name, address, start contract, end contract, payment and email address. Now, is there a code I could write to get back to this menu. To not confuse anyone, all I just saying is supposing I accidentally push number 1 on the keyboard and suppose I didn't want to add a customer. In other words I need a code that can cancel (or stop) adding a customer to go back to the accounts system menu.
[URL]...Now it works in Windows platform. Some functions rely on win-specific code and need to cross-platform alternatives. Can some one help to build chain(make or cmake) for this awesome project? any one can compile the Linux generator and transfer the project under *nix platform.
On Debian, if I want to compile some package X myself, but I don't want to spend time hunting down and installing its dependencies, I can issue the following command:
Code: apt-get build-dep X
And apt (so long as it knows about package X) will install all the dependencies for me.Does the yum package manager on RedHat-based systems have a similar feature?
i am doing my academic project on Alix 3d3 system boards can u me the OS and also i am writing some program using C which i have to load it into the system boards, so which compiler is best suited?
I am having trouble in configuring xorg.conf. I am running Suse 11.3 desktop on my PC. Also, I have one onboard nvidia graphics 6150SE and I have put one nvidia 8400GS 512Mb in the 16X PCIe slot for the additional seat...
So kindly tell me what should I do now or what things are missing ?? For any further info abt my PC plz tell me to post outputs(specify the commands for the same..)
make deb package with samll project of php and myysql database such as login.php, index.php controll.php etc and database_name.sql. when i install this deb package my php script folder should go in /var/www file and databse should create automatically. i edit the control file of deb package , in depends line i set apache2, php and mysql because these three thing are necessary to run my script till here it is ok .but i am not able to send my project in /var/www and configure database automatically . i think for this i have to write .sh file but i dont know bash scripting
I didn't do enough research beforehand and just discovered that while gcc 4.1 is still packaged, g++ 4.1 is not. I am working on a project with unsupported libraries (don't ask) and can only build successfully with g++ 4.1.*I see that there are packages for Lenny. Is it safe to install these under Squeeze?Being new here I am not sure where else to look for third party packages is, so if anyone could point me in the right direction that would be great. I'd very much prefer not to try to build from source as I'll almost certainly clobber my 4.4 install in the process.
I just download source code of ekiga at address [URL]. I want to develop it, I compiled it in ubuntu successful, now I want to develop it in window platform by visual studio 2008 but I don't, can I can make environment for window and import it to visual studio 2008 to debug.
I have written a PCI LKM device driver that compiles and loads correctly via #insmod libfoo.ko. When # dmesg | less is run I get good results and no errors in the log. The LKM header file is visible in the eclipse workspace.how do I attach (link) this loaded LKM in a eclipse project so that the LKM driver functions are visable?
I'm new both to database and database in Ubuntu. I am working on a project in school which students are told to go to a site (html? ftp?), and read a document. I need to record the names of the students who read a document onto a spreadsheet. I was told to look into MySQL and Ubuntu. How can I proceed with this in Ubuntu?
Looking for suggestions on what tools to use. I'm a finance major with limited programming knowledge. I would like to start collecting my own stock data. I would like to pull data from google finance or something similar. Also, I subscribe to data from AAII, American Asso. of Individual Investors, and would like to add that data into the database. and be able to have a nice gui to run queries on. My interests are finding if there are various different arbitrage opportunities and fundamental value investments.
Very low budget. Want to run it on ubuntu. I was looking at Postgre SQL as the database, but really have no idea what is optimal. Not to sure on the gui or how to pull the data. If anyone is interested in the topic and would like to help me set up and run algorithms let me know too.
sbbdep is a program that reads the elf header of dynamic linked files found in the given argument. argument can be
a package file from /var/adm/packages/... a DESTDIR destination path of make install a single given binaries/dynamic libraries
as result it prints out, or into a file, the package names the given argument require. sbbdep scans installed packages, extract some information about dynamic linked binaries and libraries and dumps these infos into a sqlite database usually sbbdep works fast. time consuming is only the first where the cache becomes created this takes about ~? (1 - 2) minutes, of cause, duration depends on the number of cpus and speed of disk io on other runs than the first sbbdep syncs the cache, this is usually a fast operation (~1sec), even if some packages where undated/remoed/installed using the cache with a sqlite client some custom queries can be done like what is required by pkg or file, what are the dependencies of file xy,....
current state of sbbdep is 0.0.1, the first public release. of cause I wanted to make some things better, prettier, more documented and o on but before going on holiday, than waiting until Christmas cause work stresses and than an other year comes I place the code now to a public repo. for me it looks stable enough to release it without stress people that will test/use sbbdep to much with problems. but there may be some bugs I did not noticed, or better say there will be some bugs like it is always the case in software. but since sbbdep does not anything critical an can/shall be run as normal user it will not do anything bad.......
I've been working in the real world for a year making some money to go back and finish my masters, and now I'm coming to the end of my contract and am realising how little i remember and how small my scope has become; i basically do shell scripts and perl these days, and its making me uneasy. So instead of bitching about it , I'm going to endevor to complete Project Euler Using randomly generated programming languages for each problem, selected from
And post the fruits of my attempts at my blog (shameless plug) aswell as opening up my svn repository when I'm done. (altho i need to ask in another thread about svn permissions....)To my shame i havent ever touched C#, JavaScript, Ruby or Python, so all in all its going to be very interesting how much i screw up.Anyone have any additional ideas, or languages I'm missing or such? I was considering TCL or Haskell or Erlang at a strech, but i dont know how useful these three would be.
I currently have an ftp server setup using Ubuntu 10.04 and pureftpd with mysql as the backend. All the ftp users are "virual users" that are stored in mysql. I want my existing users to be able to use scp to transfer files instead of ftp. As far as I know, you can only use ssh/scp if you have a system account. All of my virtual users use the same system account of "ftpuser".
Is it even possible for me to setup the users with scp access, even though they don't have an actual system account? I really don't want to setup system accounts for each user. I have a lot of ftp users and I plan on expanding that number, so adding system accounts isn't ideal, plus I feel like that will bring new security issues (researching chroot for ssh and how to lock down ssh).
also some options in menues are disable..when i go to the terminal it shows this msge:<unknown program name>(5763)/ KDevelop::allocateRepository: picked duchain directory "/home/forensic/.kdevduchain/{61e2fad9-a888-45c7-91e7-c7098bc67b94}/0"maybe i made mistake in one step of compiling it..
I would like to ask your opinion for a new C++ project.I just finished writing a chess engine in a software engineering lecture.I don't see any way to continue with that project and I would like some new ideas.I would prefer to start something on my one but suggestions about small open source projects that are already out there are welcome.
I have project released under GPL. I have found an icon (.png) I want to use in it that also has a GPL license. What do I have to do, if anything, to use it legally? It's "just an icon", and while it represents a significant amount of work on someone's part, it doesn't come with any source code or embedded licenses that I can just copy and include with my project files. I'm sure I can use it because it's GPL and my project is GPL.
That's what GPL was designed for, but I don't want anyone to think I'm claiming I designed it or that I took it without giving proper credit. I just reread the GPL, and it looks like I can do anything I want with it as long as I don't restrict anyone else from doing the same and if I were to modify it, I'd have to put a notice "somewhere" (but where would that be for an icon?) acknowledging that modification. I don't see anything that would make me actually mention it at all in my documentation, etc. as long as I pass it along unmodified.
I have the joyous task of having to find and fix a bug in a large opensource project for an assignment. Fixing the bug should only take about 4 hours according to the lecturer. I would prefer the source language of the project to be Java, since my C++ is quite rusty.
So, does anyone have some experience in this type of thing, and can you give me advice about which projects would not be nasty to an ignorant student? Also, which tools did you use to make it easier for you? I want to learn how to do this,but I'm just a bit clueless at present.
I am trying to write a CMakeList.txt for a project (A). The project needs to use the library of another project (B). For gcc, using -L <path> -ldl works. How can I convert that into cmake file? I tried include_directories, that doesn't seem to work
I'm using ubuntu 9.04;I want to debug my project that comprises mutiple files.When I cd to the project folder and run the command "gdb rawusb_test",Once I tried the flag -g and changed the line "$(CC) -o $(PROG) $(OBJS) $(LIBS)" to "$(CC) -g -o $(PROG) $(OBJS) $(LIBS)", it didn't work!I want to trace the program "rawusb_test" line by line and see the parameters' values!Could you help me how I should debug this project or how the Makefile should be changed?
Now I have a project which include three directories /bin, /inc and /src. All of header files (*.h) are included in /inc and all of source(*.c) files are stored in /src, i.e. a.c, b.c, c.c..., the final generated executable file will locate in /bin. after compling with makefile, all of obj files will be generated in /src/obj like a.o, b.o, c.o, d....! Moreover an final.exe executable file will be generated in the /bin directory. Now if I want to debug it with GDB, how can I do it?
I am in the process of setting up and e-mail system for my small business. In the past I have always had my ISP and my domain registrar handle the e-mail and just POP the e-mail to a ciient such as thunderbird. Now I have decided in order to better learn postfix or sendmail, I want to setup my own and administer it. My question is:
1 - Once I have my domain name for my company is the e-mail accounts just created via psotfix or sendmail or are the accounts created via my domain registrar like my domain name? For Example: my domain name is test.com and I wanted president@test.com.
2 - Are e-mail servers setup in a DMZ as realys and then forwarded to an internal e-mail server and them transmitted to the clients or are they normally just put inside the LAN?
I am a Master's student.I am a newbie to Linux. I am interested in doing a term project in C kernel programming. I need help in developing a project in which I can use C kernel programming .
I've got the "OpenCryptoKi" project source from "sourceforge.net" at here:But I don't know how should I compile and build it by "GCC" or "Make"?!I have ubuntu 9.04 and I've set the linux runlevel at 3, but I'm not so familiar with compiling such project at commandline environment of linux