199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for C++masterinneed

[code=c++] void winerys::info(winerys & wine) { ofstream outfile("page.txt"); node *temp; temp = new node; cout << "please enter date the winery went into business" << endl; cin >> temp->start; cout << "please enter the loaction of winery" << endl; cin >> temp->name; cout << "plese enter the name of winery …

Member Avatar for Ancient Dragon
0
102
Member Avatar for cesarcesar

Hi, XML novice here with another question. I need to add a XML node like, [code] <child01> <child02> <text></text> <image>image 1</image> <image>image 2</image> </child02> </child01> [/code] into this node between the ending </child01> and beginning <child01> of the [code] <child01> <child02> <text></text> <image>image 1</image> <image>image 2</image> </child02> </child01> <child01> <child02> …

Member Avatar for cesarcesar
0
92
Member Avatar for rmansuri

Hello Pythoner, I have found good website which is list of almost all python website including beginner to advance level tutorial.. Jst thought to share with community. [COLOR="Green"][URL="http://python.objectis.net"]http://python.objectis.net[/URL][/COLOR]

Member Avatar for vegaseat
0
112
Member Avatar for raziane

hi odd problem with IE and Javascript? when I open my pages using ip (and not host name) thier javascript functions and events dont fire. can any one help?

Member Avatar for raziane
0
167
Member Avatar for syaorankun

hi, a hard-working but horribly lost cs major here. i'm working on a script that does global renaming using find, awk, and sed, which has wildcard inputs. i'm wondering if there's any way to strip the asterisk from the input and save it to some variable, say $str1 or just …

Member Avatar for masijade
0
372
Member Avatar for albert.ponraj

Hi every one, I have created website project using c# .Every thing is working fine . i have to send project assembly(project.dll) to client . the problem is , inside my project folder the bin folder is not created after build the project. so i could not find project dll …

Member Avatar for albert.ponraj
0
65
Member Avatar for greeny_1984

HII, i have a column in sql srver 2000 of data type bit.I have a checkbox in my page. i want to assign bit value to the column when the check box is checked and un checked,but i am getting errors when assigning true /false to the column.

Member Avatar for greeny_1984
0
7K
Member Avatar for zprise

Hello! in a case where int a=5; if((!a)++) or (++(!a)) gives me an error message saying that the operator ++ requires l-value, but the boolian result of if (!a++) is false. If someone would be so kind to explain this!

Member Avatar for Ancient Dragon
0
152
Member Avatar for Persist01

Hi, don't ask me why but my client wants to display certain text as bold and a smiley face within a dropdown option. I don't think this is possible but wanted to check with you guys out there. In Firefox I know you can only display entire list items as …

Member Avatar for Persist01
0
79
Member Avatar for altzaportu

Well, if I introduce the date 29/01/2008 in the next code, a window appears with the message "Proyect project1.exe raised exception class EconvertError with message “2008/01/29’ is not a valid date’. Process stopped . Use Step or Run to continue." [ICODE]repeat writeln(' Introduce the day'); readln(day1); until(day1>'0')and(day1<'32'); repeat writeln(' Introduce …

Member Avatar for Duoas
0
132
Member Avatar for Texag02

I'm new here, I did a search, but couldn't find anything that fixed my problm. Just built a new P(my first build)... here's the components: Motherboard: GIGABYTE GA-MA770-DS3 AM2+/AM2 [URL="http://www.newegg.com/Product/Produc...82E16813128081"]http://www.newegg.com/Product/Produc...82E16813128081[/URL] Processor: AMD Athlon 64 X2 6400+ Windsor 3.2GHz Socket AM2 [URL="http://www.newegg.com/Product/Produc...82E16819103228"]http://www.newegg.com/Product/Produc...82E16819103228[/URL] Video Card: EVGA 512-P3-N841-A3 GeForce 8800GTS (G92) 512MB [URL="http://www.newegg.com/Product/Produc...82E16814130312"]http://www.newegg.com/Product/Produc...82E16814130312[/URL] …

Member Avatar for Texag02
0
305
Member Avatar for zawpai

Hi, Does anyone want to give me a hand? I gets a small problem in my code. I want to make the mouse pointer is disappeared while pressing 'Alt' key. Otherwise, the pointer should reappear. I use ShowCursor API to do it, but I meet the problem. If I run …

Member Avatar for zawpai
0
225
Member Avatar for Piney

what's wrong with this line? [CODE] $wiseword = <div class="left-box"><p>$quote[$rn]['quote']</p><p align="right">$quote[$rn]['auth']</p></div>;[/CODE]

Member Avatar for Piney
0
47
Member Avatar for teppuus

Hello, I wanted to post some code with line numbers and can't figure out how to do this. I searched the FAQ, and tried [list=1], but it didn't turn out right. I would hate to manually insert line numbers in my code. Can anybody help or point me in the …

Member Avatar for teppuus
0
82
Member Avatar for dani190

Hey Sorry to bug you guys again. I had one more question. As i am developing this program now i realize that i have no clue how to save the data to the database. basically the whole point in making this program was to be able to export a table …

Member Avatar for dani190
0
365
Member Avatar for ugp

I installed Apache2.2 on "C:\Apache2.2" directory, using windows installer. It works OK. (I can do these functions with out an error -> stop,start,restart) Now, i'm going to installe PHP 5.1.4 manually, which will work with Apache. I extract the content of "php-5.1.4-Win32.zip" to C: drive and rename that folder as …

Member Avatar for bgoedecke
0
372
Member Avatar for groundy

HI Guys, i am trying to develop a c++ programm, that accept a path to a .txt file from the user to read it, make it lowercase, sort it and give the output in the concole. and some other functions later... Now my problem is, that i dont know how …

Member Avatar for Ancient Dragon
0
94
Member Avatar for sgw

I'm completely new to using compilers such as Borland Turbo C++ or MS Visual C++ to create and run C++ programs. They both involve "form" and "projects". Could some kind folks tell me how exactly to create, compile and run a simple program in such environments? In other words, I …

Member Avatar for sgw
0
124
Member Avatar for CoolGamer48
Member Avatar for Ancient Dragon
0
141
Member Avatar for Racoon200

I get this error when uploading a file with the ftplib via storbinary method after retrieving a file via retr method. Why does it happen and how can I fix it?

Member Avatar for Racoon200
0
2K
Member Avatar for iamthwee

Hi, I'm using winxp with the latest version of Dev-cpp (none of that dotnet please) and I was wondering what is the easiest way to send an email. Are there any libraries I could use?

Member Avatar for iamthwee
0
328
Member Avatar for macbrutal

Private Sub Command1_Click() Dim namefile As String namefile = Text1.Text Open App.Path & "\Accounts\" + namefile + ".txt" For Output As #1 Print #1, Text1.Text Print #1, Text2.Text Print #1, Text3.Text Print #1, Text4.Text Close #1 MsgBox "Thank you for your registration, please login!" Form2.Show Form1.Hide End Sub -------------------------------------------------------------------------- That's …

Member Avatar for macbrutal
0
102
Member Avatar for Xessa

Hi people. I am new to this forum. In fact the reason why i registered here is my problems about making a JSP page work. I am using Apache-Tomcat I just wanted to test an html file. It was form.html.When i start tomcat and type ht*tp://localhost:8080/ everything works fine. But …

Member Avatar for ~s.o.s~
0
224
Member Avatar for k2k

Anybody please show how to convert a string, for example in a text doc, to an int... and then maybe add 1 and show total output. text.doc could simply contain I have 3 apple. output: 4 this is my try, i know i used atoi() incorrectly.. please show how to …

Member Avatar for iamthwee
0
271
Member Avatar for thecraigmcrae

I'd been trying to do date range comparisons all day, and found that using sql was the only way to find out if a date (inside a table) was between a range (assigned by me) I have 4 of the statements below, one for each season. [code] $strSQL = 'SELECT …

Member Avatar for Walkere
0
171
Member Avatar for iTTaleem

Hi Every one , on monday i have to submit my assignment i need ur help in this regard make a label box in vb one label box and only one and one text button okay so, when the user clicks on the next button a question should display in …

Member Avatar for hawisme000
0
101
Member Avatar for majestic0110

Hi all, just would like to ask some help as to how I would go about modifying this code I created to do the following: 1 - need user input (in password field) to be echoed back as *******. 2 - need the class to open a new class (lets …

Member Avatar for majestic0110
0
231
Member Avatar for kelvinskk

Hi, I'm using fedora core and i'm trying to write a c++ program to read the ESSID of my current wireless connection. Is there a way to do so? KiaN

Member Avatar for kelvinskk
0
122
Member Avatar for Jessyi

hello i have a project that is due in 2 days and i need help immediatly i just need the steps i have to do to solve the following: "Write a program to compute numeric grades for a course. The course records are in a file that will serve as …

Member Avatar for Ancient Dragon
0
240
Member Avatar for jarhead741

Hi, i've tried to get my quicksort to work, but i think because i have been looking at it for so long i cant see the problem with it so if someone can spot my mistake that would be great! [code=cpp]int parttition(int myArray[],int first, int last); void quicksort(int myArray[],int first, …

Member Avatar for jarhead741
0
95
Member Avatar for gallantmon1

Does anyone know how to put a whitespace or a newline in a .txt file??? By this I mean, I have this long string, and I have to put whitespaces and new lines to make it understandable. To summarize, I just want to know what functions will be effective to …

Member Avatar for gallantmon1
0
154
Member Avatar for tootypegs

Hi i use borland c++ builder as my c++ compiler. As a default option you can use a form defined as below [code] __fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { } [/code] does anyone know how to get a handle on this form, ive tried always but none with success thanks

Member Avatar for Duoas
0
301
Member Avatar for Thew

Hi, I have some problem with my application and I've tried anything possible that is possible for me. This is the code: [CODE] type DownloadCategory = class(TThread) private LibHandle: Thandle; protected //none public URL: string; procedure Start; procedure Stop; end; implementation procedure DownloadCategory.Start; var GetHTTPResponse: function (url: PChar; var resp: …

Member Avatar for Duoas
0
205
Member Avatar for matiman

Hi ppl...i'm having problems in my assignment.... what i need to do is create a bulletin-board program on ASM that does the following: I "some string" - inputs string into bulletin board D number - deletes the specific string from the board V - prints out all the string that …

Member Avatar for Salem
0
411
Member Avatar for shankhs

I am new to windows programming in visual studio(i mean visual c++) I made a C++ file to include WndProc(containing WM_PAINT,WM_DESTROY and WM_KEYDOWN),then I thought to include a class name CEventHandler store it in EventHandler.h The class definition in EventHandler.cpp and main in try.cpp,They all are part of a project …

Member Avatar for shankhs
0
2K
Member Avatar for Vai

Sorry, If i posted this incorrectly, or in the wrong place... I am just looking for help with Php Sessions... I have pasted the files and the warning I am getting... Any help would be helpful. Thank you for any help... Warning: Cannot modify header information - headers already sent …

Member Avatar for nav33n
0
119
Member Avatar for KimJack

Hello All, I am trying to double the size of an array and copy its contents to the new array. I keep getting the following errors with the following code snippet: '.class' expected not a statement Here is my code: private void cpyArray() { if(itemCount == item.length) Doll [] temp …

Member Avatar for bugmenot
0
2K
Member Avatar for stackOverflow

Hi :) I am using TurboC++ IDE 3.0. I need to open a file and display the contents of this file on the screen. My problem is simple... i need to open a file and display its contents in graphics mode.. so that i can display it using outtextxy() ...is …

Member Avatar for stackOverflow
0
322
Member Avatar for alanos206

I am trying to add users to my MySQ table "users" and for some reason I can only get one record added into the table. It tells me that the user is added but when I check the table I still only have the initial record in there. Please Help... …

Member Avatar for hooray
0
92
Member Avatar for scottholmes

I was just reading a new article in Developers Shed pn PHP 5 destructors and was struck by the technique used for coding the examples. I'm thinking primarily of the explicit use of private and public terms for declaring variables and functions. Is there any real benefit from this? Is …

Member Avatar for Walkere
0
95
Member Avatar for renaad

HI everybody: I'm renaad & i'm 21 &student of computer science . i've a problem & I despairet 4 a help: l keep having this message "fault access violation at(##) write of address" when I compile my program & i don't know why this is the code: (it's a linked …

Member Avatar for renaad
0
262
Member Avatar for slipkid

Hiya, First off, A Python conumdrum, I have done the searching to no avail. I am having trouble with the command line. Everything loads up and is recognized yet when I attempt to run a file all I get are errors. The trusty ole Hello World runs but nearly everything …

Member Avatar for slipkid
0
97
Member Avatar for gusbear

how after drawing a square with two points at opposite corner would i find the width of it?? thanks

Member Avatar for Narue
0
112
Member Avatar for venomlash

I cannot link GL Utility Toolkit (lack know-how), so I need a way using only [ICODE]gl/gl.h[/ICODE] and [ICODE]windows.h[/ICODE] to get keyboard input. Help please!

Member Avatar for zhelih
0
599
Member Avatar for ad_ms

hi people im hemamalin doing ma 4th yr in software field.. i hve gotta mini project and im wrking upon it. its dat im using java eclipse as ma software and i would like to hve basic pdf documents so dat i can learn from it, it would be kind …

Member Avatar for cjturner
0
162
Member Avatar for Yuexuan

hi i now still new for php , me now facing a problem like this How to convert this sql statement into this array SELECT SUM(RAW_AMOUNT) as TotalRawAmount, SUM(FG_AMOUNT) as TotalFGAmount, SUM(WIP) as TotalWIPAmount, UPLOAD_DATE FROM raw_fg_sum GROUP by UPLOAD_DATE"; how to store data into to this multi array UploadDate …

Member Avatar for nav33n
0
119
Member Avatar for hawisme000

my sql query is this [CODE] Set rs = conn.Execute("SELECT COUNT(Question) FROM QnE where fldChapter = 10")[/CODE] on my tble that fldChapter have a value of 1,2,3,4,5,6,7,8,10~~~~~,20 and im getting a random cell value form fldChapter HOW can i get a random cell value form 1~10 only??? pls help me …

Member Avatar for SCBWV
0
80
Member Avatar for musaka

So i have an UML diagram from wich i must define my code for my Customer class , and the start of the diagram attributes is with that -accounts : Account = new Account() , so i typed for it : private Account = new Account() accounts; and then i …

Member Avatar for javaAddict
0
110
Member Avatar for alanos206

In the following script I am logging in and it is supposed to be taking me to a page called "members.php" but all that happens is a blank screen and it doesn't appear to attempt to get to the desired page. Here is the code I'm using. Thanks for your …

Member Avatar for Walkere
0
86
Member Avatar for arkaprava

[B]I want to build a software of data modelling like [URL="http://www.dds-lite.com/"]dds lite[/URL] The 1st thing I wanna do in dis case is to make a erd editor using java , please give me some idea about the java packages and classes should be used.. please provide some tutorial about this …

Member Avatar for jwenting
0
97

The End.