199,113 Archived Topics
Remove Filter ![]() | |
I can't seem to use the 'cin.get' statement for getting character arrays. I've just switched to VC++ Express, from Dev-Cpp, which allowed that. I have tried other methods like declaring the variable with 'string' but the compiler doesn't recognise it even with the <string> header. [code] void encrypt() { string … | |
I am looking for a search engine in PERL. Is there any open source version? | |
I am trying to prepare a database using C,which can store data and from which data can be retrieved and edited. [B]First storing,then retrieving data from the file works.But,during first run of the prog if choice#2(i.e.,DISPLAY)is entered without entering any data using choice#1(although the file contains data),then error occurs,gets hung.A … | |
Hi everyone I am really having trouble right now with oracle for linux. Please tell me how to connect oracle using c/c++ in linux. If anyone knows about any tutorial or have code, please plzzz post me that as well. | |
Dears, How do I set automatic emailing from my site. I have to get a report from my web site which is to be automatically mailed to my inbox from my website. I have written the reports in PHP and MySQL. My webserver is in Linux. Is there any function … | |
Hey there. I have working code that reads in a text file into a 2d array. The text file holds symbols that make up a map for a game. I'm trying to assign each of the symbols (like ^, for a mountain) to an object, and store those in the … ![]() | |
[COLOR=black][COLOR=black]Your company has developed a message board system that is being used by hundreds of web sites. The licensing model gives away the software for free but produces recurring revenue by charging ten cents per unique user that posts on the board. You have been tasked with developing a billing … | |
[COLOR=black]Your cell phone provider bills you for minutes consumed per month. The billing rate per minute varies by time of day. The cell phone company rounds usage to the nearest N where N is dependent upon the time of day. Write a C# method based upon the following signature that … | |
Hey guys, I thought I figured it out but I didn't. I decided to create an admimated gif of what I'm looking to do. Could someone help me out and get me going in the right direction? A Basic HTML code would be great as I know really nothing about … | |
Please help me here. I am having problem in solving my home work problem in C++. I have attached my home work in a word doucment here. My home work is due on July 13th. I will be thankful. Thanks a lot. | |
I am trying to Edit a Sql Row with the values of my textboxes. This is what I have. Can someone point me in the right direction? conn.Open(); SqlCommand command = [COLOR=#0000ff]new[/COLOR] SqlCommand(sqlString,conn); SqlDataReader myDataReader = command.ExecuteReader(); [COLOR=#0000ff]if[/COLOR](myDataReader.HasRows) { [COLOR=#0000ff]while[/COLOR] (myDataReader.Read()) { MarketName.Text=myDataReader["FileName"].ToString(); [COLOR=#008000]//HopName.Text=myDataReader["HopName"].ToString(); [/COLOR]SiteA.Text=myDataReader["SiteAName"].ToString(); SiteB.Text=myDataReader["SiteBName"].ToString(); ASRA.Text=myDataReader["ASRa"].ToString(); ASRB.Text=myDataReader["ASRb"].ToString(); GElevationA.Text=myDataReader["GroundElevA"].ToString(); GElevationB.Text=myDataReader["GroundElevB"].ToString(); … | |
Hi all, I am having a wee bit trouble with with the SQL Command Builder. It does not build anything but frustration. From all the books I have read and everything this is how you go about updating changes from dataset or datatable without writing your own updating logic. Build … | |
Somebody! Please help to start. I didn't work for couple of years and now I found myself lost. It looks like Microsoft changed their subscription packages. What do I need to order or subscribe to get C#.NET, VB.NET, ASP.NET, ADO.NET ??? Visual Studio .NET Enterprise Architect Visual Studio .NET Enterprise … | |
Hello I am trying to write data to a file. When writing "STEPHEN", only STEP is written, can anyone help? below is my code fp = fopen(filename, "rb+" ); fseek(fp, final_seek_pos, SEEK_SET ); fwrite(update_record, sizeof(update_record),1 ,fp ); fclose(fp); | |
hi, how can i find out that what number of record(row) my cursor focused on in database? thanks label1.text= active row`s number ????? example : [code] [COLOR=#0000ff]Dim[/COLOR][COLOR=#000000] baglanti [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#0000ff]New[/COLOR][COLOR=#000000] SqlClient.SqlConnection()[/COLOR] [COLOR=#0000ff]Dim[/COLOR] command [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] SqlClient.SqlCommand() [COLOR=#0000ff]Dim[/COLOR] kisiler [COLOR=#0000ff]As[/COLOR] SqlClient.SqlDataReader baglanti.ConnectionString = [COLOR=#800000]"data source=instance2000;"[/COLOR] & [COLOR=#800000]"initial catalog=dbf;"[/COLOR] & [COLOR=#800000]"integrated security= SSPI" … | |
Hi all, I'm making a applet, about a users reaction time for when a coloured square changes colour... Ive seemed to get something off to a bit of a start, but its very basic at the moment, and i would just like to ask for a bit of assistance or … | |
I ran the following program to retrieve entries from the windows registry on Windows XP: [code] import win32api, win32con aReg = win32api.RegConnectRegistry(None, win32con.HKEY_CURRENT_USER) aKey = win32api.RegOpenKeyEx(aReg, r"Software\Microsoft\Internet Explorer\PageSetup") for i in range(100): Name, [URL="http://www.tek-tips.com/viewthread.cfm?qid=1249756&page=1#"]Data[/URL], Type = win32api.RegEnumValue(aKey, i) print "Index=(", i,") Name=[", Name,"] Data=[",Data,"] Type=[",Type,"]" win32api.RegCloseKey(aKey) [/code] Program output: [quote] … | |
hello I am new to sql and database design. I am looking for to learn diffrent ways of designing them and making them efficent. any tips or hints will be appreciated. Thank You All. | |
I have just started with a tutorial in c++ and i wonder if anyone can tell me what´s wrong with this code [code]#include <iostream> using namespace std; //so the program can see cout and end1 int main() { for (int x = 0; x < 10; x++) { cout<< x … | |
I have to create a number of controls equal to a number entered in a textbox by the user. I created a web user control, which has a radio button list. Then when the user press a Submit button, I want to check the selected values of the controls created … | |
K, It's fairly easy to use a ostringstream object or a derived class to output text like a normal stream class like cout. Eg. [code] class console: public ostringstream { public: void Render() { std::string buff = ostringstream::str(); //Some code to put it to screen //Write it to a file … | |
Hi, I am bit confused with the concept of pointer to a data member of a class. In the below program what actually will the pointer variable be storing? When i tried printing the value of address I got value 1, Whatt does it mean? [COLOR=blue]class A{ public: int d; … | |
I had a website on a server. I have now moved it to my PC using Wamp5 installation. However pages using input boxes are not working. Instead of a blank input box, the php code is visible!! I know php is available on the page as calling phpinfo() loads it … | |
Hi, Could someone tell me how I can delete files using a shell script or c++? The condition for deleting files: compare all files (say *.deb files) in folder A to those in folder B. If any file in B is also contained A, then delete the one in B. … | |
im trying to creat an email form with php here is wat I have and it isnt working [PHP]<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Jacob Sherman</title> <link rel="stylesheet" href="content.css" type="text/css" /> </head> <body> <form action="" method="post" enctype="text/plain"> <table border="0" cellspacing="0" cellpadding="4" width="90%"> … | |
Is there a mod, that allows you to show recent posts on a non vbulletin page? | |
Does Python have a module to display when a file has been last modified? Also, how do you get the file length? | |
Hi everyone, I am doing a bioinformatics project and I have this code: [code]def three2one(prot): code = {"G" : "6", "A" : "7", "L" : "1", "I" : "4", "R" : "2", "K" : "3", "M" : "5", "C" : "8", "Y" : "9", "T" : "10", "P" : "11", … | |
Help!!!!! I'm sorry to ask for help again but...... This question even difficult than the previous one..... Please write C++ code for the following algorithm: 1) Store first memory location of program into base register 2) Set program counter equal to address of first memory location 3) Load instruction of … | |
I need help with my python project. I am supposed to draw something "cool" that includes loops, variables, if-statements, modules, etc. Some ideas given are to draw snails, constellations, a face, daffodils, etc. Anyone help please? | |
Halo....I'm new here...... Can somebody help me with this question? Its a assignment but I REALLY DON HAV ANY IDEA HOW TO DO IT!!!! So....Plz help...... Write C++ code for the following algorithm: 1) Determine job's reqeusted memory size 2) if job_size>size_of_large_partition then reject job print appropriate message Go to … | |
Hello everyone. I need to put a drop dropdown menu on items(such as a category)that is pulled from a database. I have used php+ mysql to pull the data. Can anyone tell me if I can include javascript so that when the mouse is over tha item and/or category, a … | |
I need some help. I have a cold fusion site that uses a common header that is included in every file. In this header is the page title. This means every page has the same title. I took the code from the header file and replace it where the include … | |
hello, i'm trying to run a progrm written in perl this is the code i wrote perl aramorph.pl <infile> outfile where aramorph is a notpad file with my code saved in c:\perlscripts infile is the file that should be read from outfile ................................wirte the output to. both saved in c:\perlscripts … | |
I'm not going to post the code on this one just incase it's a little confusing. But here's the jist: I have a couple of nested loops with multiple (var)++'s inside as counters. Each counter resets itself after reaching 25 and the total of the counters much equal 120 in … | |
I have a 5 column flexgrid. I want the user to click a column and get the grid sorted by that column. Works fine for non-date collumns. For date columns, I firstly loop through all rows changing them from dd/mm/yy to yy/mm/dd. But the sort doesn't do anything. | |
ive been searching through at least 5 different forums on various sites (including this one) and i still cant understand why i'm getting the error message illegal start of expression at [code]public static overallNumGrade(int quiz1, int quiz2, int quiz3)[/code] here is the full program: [code]import java.util.scanner; public class Jungmichel3 { … | |
I am using VB6 to poke data into Word 2002. Even when I open Word minimized, it maximizes when the poke executes. I can can execute a word macro to minimize word again, but it maximizes on the next poke. I have tried turning word screen updating off before the … | |
how do i add items to a combobox from a listbox that is in another form?? | |
Hi, can anyone hel me how to connect to database in struts? I am using Oracle DB of personal pc. Tomcat 5.0 and struts 1.2.9 thanks lalit | |
plz suggest some good books for servlets and jsps and struts | |
I am attempting to populate a listbox with data from a table and don't have the methods .dataValueField or .dataTextField or .DataBind in my selection menu. Can anybody help me understand why? ex. lstServices.DataValueField = "item#" | |
hello friends .i am troubled in to carry the tables in one computer to another computer. i want information about that: i did the project in VB with back end Oracle. i want to carry tables to another system. i dont know how to carry the tables to another system … | |
Given a set of data (two columns of data, flight path angles and lift coefficients) in a separate file, I need to write a program so the user can input a flight path angle and the program will return the appropriate lift coefficient given (if their angle matches one in … | |
What is the best way to create/call procedures? Which argument-passing-styles are available? Thanks in advance, Jules | |
I am working as a java programmer and have no experience writing shell scripts or prior experience in UNIX...I would appreciate if someone helps me write a Shell script that: a) Runs from one machine. b) ssh into all of the other machines. c) Collect the cpu% usage from each … | |
can javascript merge with php?...if so,how can we implement it... i had a hard time searching on that problem.... i made experiments but it doesn't work...hehe;) | |
Explination: Ever notice how the URLs of search engines and other sites are cluttered with % symbols and other numbers? This is known as URI encoding, which is simply % signs followed by nonalphanumeric characters that have been converted to their hexadecimal values Hi to all, I have the following … | |
Hi, I'm not sure if there's another topic about this but couldnt find it with the searchoption.. I'm creating an app which uses a cardreader, it works perfectly.. but now i have to let the app run in the background, but the cardreader still has to work, when a card … |
The End.