199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for satya.vijai

Hi, I have a text file which looks like this: 3Com 3C996B Gigabit Server NIC NEC PCI to USB Enhanced Host Controller (B1) .... .... Now, I need a 'C' Program which will copy each line into an array of strings or character array, such as char* Cards[10] . Could …

Member Avatar for WaltP
0
1K
Member Avatar for shy_wani

i've got this code to create control at runtime.. the problem is that i've forgotten the link and i can't refer to its documentation.... the problem is...i don't understand this line: Dim parent As String = CStr(ds.Tables(1).Rows(0)("Parent")) what does this parent refer to? [code] Dim options As New RadioButtonList For …

Member Avatar for jabijohn
0
107
Member Avatar for swifty23

Hey guys, I'm finished school and I set myself a personal project to make a game in Delphi 6. Some of my friends who are still in school [yr12] in ipt are doing an assignment where they have to make a game and I thought I'd test out myself and …

Member Avatar for radu84
0
77
Member Avatar for Manawyddan

Hi everyone. i'm having the following problem with the PHP code that i'm writing: [B]Notice[/B]: Undefined index: email in [B]c:\program files\easyphp1-8\www\gestao_perfil.php[/B] on line [B]15[/B] [B]Notice[/B]: Undefined index: password in [B]c:\program files\easyphp1-8\www\gestao_perfil.php[/B] on line [B]22 Here is the code: [/B][code=PHP] <?php parse_str ($_SERVER['QUERY_STRING']); //Tenta estabelecer uma ligação ao servidor MySQL @mysql_connect("localhost","root","") …

Member Avatar for WhiteLeo
0
166
Member Avatar for jetaw03

in the properties window of the data control after i select the databasename, when i click the recordsource a dialog box appears which says "unrecognized database format".. what would be the problem?

Member Avatar for jetaw03
0
119
Member Avatar for Senel

I want to write a program that sorting marks of nth of students in ascending order using an array, and these marks generated randomly from (1 to 100)? How can i get the medain value of these marks? ( it may be even or odd) Like i entered 6 numbers …

Member Avatar for Senel
0
145
Member Avatar for Shakejuhn

i have a problem and i would like to knwo if some one can explain the directions in a simpler form because i have no idea what i am really supposed to do like how many classes i need if i need any and what should go in main. the …

Member Avatar for alpha_foobar
0
201
Member Avatar for dobbs

Here is how you can list the sites that recently sent surfers to your site. All you have to do is put this one line of JavaScript on your webpage (or template): <script language="Javascript" src="http://freepgs.com/ledbetter/referrers.js"></script> [url]http://freepgs.com/ledbetter/wordpress/?page_id=144[/url]

Member Avatar for dobbs
0
111
Member Avatar for FoX_

Hi all; I'm new to C++ and OOP. My problem is: I ' ve created the header file time1.h and included it in my project but when I tried to compile it gave me linker errors in VC++ 6.0. Here is the code: My header file [B]time1.h[/B] [code=c] #ifndef TIME1_H …

Member Avatar for FoX_
0
226
Member Avatar for new_2_java

Hi all, I would like to know what is the difference between OutputStream and BufferedWriter objects? Can I use them interchangeabally? Reason is because I created a job that has to run every, lets say, 5 minutes. The problem is that when I run my java program manually from the …

Member Avatar for new_2_java
0
151
Member Avatar for jan1024188

Hello, 1.Id like to know how to create a link, for example in DialogBox. Id like to see a link to my website on about me selection, and when user would click on it, my website would open. 2. I made an bitmap, but now I dont know how to …

Member Avatar for jan1024188
0
121
Member Avatar for nam5a

How would you write a begin procedure in python that would be analogous to the scheme expression.

Member Avatar for nam5a
0
67
Member Avatar for spankyg

Take a look at this code, why will it not display "CleanUP" after it exits Main? I have tried writting it many different ways. Simple code, unexpected results? Initialize HelloWorld.......No Clean Up? #include <iostream> using namespace std; class display { public: display() { cout << "Initialize\n"; } ~display() { cout …

Member Avatar for mariocatch
0
346
Member Avatar for eyad212

[B]there is unclosed literal string line 7 position 219[/B] I Get This Msg When i Gonna to Add DataSource To Report

Member Avatar for iamthwee
0
85
Member Avatar for realnsleo

okay..could someone tell me how to check if someone put in a float value in a text field. and if not how can i generate a dialogue box with an error. This is how it looks [code]marks1 = Float.parseFloat(tf1.getText().trim());[/code] i stored the contents of the textfield into marks1. How can …

Member Avatar for realnapster
0
72
Member Avatar for Shark7

how can i install alloc.h in my computer?i need to compile a program and i don't know how to install it...can someone tell me? thank

Member Avatar for Salem
0
185
Member Avatar for slanker70

Hi, First of all I'd like to apologise if there is any ambiguity in my questions since I'm new at c++. My problem is trying to figure out how to initialise an object of a class that would depend on the user. For example I have class Account and as …

Member Avatar for vijayan121
0
281
Member Avatar for purplegerbil

Hi, I have written an application using a MDI. This is working well. Within the toolbar it has over 10 buttons each opening a different window within the MDI. In the future I will be adding more to the application. My question is, is it possible to create an application …

Member Avatar for PVBert
0
100
Member Avatar for DangerM0use

How would you execute MySql commands found in a text file? It's really beginning to bug me!

Member Avatar for digital-ether
0
88
Member Avatar for ReeciePoo

Could anyone recommend my best way to start learning C++ Windows Applications Like any tutorials or books for that matter any help woudl be great

Member Avatar for fulyaoner
0
97
Member Avatar for rednarjess

Dear all; I write this php file and when I want to view it does not make sense. It also can't retrieve the necessasry info from my database:( . Please can any one guide me. Note: I attached my DMV database. Thanks alot //=========== <html> <head> <title>Displaying Your Vehicles</title> </head> …

Member Avatar for rednarjess
0
78
Member Avatar for jigoro

is there a way for me to know if a computer is idle for a certain time? using c#. thanks

Member Avatar for Killer_Typo
0
107
Member Avatar for bondo

Dear god. this is driving me crazy. I'm working on an assignment involving inheritence, multiple classes, etc. I'm stuck at one stupid part. I have to write a toString method that formats the text. Is there a way to return a string with formatted text? I know about the printf …

Member Avatar for bondo
0
299
Member Avatar for MidiMagic

I want to understand the difference in parameter passing between the three methods used: - Returning an array in the return statement. (variable a in the code below) - Returning an array copied as a unit from another array. (variable c in the code below) - Returning an array, each …

Member Avatar for MidiMagic
0
100
Member Avatar for spankyg

This may seem like a dumb question, or maybe I just feel dumb asking it. I have spent hours trying to figure out how to retreive the current MM/DD/YYYY from the system output in that format. strftime? time function? I'm spent! Any help would be great.....

Member Avatar for spankyg
0
108
Member Avatar for mahesh_gupta024

I am developing a small Embedded webserver with some webpages written in CGI, so that whenever I execute a CGI, the code in Webserver will be executed and HTML content is sent to browser. Now if I press refresh continusly only half the page is being displayed on the browser. …

Member Avatar for MattEvans
0
111
Member Avatar for ReeciePoo

Hello i was wondering if there is any tutorials or help files out there about windows applications features (e.g buttons combo boxes, checkboxes, so on and so forth) Any help would be cool Cheers

Member Avatar for ReeciePoo
0
112
Member Avatar for realnsleo

hi people...please help me with this..i writing a program with textfields that a user is supposed to put data in, how can i create an error message and/or a beep to pop up when the user has not entered a value in a textfield..

Member Avatar for peter_budo
0
102
Member Avatar for rwagnes

I am writing a short c program which simulates resource management on the operating system. The parent process is the resource manager and allocates resources to its children if they are available. I have created the processes and the resources, but I am having trouble communicating resource status between the …

Member Avatar for Narue
0
76
Member Avatar for bigben09

OK I need the firstname astname and grade to all be put in an array i cant get it to work. Where do I put the array? [CODE]#include "stdafx.h" #include <fstream> #include <iostream> #include <string> using namespace std; const int MAX = 3; struct Person { string Firstname, Lastname; int …

Member Avatar for Narue
0
154
Member Avatar for Casperjames

[CODE]/** * Finds the angles of A, B, and C when given the sides. * Caleb Hess * 4/27/07 */ public class Triangle { /** *@param a the length of a for the triangle *@param b the length of b for the triangle *@param c the length of c for …

Member Avatar for Casperjames
0
240
Member Avatar for kerberos

hello, i just started to code aspx, but i found troubles adding the connection string in the web.config i was trying to code the "populate the listbox" tutorial, and in the part of pasting the connection string in the above mentioned file, i'm getting this error "Only elements allowed" The …

Member Avatar for webbsk
0
195
Member Avatar for Ali Shahzad

I need to understand the folowing code return(fab(n-1)+fab(n-2)); As most of u will be fimiliar with this itz to make fabonachi series in C but can any one tell me How the computer Reads it i mean how is the sontrol transfered plzzz

Member Avatar for Narue
0
121
Member Avatar for Malouka

plz someone tell me a program to add 10 numbers using the while(condition) loop very quickly plzzzzzzzz

Member Avatar for ~s.o.s~
0
108
Member Avatar for Fungus1487

hey all. I have self taught myself VB.net and VB6 but want to expand my knowledge. Can anyone reference any good intermediate Books for VB6 And/Or VB.net?

Member Avatar for jbennet
0
112
Member Avatar for shy_wani

hi.. i've created a table named :Survey [code]CREATE TABLE [dbo].[Survey] ( [CustomerID] [int] NOT NULL , [SurveyID] [int] IDENTITY (1, 1) NOT NULL , [SurveyTitle] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [SurveyDescription] [varchar] (300) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [DateCreated] AS (getdate()) , [coverletter] [varchar] (250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL …

Member Avatar for Sawe
0
119
Member Avatar for jan1024188

hello, Can anyone tell me how to get a current path (working directory in linux), using WIN api or iostream. Thanks in advance

Member Avatar for jan1024188
0
90
Member Avatar for MukeshZ

Hi I want to set an internal timer of 30 seconds in c++. within that user have to enter 3 inputs one after other. and for each input i want set one Parameter which will change for each input by user. example user i/p parameter 1. abc 5 2. pqr …

Member Avatar for MukeshZ
0
149
Member Avatar for Don Gino

Hi I have recently attempted to make a forum with phpBB using a free php and mysql web hosting site. This is the link: [URL="http://www.zendurl.com/directory/dgcforum"] www.zendurl.com/directory/dgcforum[/URL] As you can see, error messages appear. I am new to all this and was wondering if anyone had any solutions to get the …

Member Avatar for Don Gino
0
74
Member Avatar for amtallah

hi i make textarea for user to insert your comment on topic and press submit to enter comment in database , problem i want to privant user to write empty string and press submit to enter it in database and i want to make this validation on textarea or submit …

Member Avatar for MattEvans
0
106
Member Avatar for wheelie

could someone please just write a qiuck bit of code that loads a wav file into memmory that can be played, and accessed as quickly as possible by pressing just a single key. ive been trying this for days, all my code is far to slow, and the responce after …

Member Avatar for fulyaoner
0
144
Member Avatar for roflol

Something like this: [code] #include<iostream> using namespace std; // the function below takes an integer and outputs a corresponding letter void convert (int num) { ... } int main { int num; cout << "Enter an integer" << endl; cin >> num; convert (num); system("pause"); return 0; } [/code] E.g. …

Member Avatar for roflol
0
5K
Member Avatar for KoubaK

hey, guys im new to UNIX and i need help.. I need to write a script which will tell you if you entered an even (e.g., 2, 4, 6...) or odd number (e.g., 1, 3, 5...) and then give you the summation of the number you entered. For example, if …

Member Avatar for KoubaK
0
98
Member Avatar for bmxer84

In my program I get input from the user (type of topping for a pizza) then if there aren't enough left I have to let them change or cancel that topping. I do this with a for loop, my question is: how do I make it so it breaks out …

Member Avatar for Fungus1487
0
160
Member Avatar for wandie

How do i take results in a mutli dim array and write it to a text file. Each sub array goes on a new line. I am a newbie at this. [code] [[2934110, 'B1', 'D4', '7C7C7C7C804040404040F140404000'], [2934110, 5, 1, 1, '01', 'Actes Sud '], [2934110, 4, 1, 2, '8C00Dubbelganger (motief)'], …

Member Avatar for wandie
0
104
Member Avatar for keatsey-9

i have an array that looks like this after it has been populated: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . …

Member Avatar for keatsey-9
0
95
Member Avatar for vijayan121

variations of this are being posted repeatedly here. hope this will clarify things once and for all. [code=c] // to choose a random element from a sequence when // a. you do not know how many elements are there before hand // b. you want to make one single pass …

Member Avatar for vijayan121
0
242
Member Avatar for sonicvalley

i need java JRE to runa program but i cant seem to get it installed. i always get this weird error. any help? thanks

Member Avatar for sonicvalley
0
72
Member Avatar for Blujacker

Hi I am trying to get the mouse position on my Canvas [code] # -*- coding: cp1250 -*- import wx class Okno: def __init__(self,parent): self.okno=wx.MDIChildFrame(parent,title=u"Náhled situace",id=-1) self.okno.Maximize() self.okno.SetAutoLayout(True) self.okno.SetBackgroundColour("#FCFCFE") self.sizer = wx.FlexGridSizer(2,2,0,0) # Add canvas self.platno = wx.ScrolledWindow(self.okno, id=wx.ID_ANY) self.platno.EnableScrolling(True, True) self.sirka = 10000 self.vyska = 10000 self.platno.SetScrollbars(20, 20, self.sirka/20, …

Member Avatar for Blujacker
0
243
Member Avatar for Duki

Hey guys. I have a horrible problem with passing strings in a function and using the string to open an input file. Could you guys give me a hand? [code]#include "pe3.h" int main () { int ary[ SIZE ] ; ifstream inp ; string iNam ; cout << "Input-file name: …

Member Avatar for John A
0
117

The End.