199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vampersie

#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 …

Member Avatar for vampersie
0
123
Member Avatar for 06njack

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

Member Avatar for woooee
0
284
Member Avatar for amvx86

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 …

Member Avatar for amvx86
0
410
Member Avatar for bogdan.buduroiu

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 …

Member Avatar for Reverend Jim
0
198
Member Avatar for Iikeloa

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> …

Member Avatar for Iikeloa
0
273
Member Avatar for erminasrcutp

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

Member Avatar for diafol
0
186
Member Avatar for developer707

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: …

Member Avatar for developer707
0
278
Member Avatar for maryamalik

i need help to draw hollow square . i am done making completely filled square . anyone pls ?

Member Avatar for gerard4143
0
128
Member Avatar for Learner010

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 …

Member Avatar for richieking
0
190
Member Avatar for dezzpro

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 …

Member Avatar for diafol
0
177
Member Avatar for scaiferw

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 …

Member Avatar for scaiferw
0
228
Member Avatar for Cristianh21

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! …

Member Avatar for Cristianh21
0
260
Member Avatar for mansi sharma

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

Member Avatar for anup_1
0
149
Member Avatar for erminasrcutp

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 …

Member Avatar for Lsmjudoka
0
323
Member Avatar for iv_jo

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!

Member Avatar for JorgeM
0
306
Member Avatar for booicu

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 …

Member Avatar for woooee
0
17K
Member Avatar for Timlince55

I need to print out a pattern that looks like this when N=6 1 21 321 4321 54321 654321

Member Avatar for nabanit.sarkar
0
242
Member Avatar for daniel.conlinjr.1

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

Member Avatar for diafol
0
361
Member Avatar for MattD00

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

Member Avatar for diafol
0
191
Member Avatar for Krasen

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 = …

Member Avatar for darkenmac
0
217
Member Avatar for dhruv_arora

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.

Member Avatar for Ancient Dragon
0
3K
Member Avatar for molu

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

Member Avatar for kellyperry15
0
278
Member Avatar for Sara Tech

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 …

Member Avatar for tinstaafl
0
329
Member Avatar for Violet_82

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

Member Avatar for Violet_82
0
162
Member Avatar for zahnsoftware

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 …

Member Avatar for lydia.aram.9
0
181
Member Avatar for SaRa Ahmad
Member Avatar for MaddTechwf

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

Member Avatar for MaddTechwf
0
186
Member Avatar for AnLag

Hi, Am new in VB.Net.I want to know how to call for data from SQL server usin code. Thanks

Member Avatar for AnLag
0
254
Member Avatar for chdboy

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 …

Member Avatar for chdboy
0
2K
Member Avatar for sterno68

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 …

Member Avatar for JamesCherrill
0
563
Member Avatar for 117

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 …

Member Avatar for JamesCherrill
0
284
Member Avatar for mhth2014
Member Avatar for AmrMohammed

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?

Member Avatar for castajiz_2
0
161
Member Avatar for shqiptari88

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 …

Member Avatar for MRehanQadri
0
797
Member Avatar for Learningvinit

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 …

Member Avatar for deceptikon
0
121
Member Avatar for CodingCabbage

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, …

Member Avatar for CodingCabbage
0
3K
Member Avatar for uday_2

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 …

Member Avatar for uday_2
0
213
Member Avatar for beginnerinneed

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 …

Member Avatar for hreylorbe
0
8K
Member Avatar for clasp1

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 …

Member Avatar for clasp1
0
653
Member Avatar for jrosh

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 …

Member Avatar for jrosh
0
134
Member Avatar for hriti

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

Member Avatar for diafol
0
427
Member Avatar for divyakrishnan

Is it possible to run an exe file which is saved on server machine using exec() function? I

Member Avatar for hriti
0
146
Member Avatar for bostondevin

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 …

Member Avatar for stultuske
0
264
Member Avatar for Indians

how to send an email from localhost xampp?? anyone give me a proper procedure... i'm confused.

Member Avatar for diafol
0
329
Member Avatar for kymera

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 …

Member Avatar for stevedaniel
0
240
Member Avatar for Saboor880

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 …

Member Avatar for Mr.M
0
203
Member Avatar for Learningvinit

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;

Member Avatar for Learningvinit
0
525
Member Avatar for Neuman

The job market for c + + programmer is promising? And where it gets the best jobs? Thank you,

Member Avatar for Neuman
0
70
Member Avatar for newbie26

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 …

Member Avatar for newbie26
0
126
Member Avatar for mihir.driftking

Hi! Can anybody tell me about Socket Programming? I want to develop a Live Chat WebApp. Thanks in advance.

Member Avatar for ryantroop
0
79

The End.