199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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","") … | |
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? | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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 … | |
How would you write a begin procedure in python that would be analogous to the scheme expression. | |
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 … | |
[B]there is unclosed literal string line 7 position 219[/B] I Get This Msg When i Gonna to Add DataSource To Report ![]() | |
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 … | |
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 | |
![]() | 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 … |
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 … | |
How would you execute MySql commands found in a text file? It's really beginning to bug me! | |
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 | |
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> … | |
is there a way for me to know if a computer is idle for a certain time? using c#. thanks | |
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 … | |
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 … | |
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..... | |
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. … | |
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.. | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 | |
plz someone tell me a program to add 10 numbers using the while(condition) loop very quickly plzzzzzzzz | |
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? | |
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 … | |
hello, Can anyone tell me how to get a current path (working directory in linux), using WIN api or iostream. Thanks in advance | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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)'], … | |
i have an array that looks like this after it has been populated: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . … | |
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 … | |
i need java JRE to runa program but i cant seem to get it installed. i always get this weird error. any help? thanks | |
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, … | |
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: … |
The End.