50 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ravoras

Hey Guys, So using a webform textarea I am passing some data into PHP. This data is basically 4 columns of an excel sheet and potentially unlimited rows. Now I want to be able to go through this data, select each of the four individual elements from each row, insert …

Member Avatar for skradoslav
0
4K
Member Avatar for Maritimo

One of my students make me a question (which answer i know) but I think could be instructive to formulate the same question here so many people can learn about it. The question is: How to implement a copy assignment into a Derived class? Consider the following class A: class …

Member Avatar for pritaeas
0
382
Member Avatar for chophouse

I've written this function to take a list and shift each member right by the number supplied as the offset. I want to preserve the supplied list and return the shifted list. My problem is that the function modifies the supplied input list itself as well as returning a new …

Member Avatar for chophouse
0
291
Member Avatar for Start4me

I have linklabel which has spaces at the end, I want to copy the label's content without the spaces. This copies the linklbl with spaces at the end: Clipboard.SetText(E_mailLinkLabel.Text) But couldn't figure out how to trim the linklabel before copying it.

Member Avatar for Start4me
0
391
Member Avatar for Netcode

Hi all, trying to read up on C to get acquainted with the language. Got an exercise am trying to answer and i may need your help to know if am right. I have this code as below, and am asked, what lines have buffer length checking errors. int main( …

Member Avatar for Netcode
0
293
Member Avatar for nadiam

hey guys. I have a form (very much simplified): <form method="post" action="add_contact.php"> <label>House No. :</label><input type="text" name="houseno" required /> <label>Street Name :</label><input type="text" name="street" required /> <lable>Spouse ?</lable><input type="radio" id="spouse-yes" onclick="FillSpouse(this.form)">Yes<input type="radio" id="spouse-no"> <label>House No. :</label><input type="text" name="spousehouseno" required /> <label>Street Name :</label><input type="text" name="spousestreet" required /> </form> what i …

Member Avatar for saqib_604
0
2K
Member Avatar for kyleo92

I'm attemping to clone and install a Ruby application from github. I have it cloned, and am trying to run the "bundle install" command, but it failed the first time because of an issue with Rake. I installed it manually using "gem install rake -v '10.1.1'". That command was sucessful, …

Member Avatar for BrentK
0
266
Member Avatar for abaddon2031

Hello I am new to python coding and have a couple of things that I could really use some help on. I need to move some sor files from one folder to another and to add a date and time to the facts sheet that it produces if any one …

Member Avatar for abaddon2031
0
306
Member Avatar for theashman88

I'm currently having an assignment that wants me to copy a select amount of files. More specifically files that are even using the cp command. The assignment is to copy files that start with cp and are even. This was my command at first `cp[24680]*` but it returned all files …

Member Avatar for rubberman
0
1K
Member Avatar for minitauros

Someone just notified me that a new free online space provider has launched, called Copy. If you know Dropbox: it's pretty much similar to that for as far as I can see now, only here you get a starting **15GB** for free (instead of 2? at Dropbox). They now have …

Member Avatar for Reverend Jim
0
552
Member Avatar for ngonix

Hello, I have a small issue with copying text from one textbox in main window to another textbox in an iframe. The code i have is as follows: index.html <html> ... \\JQuery Library Here \\JQuery Code <script> $(function() { $('#lastName').keyup(function() { var txtClone = $(this).val(); var rel = $("#listUnder").contents().find("#relationship option:selected").text(); …

Member Avatar for ngonix
0
1K
Member Avatar for phfilly

Hi all! I just have a quick question about the execution of a copy constructor. This is the code i'm testing my work with as I'm busy learning for a test. Class file: Clock :: Clock (int h, int m, int s) { hr = h; min = m; sec …

Member Avatar for can-mohan
0
290
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to make a program that will copy text from an excel spreatsheet and place it in another using visualbasic.net not vba? Please Help

Member Avatar for Reverend Jim
0
269
Member Avatar for Alexkid

Hi there, I have an array of unsigned chars that hold hex values, I’m interested in values [5] and [6] of the array. Say [5] = 0x5b = 0101 1011 and [6] = 0x7b = 0111 1011 I'm trying to get all of [5] and the first half of [6], …

Member Avatar for L7Sqr
0
191
Member Avatar for ctrl-alt-del

Good evening all, Currently I am working on a program that will automate the backup/restore jobs at the place I work. The rough work has been done, but I am somewhat concerned about the possibility of massive IO operations due to the way my program works. Here is the scenario: …

Member Avatar for ctrl-alt-del
0
235
Member Avatar for caven.chunyen

Hi, I've got a set of folders with each contain many files. I need to extract a specific file extention(.sof) from each of these folders to a new directory(or the same directory in a new folder). Any help is appreciated. Thanks.

Member Avatar for extension wpd
0
294
Member Avatar for jakubee

Given an Arrayl.ist that contains a list of Employee object references, describe two ways in which you could write code to make a copy of that ArrayL ist. (Hint: one way would be a shallow copy). Use code examples to illustrate your answer. Discuss the implications of each way you …

Member Avatar for JamesCherrill
0
1K
Member Avatar for piero.costa

Hi guys, I'm learning C and I still don't have some concepts very clear in my mind. I have to create a program that get the values from ARGV[] and puts into a vector: the program would work like that: ./program file1 file2 file3 My idea was to do something …

Member Avatar for Ancient Dragon
0
4K
Member Avatar for jumboora

Hi, I want to copy all the video files from one directory (source folder) to another directory (destination folder) which i have already done. Code is given below. Now i want to put some condition. For Example, I want to read first the text file (videoID.txt)in which all the video …

Member Avatar for Mike Askew
0
185
Member Avatar for mgunia

I'd like to say "hello" to everyone as it is my first post. I looked for the solution to my problem on the internet for over 2 hours and I didn't find anything relevant. I hope you are able to help me. I have a bunch of invoices written in …

Member Avatar for mgunia
0
503
Member Avatar for hwoarang69

trying to copy pointer in array. lets say *pointer has the value "COMPUTER". and i want to store in array[o]; note: i want to use strcat to do this and i do not want to do some thing like "array[0]" char test[10]; char *point; //has the value "COMPUTER" for(int i …

Member Avatar for Vish0203
0
181
Member Avatar for shandoosheri

Hi I have a folder containing about 60 files and I need to copy each 3 files to a separate folder Thank you

Member Avatar for shandoosheri
0
207
Member Avatar for N1GHTS

I am importing some C code into a C++ compiler, specifically Borland C++ Builder 5. I seem to have a problem with this style of code: // A structure that contain's itself typedef struct AnObject AnObject; struct AnObject { AnObject *Object; }; // A global structure to store a pointer …

Member Avatar for N1GHTS
0
237
Member Avatar for TrustyTony

New Daniweb way to copy the code from posts with indentation is to double click (not too quickly) to select the code region and use normal copy paste as you like (second mouse button or ctrl-c). Easier than before but little not obvious!

Member Avatar for TrustyTony
1
293
Member Avatar for faraz ahmad

Aoa, Hello All, i am having problem in this question Write a program that takes integer input from the user and store into the array dynamically allocated each time a new element is added. Your program should prompt user to take integers until he enters -1, which means end of …

Member Avatar for MastAvalons
0
340
Member Avatar for razamughal67

please solve my problem i want to know where we show text when we use copy cut command Example: we use a command Ctrl+C or Ctrl+X any text in textbox or any file or folder i want to view his clipboard where it link save OR view in Registry or …

Member Avatar for BitBlt
0
410
Member Avatar for Aarowaim

I'm working on a simple program in which the user types a sentence, the program iterates through the string that the sentence in stored in and alternates each letter's case, and then puts the formatted text into the clipboard. I know exactly how to allow input and change case/check if …

Member Avatar for Aarowaim
0
254
Member Avatar for charlybones

Greetings. In my Console Application, I have a process that connects to a Access Database File. After closing the connection I copy the file to another folder, and delete the original. Lately this is failing a lot. For some reason the File is still being used, even if the connection …

Member Avatar for charlybones
0
234
Member Avatar for Joelx

I need to copy a certain line from a text document, this I have done by using a "key-word" in the document. My problem now is that I also want to copy the entire line below this specific line. Help is much appreciated as I am new with programming FILE …

Member Avatar for Joelx
0
177
Member Avatar for compulove

I am trying to copy the contents of a folder into another folder in another drive using XCOPY. Here is code I have now but it isn't working and I figure xcopy would be the easier way to go because MOVETO and CopyDirectory haven't been working because its copying files …

Member Avatar for bluehangook629
0
3K

The End.