199,114 Archived Topics
Remove Filter ![]() | |
[CODE]#include<fstream.h> #include<conio.h> void main() { int iSize,iChoice,iDelete,iMem={1024}; clrscr(); cout << "Brand New Flash Drive\n"; cout << "Message: Free Space: " << iMem << ""; getch(); clrscr(); while(iChoice!=8) { cout << "\n"; cout << "[1] Format Flash Drive\n"; cout << "[2] Copy File\n"; cout << "[3] Delete File\n"; cout << "[4] … | |
hi to all, I want to ask about GUID. what is the main use of GUID in our database. I have seen that many developers uses GUID in user table(contains username and password) and they update GUID of that user each time when user login. In asp.net I have created … | |
Hi DaniWeb team, Did any one knows the installion step about the open fire server.I want to configure it in to my Mysql database. Thank you. Premnath.M | |
Hi all, So I'm trying to do this checksum problem for my C programming class but im running into some difficulty. My output is supposed to be this: Line: This is short. Checksum: 2 Line: The quick brown fox jumped over the lazy dog. Checksum: = Line: A. Checksum: O … | |
Hi I have two classes the first inherits the second which should retrieve records of a table found in an oracle database as a jtable but it display table header only! can anyone help me to know the problem please ? [code] import java.sql.*; import java.util.*; import javax.swing.table.*; public class … | |
I'm trying to make an .aspx page which would allow me to change values in the database. It has a datagrid which shows everything from one database table, and allows me to edit the data row by row. Everything goes smoothly as anything, but when I try i update the … | |
I wrote a program that has to process any files that are put in a specified folder. I would like to keep track of those threads, though, preferably via some sort of process id or something. is there any way that I can get a list of the threads that … | |
i want to know if i can access a microsoft access database remotely,if i have dynamic ip address but if i register in dyndns that gives me a domain name by updating my dynamic ip address each time i connect to internet.pls give me a sample only how can i … | |
I have a quesion about using the timer1 function. I am a complete virgin when it comes to programming, so please be kind. I have a project that is using an NCD relay controller to control linear actuators. I want one relay to turn on and then stay on for … | |
Hi , I have one buffer size is 50 bytes and reading 50 byte data from file unsigned char bufffer[50]; read(fd,buffer,50); // Consider each byte numerical is value is zero. printf("@@%s@@",buffer); // Here i will get @@@@ only. But I want @@(50 zero)@@ as output(i have to use %c or … | |
Hello friends, I am making Bug Tracking System project, which is intranet base project in JSP. I want to use e-mail facility using JAVAMAIL APIs. How can I use it? What i need? I am new in JSPs., and dont know about JavaBeans. How to install STMP server n configure … | |
hi, I dont know how to use bubble sort or heap or whatever else there is. what im trying to do is sort a list of number and delete the repeats. So the user types in how many numbers they want to enter, and then types in the numbers. ex. … | |
I am new to this website and was looking for some help .I am currently having trouble because I need to take the function generateOutput and have it display three random messages: Excellent, Good Job, and Very Good. Attached is the .cpp file | |
I'm having trouble with this code, I want to make the answer in (^)and(*) Example : Enter number : 8 Prime factors of '8' : 2^3 Enter number : 56 Prime factors of '56' : 2^3*7 Please help me with this, Thanks![code]#include <stdio.h> /* Find out the prime factors * … | |
i need to copy many files with same date from a folder which contains a lot of files to another folder ? | |
I'm having trouble making a variable argument function for my class. When I gcc it, its giving me these errors: my_printf.c: In function `print_str': my_printf.c:14: error: syntax error before '{' token my_printf.c:20: error: syntax error before "__builtin_stdarg_start" here's a code snippet: [CODE]#include <stdio.h> #include <stdarg.h> #include "my_io.h" // ASCII definitions … | |
Hey there, I have written some code to draw a grid on a canvas but the code is far to long.. so I was wondering what the most efficient way to write my code would be. [CODE] self._canvas = Canvas(self, width = 450, height = 450, bg ='white', highlightthickness = … | |
Hi there, I’m very new to ColdFusion and I’m still going through the learning process. I have a report to create in CF and I don’t know how to start: I have three tables in 2 databases: tblEmployeID with EMPLOYEEID, EMPNAME, MGRName (this is in SQL 2000) tblCategories with CODEID, … | |
Hi i am trying to display on the web browser to allow user to see information before the latest data is been updated. Hence, it will show: [B](1)previous existing data, (2)latest data and (3)data which is not found on the latest data list[/B]. To make things clear to solve the … | |
Hiya! Nice place you have here :) I would like to set up sms text jokes for my website. I hope I'm asking the right thing?! I want members to be able to send text jokes to their friends. Nirvana would be if they could send text, pics/video, and mp3. … | |
Hi, I am trying to pass query string from one page to popup window as follow: [CODE]Dim popupScript As String = "window.open('cFinder.aspx?cName=" & c_TextBox.Text & "','', 'width=420,height=200,menubar=no,scrollbars=yes');" If (Not Page.ClientScript.IsStartupScriptRegistered("popup")) Then Page.ClientScript.RegisterStartupScript(Me.GetType(), "popup", popupScript, True) End If[/CODE] The popup window comes up very well only if the text I typed … | |
I really do believe that I’m not asking a good question, but I’m new newbie When I’m programming for example I try to use the contain method for finding a value in the dictionary data type: I cud do it in my mind by two way: dict.Values.Contains(str)(however I had an … | |
Hi, I recently downloaded the GMP library, and I am completely lost in building it. I tried building it, but it just doesn't want to work for me. I want to build the C++ wrapper. BTW, I have never built a library before, so please excuse any of my stupidity … | |
Hi guys, when I was working on this game for school I ran into a weird linker error, LNK2019. It bugs me to no avail, so hopefully you guys can help me. It seems to be a problem with the string pas. I submitted alternate values for where they would … | |
Hi guys, ive never visit this forum..this is my 1st time here...i think this is the most suitable forum to my problem.all peoples here is talented about algorithm. want to discuss with u guys and begging your opinion or suggestion to solve my problem. i have this input input[0]={0,1,2,3} input[1]={0,1,2} … | |
The following registry key contains many system default folder locations. HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders The value for the path of the All Users desktop, which is found there, is as follows: XP or earlier : %ALLUSERSPROFILE%\Desktop Vista or later: %PUBLIC%\Desktop Whereas the actual paths of the All User desktops, respectively, are … | |
is it important to close a file thats been opened with FileWriter? if yes how come?? | |
Hi, I have created a class which is a "font searcher" the idea being that it will detect the font required for a given string in any language by getting each available font's unicode range(s) and comparing those ranges to the ones found in the string. This is working perfectly … | |
This year, STLP has added an Iphone App competition that I am interested in. However, I know little to nothing about creating one and could use any help, references, tutorials, etc. you have. Are there any sites or programs that I could use/need to make an Iphone App? [B]Note:[/B] Being … | |
How to display drop down list item based on value from other column in gridview during editing. My gridview have many column and are editable. User can edit data that was displayed in the gridview by click the "Edit" button. In EditItemTemplate, i have put a few drop down list. … | |
Good day guys! I just want a little help about recordset navigation to act when i click Previous and Next button. I have created the navigation code but it jumps the records on a table..My code below. [code=vb] '==========================In class module(clsCheque_Navigation)======================== Option Explicit Private Nav_chkno As String 'Store current page … | |
hello dear developers. hi. i have developed a c# application, it requires a username and a password for login to the application. but the passwords which users provide store in the database in plaintext. so i want them to be encrypted when stored in database and decrypted when matched at … | |
I have a page with a lot of data validation on it (for a form). But the validation is not actually executed until the user hits Submit. The page loads really slow. Is there a way to control how a page loads so that, as I suspect, the validation Javascript … | |
hey guys/gals. how do i save to a file the data that is printed by this program i wrote. I have the code to do this in the createFile function but i am unsure in how to output what was printed. Any suggestions? [CODE]//class member functions #include "experiment.h" Experiment::Experiment() { … | |
![]() | Hello. I am writing a program with some dynamic arrays of pointers to objects (not arrays of objects). Since there will be A LOT of tacking on new objects to the arrays, for the purposes of efficiency, I am implementing an algorithm to fill up a buffer array first and … ![]() |
I test vBadvanced CMPS, on a V3.6.5 of vBulletin, with the "[URL="http://www.daniweb.com/techtalkforums/thread35147.html"]The quick 'n' dirty ultra simple vBulletin SEO hack[/URL] " hack writed by cscgal. The forums are on the dir: /forum The url's are correctly rewrited in the dir /forum, but, on the root path: / where is the … | |
Hello Everybody, I have a small doubt regarding how we can call constructors in a C++ class [CODE]class test { public: test() { cout<<"In test\n"; } }; int main() { test t1; test t2(); // This call does not give compile time error but does not call the constructor cin.get(); … | |
I am splitting the label file path into an array as shown below. When I run the program, I get the error indicated at bottom of this page, Can anyone tell me how to avoid making this error. Thanks Dim arrFilename() As String = Split(lblFilePath.Text, "\") arrFilename.Reverse(arrFilename) Error 1 Access … | |
Hi I found this example on about.com . I understand most of this, but one part is giving me problems in genral. I tried classes before, and it did not go over so well. But since this is someone else code, it might be better than mine :). Thanks [CODE] … | |
Hello I am developing a module / script that gets information stored about user nodes in the drupal database and sends it to our Salesforce lead generation form. So I am pretty new to this and have a couple of questions that I think the community might be able to … | |
Newbie. Sorry for lame question. I want to use each bit in an int (binary number) as a boolean. In essence (this is c"ish" pseudocode): [CODE] bitVal = 0x01F; // 32-bit value for(i=0; i <LIST_SIZE; i++){ if(bitVal[i] == 1) printf(List[i]) }[/CODE] So, for Python, I just need to know how … | |
hi, I found on the net that to make a query one needs to create a dataset. therefore i have created a datatable to this dataset with 3 columns into into. Now i have created a query to display the information according to the query. the problem is that i … | |
Hi, i'm new to C++ and i understand someone else has asked this question on this forum before. I read the replies but still don't know how to resolve my error. gcc version is 4.2.2. The linker error i encountered is build_products/shared/x86/sgos_native/debug/gcc_v4.4.2/ced.o: In function `CEA_Disk_lister::CEA_Disk_lister(CEA_Disk*)': ced.cpp:(.text._ZN15CEA_Disk_listerC1EP8CEA_Disk[_ZN15CEA_Disk_listerC1EP8CEA_Disk]+0x25): undefined reference to `vtable … | |
how can i make this code more efficient (e.g less code inside the loop)? [CODE]loop: beq $a0, $a1, exit slt $t0, $a0, $a1 bne $t0, $zero, label sub $a0, $a0, $a1 j loop label: sub $a1, $a1, $a0 j loop exit: add $v0, $zero, $a0 [/CODE] thanx | |
This code was in discussion of getting numeric input to Python. This function returns the zero-stripped, normalized string form the input string if it is correct, False truth value otherwise (it can not be mixed with number 0 as accepted '0' are returned as string '0'). If string passes the … | |
I'm trying to develop a drupal module to return json from the citysearch api. I can successfully construct the url and I can use the url to open a new window and display the returned json data, thus: [CODE]testwindow= window.open (URL, "mywindow", "location=1,status=1,scrollbars=1,width=100,height=100");[/CODE] however, my attempt to try this with … | |
i'm new here and i have a question regarding pointers that is here You are required to write a program that takes a phone number as input from the user and stores it as a string value. The phone number will consist of country code, city code and actual 7-digit … | |
I need to put a digital (or analogic) clock in a pygtk window with a exit button. I was looking a example with Tkinter but I do not know how to integrate in a pygtk window [ICODE] from Tkinter import * import time root = Tk() time1 = '' clock … | |
Hi All, I need help with adding and deleting nodes(parent nodes) and subnodes(child nodes) in a TreeView. I have a form with a TreeView control that is pre-populated with two parent nodes (named "Finances" and "Personal")both containing two child nodes each when the form is loaded. I would like to … |
The End.