199,114 Archived Topics
Remove Filter ![]() | |
#include<iostream> #include<string> using namespace std; class A{ private: string id; string work; // same as class B int salary; public: void getid(string _id){ id=_id; } string returnid(){ return id; } void getwork(string _work){ work= _work; } string returnwork(){ return work; } /* if i need to use the data of … | |
Hello all, I've been set a lab assignment and am really struggling to get to grips with it. The aim to to create a "grass-roots" program that doesn't make heavy use of built in functions. Namely "string.replace()" in this case! Any ideas as to why the below code doesn't work? … | |
Hello everyone, I'm writing up a new application that instead of using microsoft as a server, I'm using a linux server with a database in it. The database was setup, the tables were set up, and access was granted in mysql. The issue I'm having is that I keep getting … | |
Well Hello daniweb, I want to point out that I am barely beginning to learn VB.net for my A-Level Computing Course. So, I was asked to make a Currency Conversion Program and make it have a Transaction Log that is automatically updated when the user makes a conversion. I chose … | |
Hi edit_order.php <?php session_start(); if(!isset($_SESSION['admin'])){ echo "Only the admin can see this page"; header("Refresh: 3;url=login.php"); }else{ require("inc/config.php"); require("inc/header.php"); $id = $_GET['id']; $sql = "SELECT * FROM serv WHERE id=$id"; $query = mysql_query($sql); while($serv = mysql_fetch_object($query)){ $title = $serv->title; $describtion = $serv->describtion; $url = $serv->url; $status = $serv->status; } ?> <center> … | |
I need to develop a website which uses HTML. I want to ask if I develop my website using JOMLA, does it use HTML ? If no what is your recommendation for me to develop a website by using software ? I prefer free software. Tq ![]() | |
Hi to everyone, I am a begginer on php so maybe this question will appear to simple to someone. My issue is that I want to output a list with all .zip files that are in my site directory. Also for each file I want some details for exemple: Filename: … | |
i need help to draw hollow square . i am done making completely filled square . anyone pls ? | |
i learned about 1D Array , 2D Array , 3D Array.But today , suddenly my friend asked my a question on "how to access Array Elements". i said "just use array with index".like a[0],a[1] and so on. and then he replied(it seemed that he knew very well about array) "is … | |
i wish to capture user input regarding workhistory on one form - how do I catch the same infor structure, ie. company name, position, duration, job description, for 3-4 companies, dynamically in PHP and write it to mySQL. I need direction on how to do this re...form structure and table … ![]() | |
Sorry in advance if this is the wrong place for this, it's the closest I could find. I need to create a macro for an Excel 2010 spreadsheet so that the active cell will cycle through three choices: "Y", "N" or "" - the last being simply an empty string … | |
THIS CODE IS TO DISPLAY THE DATA FROM THE DATABASE AFTER THE FORM HAS BEEN SUBMITTED. THE PROBLEM I'M HAVING HERE IS THAT WHEN I SUBMIT THE FORM THE LINK IS NOT WORKING. IT GIVES ME THIS : http://yourweb.com/test2.php?id= INSTEAD OF : http://yourweb.com/test2.php?id=23 HOW CAN I FIX THIS? THANK YOU! … | |
Private Sub Command1_Click() Select Case Me.Text1.Text Case 1 MsgBox ("U Entered 1") Case 2 MsgBox ("U entered 2") Case 3 MsgBox ("u entered 3") Case Default MsgBox ("Default") End Select End Sub When i enter 4 in textbox1, Msgbox is not displayed.....Default is a valid case or not in VB | |
Hi everyone , below is my update.php code , however , I am seeking for code to update specific user . For example Search Id : _______________________ [search] if user want to search id details for id : 11 the update.php will show open a page that can update that … | |
Hi! I have in my database few tables and each table have a column with dates of inserting records. I don't know how to go through the database, through all tables, in chronological order, from the first inserted record until the last, can anyone help? tnx! | |
Evening Community! Alright. As you can see I am "newbie" on the block. When I try approaching my professor for assistance she tells me to go to my book. But I digress. If I was able to use a while loop this would be more simplified. But our professor is … | |
I need to print out a pattern that looks like this when N=6 1 21 321 4321 54321 654321 | |
I've looked all over and ive not found a good answer, is there a way you can take your functions and make them in seprate files and call them to the class? it seems no one has tried this or i am ooking in the wrong place ![]() | |
I have created a multipage form which collects data input by the user before and is then sent by email. I have created a table that the user has to fill in an ammount for each item. They user doesn't have to fill everything in only the items that apply. … ![]() | |
Make flow chart from this code, how ? #include <stdio.h> #include <math.h> struct point { double x, y; }; struct point input_point() { struct point a; printf("x = "); scanf("%lf", &a.x); printf("y = "); scanf("%lf", &a.y); return a; } struct point reverse(struct point v) { struct point w; w.x = … | |
I recently installed Microsoft Visual Studio 2010 on my computer. I wrote a C++ program and I can't find any Build/Compile/Run options in Visual Studio 2010. Please, any one can tell me how can I compile C++ programs in MS Visual Studio 2010. | |
Write a C++ program that stores ten numbers into an array, and determines the total and average of the numbers . The program uses a do - while loop to add | |
Hi, everybody I am working on AES encryption app. I need to split the file into blocks, then encrypt each block individually. What I had so far is below: byte[] sourceBuffer = File.ReadAllBytes(inputFile); byte[] destBuffer = new byte[sourceBuffer.Length]; byte[] toEncrypt = new byte[16]; // Encrypt each block. for (int offset … | |
Hi all, yes still a question about the API! I am looking into event handling at the moment (basic things with text fields, checkboxes etc ) and I have noticed that different components generates different events which are in turn handled by different objects. As an example,let's take a checkbox. … | |
I'd like to write a file monitoring tool that (1) Generates a report on how much time was spent on which file (2) Generates a timeline of file age. The need for this application is to track time for all programming projects. If the app would automatically track the time … | |
can't show non-modal form when a modal form is displayed | |
I've never worked with the Select, Delete, Update functions in a GridView before. I only want to use the Delete function, which I currently only have setup. I have the following information being show in my gridview: degree, institution, graduation date, dissertation, id(hidden). | |
Hi, Am new in VB.Net.I want to know how to call for data from SQL server usin code. Thanks | |
I have a form in which I have made File no =field which displays(From sql database) the Integer value like 1-2-3-4 and so on. I want that ,when I save a form which has file no 1 ,and then after when I want to save the next record it should … | |
Hi all This is what the problem is and I believe is wrong Financial application: computing future tuition) Suppose that the tuition for a university is $ 10,000 this year and increases 5% every year. Write a program that uses a loop to compute the tuition in ten years. Write … | |
Hello, I have worked on a project to make a custom-like Internal Frame. There are also other classes which extends it, instead of JInternalFrame. The project works quite good, but there is a problem. The discription of how the JPanel window works: _______________________________________________________________ There is a main JPanel which contians … | |
Greetings, If I have an image represented with 256 columns and 256 rows how many bytes used to store such image? and how many pixel in that image? | |
Hello, I'm new in assembly. I have to do a program that copies the data of an input file to an out put file. but this output file has to be created. The problem is that I cannot create this file which seems to be so straight forward. the Code … | |
I want to get the maximum Column5 from both the table and then the maximum Column3 from the table which has max Column5. I don't know if it is the right forum and also am not good in sql :( SELECT max(Column5_1) FROM (SELECT max(Column5) Column5_1 FROM TABLE1 WHERE Column4 … | |
I used code originally by vegaseat what's wrong with code ** error : Traceback (most recent call last): File "C:/Users/Cameron/Computing Work/Year 13/F454 - Computing Project/Design/newthingnewthing.py", line 68, in <module> canvas.create_rectangle(x0, y0, x1, y1, fill="purple") AttributeError: 'NoneType' object has no attribute 'create_rectangle'** _______________________________________________ code: from tkinter import * data = [10, … | |
In main.html i will have two text fields one is the name of the html page i need to create and another is number of text fields, once i enter number(for example three) in main.html, within the same page dynamically 3 text boxes should be created using javascript... now if … | |
Hi im a beginner and just need some help solving this problem. i think its simple but have tried to figure it out but im getting no where. i currently have four text boxes to which i add data to, i then click the add and want to add this … | |
Hi I just recently started learning about using the windows form application for C++. I am using Visual Studio 2010 and I have came across this problem. For instance, I am trying to read and write to a text file. Many guides suggest using StreamWriter^ and using namespace System::IO; to … | |
I m working with teamcity. I want to build an ipa using the code in the repo. i used the code in http://yiannisoftware.wordpress.com/2009/09/27/how-to-build-ipa/ But it only gives the ipa file without the content. Please give suggestions. Either to correct this code or a way to create ant script to build … | |
i want to upload file like exe file of an software from admin to database and download it from front end...plz help me out... ![]() | |
Is it possible to run an exe file which is saved on server machine using exec() function? I | |
I have two instances of Tomcat running on my server. I'm in the process of getting them to run as Windows Services (using the services.bat file in the bin - making sure the two service names are unique) and i'm getting stuck getting the second instance to work as it … | |
how to send an email from localhost xampp?? anyone give me a proper procedure... i'm confused. ![]() | |
i need the whole c++ programming code for this because am making mistakes in it everywhere i think so pls help me.................. (printing distinct numbers) write a program that reads ten numbers and displays distinct numbers (i.e., if a number appears multiple times, it is display only once). (hint: read … | |
Please don't mind, my question is very lengthy. Help me. I have been facing a problem with my usb for two months. When i copy something from any computer, it copies it perfectly and when i plug my usb in my computer, the files open only in usb's window but … | |
Hi I am trying to use counted_ptr with a class. Can anyone tell me about the syntax and how to use it. I tried as below but failed. class counted_ptr ; counted_ptr<MyClass>pmyClass= NULL; | |
The job market for c + + programmer is promising? And where it gets the best jobs? Thank you, | |
hey .. i have a gridview and i set allowpaging=true. in the first column, i have a check box for choosing items..when i click on the second page of the gridview, and click a button for update, it doesn't recognize the changes i made in the previous record on the … | |
Hi! Can anybody tell me about Socket Programming? I want to develop a Live Chat WebApp. Thanks in advance. |
The End.