199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Kumal

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 …

Member Avatar for WolfPack
0
154
Member Avatar for enampwd
Member Avatar for enampwd
0
78
Member Avatar for joydeep1

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 …

Member Avatar for joydeep1
0
106
Member Avatar for deadprogrammer

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.

Member Avatar for WolfPack
0
167
Member Avatar for wani_raj
Member Avatar for vinodbhaskar

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 …

Member Avatar for vinodbhaskar
0
324
Member Avatar for pineapple

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 …

Member Avatar for DaSogo
0
153
Member Avatar for tejuarora

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

Member Avatar for alc6379
0
78
Member Avatar for tejuarora

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

Member Avatar for alc6379
0
91
Member Avatar for LiveWire

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 …

Member Avatar for digital-ether
0
171
Member Avatar for rehmankhan

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.

Member Avatar for rehmankhan
0
111
Member Avatar for Munoz

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(); …

Member Avatar for Paladine
0
160
Member Avatar for blacklocist

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 …

Member Avatar for Paladine
0
198
Member Avatar for lexaTW

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 …

Member Avatar for edu.quest
0
207
Member Avatar for sgriffiths

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

Member Avatar for sgriffiths
0
163
Member Avatar for Fenerbahce

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

Member Avatar for Fenerbahce
0
108
Member Avatar for crawf

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 …

Member Avatar for crawf
0
121
Member Avatar for JohnJohnUSA

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

Member Avatar for a1eio
0
169
Member Avatar for CyberVirus

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.

Member Avatar for arnab0034
0
134
Member Avatar for ostkaka

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 …

Member Avatar for dilip.mathews
0
79
Member Avatar for Adzz

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 …

Member Avatar for Adzz
0
108
Member Avatar for FireNet

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 …

Member Avatar for FireNet
0
539
Member Avatar for dilip.mathews

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

Member Avatar for dilip.mathews
0
170
Member Avatar for John Brown

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 …

Member Avatar for digital-ether
0
58
Member Avatar for uxohus2b

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

Member Avatar for uxohus2b
0
105
Member Avatar for mikeandike22

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

Member Avatar for mikeandike22
0
77
Member Avatar for aeroguy
Member Avatar for nolnet
0
222
Member Avatar for Ene Uran

Does Python have a module to display when a file has been last modified? Also, how do you get the file length?

Member Avatar for bumsfeld
0
671
Member Avatar for msaenz

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

Member Avatar for bumsfeld
0
81
Member Avatar for zidane28

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 …

Member Avatar for WolfPack
0
148
Member Avatar for leb

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?

Member Avatar for Jayzilla
0
108
Member Avatar for zidane28

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 …

Member Avatar for zidane28
0
121
Member Avatar for omesa

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 …

Member Avatar for Dani
0
99
Member Avatar for HostChart

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 …

Member Avatar for damonledet
0
75
Member Avatar for b.janahi

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 …

Member Avatar for b.janahi
0
111
Member Avatar for TuoPohc

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 …

Member Avatar for TuoPohc
0
92
Member Avatar for robertlees

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.

Member Avatar for robertlees
0
672
Member Avatar for ljungmichel

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

Member Avatar for ljungmichel
0
171
Member Avatar for timzukas

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 …

Member Avatar for Comatose
0
243
Member Avatar for shalini_roy
Member Avatar for lalit2512

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

Member Avatar for jwenting
0
66
Member Avatar for praveenmanchu
Member Avatar for vbnewbie

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

Member Avatar for williamrojas78
0
76
Member Avatar for ninnay

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 …

Member Avatar for ninnay
0
104
Member Avatar for amethystglow

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 …

Member Avatar for Salem
0
145
Member Avatar for julesjacobs

What is the best way to create/call procedures? Which argument-passing-styles are available? Thanks in advance, Jules

Member Avatar for julesjacobs
0
115
Member Avatar for rags

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 …

Member Avatar for jim mcnamara
0
423
Member Avatar for ayajhane_dhagz

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

Member Avatar for noppid
0
215
Member Avatar for dev.cplusplus

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 …

Member Avatar for dev.cplusplus
0
307
Member Avatar for Sannn

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 …

Member Avatar for Sannn
0
96

The End.