199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for veledrom

Hi, I created a XML file and trying to write into it. It does write but, without the values from database. For example code below writes only <Title></Title> without the value. It should be <Title>My name</Title>. I do echo and the variable is full. Value [code] ........ $xmlFileName="test.xml"; $process=fopen($xmlFileName, 'w'); …

Member Avatar for veledrom
0
81
Member Avatar for serkan sendur
Member Avatar for serkan sendur
0
78
Member Avatar for AutoC

Hi, I've got a program that I wish to run in a powerful server so that it can run on several cores simultaneously and work faster.I need to do client server programming for this.That is, I recieve input in my local system which I forward to the server, it does …

Member Avatar for AHUazhu
0
286
Member Avatar for tori10

i have started writing a program to do a fast sort but on one of my builds an error is coming up and i don't know what exactly it means could you please help. [CODE] int main(void){ char c[k]; cout<<"Please enter the input filename:"<<endl; // read in the input and …

Member Avatar for ddanbe
0
127
Member Avatar for q8y_4u

hi guy's , iam a new member i got stuck with my c++ assigment. i really want's your help the program reads in a series of student data sets from the keyboard, stores them in an ordered linked list of records, supports editing an existing record, and displays a summary …

Member Avatar for AHUazhu
0
205
Member Avatar for l_03

help guyz...our teacher recommend us to download the "source code" of eclipse. jcreator, net beans, and bluej,,, i am either confused,,,,what are the source codes of this four????are these the .java file???help guyzz,.....i cant seem to find their source codes since i dont even get the idea of what are …

Member Avatar for jbennet
0
119
Member Avatar for robgeek

Hi, I declared and implemented a print() function in a class. But when I call this function it is giving me an error: which says that function does not take 0 arguments. But what should my arguments be. I have posted the part of the code for more specification. Thanks. …

Member Avatar for AHUazhu
0
178
Member Avatar for puneetkay

Hello everyone, Im trying to write Punjabi (Gurmukhi) by Unicode. I have the Unicode code point of all character and Code Block is Gurmukhi. [CODE=java]System.out.prinln("\u0A73")[/CODE] u0A73 = GURMUKHI URA = ੳ but its showing "?". then i tried with PrintStream [CODE=java]String unicodeMessage = "\u0A73"; try { PrintStream output = new …

Member Avatar for puneetkay
0
288
Member Avatar for sowmyav

Hi , I have a VB program.I would like to convert the VB program to .exe file so that if i want to execute the vb program, I need to just double click on the .exe program.Hope this is clear. I am new to VB so will be good if …

Member Avatar for ryan311
0
116
Member Avatar for cplspls

I am kind of a neophite and I need your help in the following; How do you right justify the field output in the <iostream> headerfile and how would one determine the compiler one is using/

Member Avatar for cplspls
0
96
Member Avatar for firoz.raj
Member Avatar for Pgmer

Hi all in my appliction i want to send the document through mail i.e: outlook here is my code Dim myWS As Object Dim RegKey As String Dim Key As String Key = "HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\" 'access Windows scripting myWS = CreateObject("WScript.Shell") 'read key from registry RegKey = myWS.RegRead(Key) If RegKey = …

Member Avatar for Pgmer
0
1K
Member Avatar for goodluck4287

Just got the wonderful Line is longer than 80 characters error. I realize this could very well be a n00b question ;-) I tried splitting after the ":" putting both lines in brackets and connecting them with + " but didn't work well for me, anyone know how? [CODE] public …

Member Avatar for stephen84s
0
77
Member Avatar for manoj_582033

Hi Friends I am working in vb.net,i have a form in that, which windows state is normal & it starts on normal position but if another form is open on that application which windows state is maximize,& then if i open that form so that also become maximize, But I …

Member Avatar for Teme64
0
196
Member Avatar for neovo-88

Hi everyone, I was wondering if anyone can help me. I got two forms I can send data from one form to the other one when I press the SEND button. I’m trying to get data from one form to the other when I press the ‘GET’ button, to get …

Member Avatar for manoj_582033
0
136
Member Avatar for andy_aphale

hey frnds, i am planning to create a mini project for my colg project work. the idea is i am trying to create a anti-virus with the database of 100 virus but the problem is that i need a code to kill the process from the task mgr. because to …

Member Avatar for 4ukh
0
113
Member Avatar for xty

how can i make : [code=php]header("Location: cppassemail.php?user=$this->pSession->whoAmI('username');&pass=$password&quota=5");[/code] work? somebody told me to make it like this: [code=php]$user = $this->pSession->whoAmI('username'); $pass = $password; $quot = 5; header("Location: cppassemail.php?user=".$user."&pass=".$pass."&quota=".$quot); exit;[/code] but it dosen't work. it results just a blank page, no errors, no redirecting.. nothing. thank you! ps: please tell me the …

Member Avatar for Anamika1
0
330
Member Avatar for singhraghav

Hey guys! i Have a prblm writing a program, i hope i can find help here.... in the prgram i have to take user input on gender as 'm' or 'f' or 'male' or 'female' or 'Male' or 'FmAle'.... what i mean is i the input should not be case …

Member Avatar for unbeatable0
0
103
Member Avatar for Merkava

Hello All, I am trying to write a batch file that will allow me to open several browsers at the same time. For example, I want to open [url]www.google[/url] in one browser and [url]www.yahoo.ca[/url] in another browser and so on..... What is happening is that I one browser with google …

Member Avatar for Merkava
0
78
Member Avatar for kruglok

Any one could help me to write a program that lets the user order a hamburger just the way he or she wants it. The GUI should allow the user to enter his or her name. It should also allows the user to select any combination of the following toppings: …

Member Avatar for shadwickman
0
142
Member Avatar for mckillmt

I am trying to program a game and am having trouble with collision detection. I am trying to get the "monsters" to chase the "knight" when the knight gets close. I am using Panda3D to run the game. I have three classes, the Knights Quest, monster, and wasdCamera. I am …

Member Avatar for shadwickman
0
90
Member Avatar for shadwickman

Hi, I didn't really know how to word the title, but I was just wondering if it was possible to write a function and make it accessible as if it was any other str function. It was a simple (but useful) few lines which returned a list of all the …

Member Avatar for shadwickman
0
160
Member Avatar for neovo-88

Hi everyone, I was wondering if anyone can help me. I got two forms I can send data from one form to the other one when I press the SEND button. I’m trying to get data from one form to the other when I press the ‘GET’ button, to get …

Member Avatar for aktharshaik
0
105
Member Avatar for daviddoria

I am trying to output 00001 instead of just 1, so I do this: char pos[5]; sprintf(pos, "%05d", 1); string Index = (string) pos; It works just as I'd expect - if I cout << Index it says 00001 However, it is breaking something totally unrelated. On the next line, …

Member Avatar for grumpier
0
224
Member Avatar for Prahaai

Good day. I've been trying to port HGE ([url]http://hge.relishgames.com[/url]) to Python for more than 4 months now... HGE is a hardware accelerated 2D game engine. It comes with the source and examples. In the folder "include", you can find "hge.h", the file that i am talking about in all the …

Member Avatar for Prahaai
0
303
Member Avatar for clueless101

[quote] Once again, I can get part of my code to work, but not all. When the user inputs more than one sentence [I](ending with either a period, question mark or exclamation point), [/I]each sentence should be capitalized accordingly. However, it only works with the first sentence to work. Does …

Member Avatar for ~s.o.s~
0
128
Member Avatar for mn_kthompson

I've been trying to step into learning wxpython, so I followed some examples on the web and put together this very simple application. The good news for me is that it is working almost exactly as I would expect it to. I do have a couple of questions for the …

Member Avatar for Stefano Mtangoo
0
485
Member Avatar for sierrasoft
Member Avatar for shankhs

I have just started learning C#.... But I am not getting any good place or book to learn I know C/C++. I would also like to learn .NET(I have no idea what it is). Can you suggest some book or place from where I can start with?

Member Avatar for Ved_TheOne
0
144
Member Avatar for manoj_582033

Hi Fiends, How can i add new rows in datagridview on run time. accualy I have a table, in which i have Many records But i want some specific records on datagridview .& for that I am using If condition , & whic records are correct accoding to that if …

Member Avatar for manoj_582033
0
80
Member Avatar for VBNick

i have a struct with an array of three points in it, for example: struct POINTS { POINT pts[3]; }; then I have another struct with two single points in it like this: struct EDGE { POINT *p1, *p2; } is there a way to set p1 to a single …

Member Avatar for Murtan
0
152
Member Avatar for mmeyer49

For some reason my grid will not display in my program. Can you tell me what i would have to do to fix it. In all logic its right i think [code] #include <cstdlib> #include <iostream> #include "color.h" #include <conio.h> using namespace std; using namespace Petter; void title(); void credits(); …

Member Avatar for Murtan
0
115
Member Avatar for elitedragoon

Please help, I keep getting error C2664: 'State_Tax' : Cannot convert parameter 1 from 'float *' 'to float' [CODE] #include <stdio.h> #include <stdlib.h> #include <string.h> #include "./myheader.h" void Calculate_Taxes(float gross, float deferred, float *federaltax, float *statetax, float *ssitax); float Federal_Tax(float deferred, float gross); float State_Tax(float federaltax); float SSI_Tax(float gross, float …

Member Avatar for elitedragoon
0
734
Member Avatar for robgeek

I am writing a program in which a print function takes in users' street address(string), city (string) , state (string), zip(int). What will my return be for this function? My code snippet is this: [code] string addressType::print_add(string str, string Cit, string St, int Z) { cout<<str<<endl; cout<< Cit <<","<<St<<endl; cout<<"Zip: …

Member Avatar for Ancient Dragon
0
165
Member Avatar for robgeek

Hi I am writing a address book program that is giving a run time error. Please if someone can compile and check this error, and then explain/ show me how can I resolve it. I am pasting my code in parts here as well as attaching the files. Also please …

Member Avatar for robgeek
0
131
Member Avatar for Sgtplank

hey guys, ok ive got a program ive got to hand in fast, practicaly works just got to errors so a quick reply would be greatly appreciated. [code=java] import java.util.*; import java.io.*; class Assignment7{ public static void main(String[] args)throws Exception{ File input1 = new File (args[0]); File input2 = new …

Member Avatar for Ezzaral
0
116
Member Avatar for cpeeyush1

i am trying to learning c++ and i have a basic or i can say good knowledgeof c so please tell me the link of free ebook (pls don't tell any rapid share link) -PC(INDIA)

Member Avatar for William Hemsworth
0
94
Member Avatar for Nina 4 Ever

Hello every body. i'm new here , and i didn't have the chance to introduce myself.i will,later...but for now:...i need help designing a mini C# compiler...i tried to find something practical to implement the symbol table using a hash table, but i found nothing really useful on the net...any ideas??? …

Member Avatar for Nina 4 Ever
0
360
Member Avatar for it2051229

I'm creating a java program that in every second there is a data stored into my table. I made use of THread.sleep(1000) to pause the for loop in every second.. But when my program runs, it freezed for 10 seconds because of the condition of my for loop where the …

Member Avatar for Ezzaral
0
94
Member Avatar for mmeyer49

im working a pretty advance program which is a huge jump from what we were doing. 1) im having problems displaying the grid and the robots. its suposed to refresh each time the rounds end. 2)Not really sure on how to assemble my functions =/ the most functions we ever …

Member Avatar for Lerner
0
153
Member Avatar for chris5126

Hi guys, Will keep this short and sweet. Trying to do integer devision to *decimial places but i dont think the version of ksh installed on solaris 10 supports this as they would need to be declared as floats. Is this correct? If there isnt a way of doing it …

Member Avatar for Fest3er
0
137
Member Avatar for Andrew Wiggin

I am trying to use shutils to copy a folder but it throws errno 13 at me. The traceback points to open() as the culprit. I wrote a test script: open(raw_input("Filename: ")) this is the result: Filename:e: Traceback (most recent call last): File "C:\Documents and Settings\talvey\Desktop\testOpen.py", line 1, in <module> …

Member Avatar for lllllIllIlllI
0
17K
Member Avatar for k33l

I'm trying to sort a Linked List of type T. Here's the parameters for the function that sorts it: [code]void quicksort(SinglyLL<T> & A, bool (* needSwap)(T &, T &))[/code] needSwap is actually a function pointer that just helps in deciding if swaps are needed - there are two different functions …

Member Avatar for Narue
0
687
Member Avatar for freelancelote

Hi all, let's say I have a string object. I can cout the string literal by just stating the name of the object or I can use the data function. [CODE=cpp] string myStringObj = "Hello World!"; cout << myStringObj; cout << myStringObj.data();[/CODE] So, why do we have a function like …

Member Avatar for Narue
0
104
Member Avatar for monere

Hello, Thouh i am 60 years old i am still a beginner in c++ and i need some directions from more experienced programmers. The following code successfully reads file clip1.txt. I want to replace the quoted file "clip1.txt" with an expression or a variable or a pointer as i have …

Member Avatar for monere
0
85
Member Avatar for ezkonekgal

i am trying to write a code that stimulates an simple ATM. i have two class, one for the Bank Account and another for the ATM itself. [code] public BankAccount(String name1, int acctNum, int pinNum ){ name = name1; accountNumber = acctNum; pinNumber = pinNum; balance = 100.00; } public …

Member Avatar for BestJewSinceJC
0
2K
Member Avatar for clutchkiller

[code=c++] #include <iostream> #include <windows.h> #include <cstdlib> using namespace std; int main() { SetConsoleTitle("The Guessing Game!"); int guess; int clue; srand ( time(NULL) ); int num(rand() % 25 + 1); int total; cout << "Hello Internet\n"; Sleep(2000); cout << "Today, we are going to play the Guessing Game!\n"; cout << …

Member Avatar for clutchkiller
0
108
Member Avatar for mybluehair

Hi. I am making a c++ console program, and I wanted to add a new feature. but to do this, the guy said i needed a library named curl. Ive only installed 1 library before, but the instructions were VERY straight forward. i have been researching how to install curl …

Member Avatar for Salem
0
104
Member Avatar for cleber

Good day, I started to program c# some days ago and I´m having difficulty to read a text file. I wrote the code below to read the following line of a text file: AdmPassword=�‘“•—™ All caracters of the password have decimal values between 128 and 255. The problem is . …

Member Avatar for hieuuk
0
80
Member Avatar for Generalcoco

This is my Final Project and as you can see my program asks the users twice for the test grade I am trying to consolodate and have the program only ask for the test score once and give the letter grade at the same time.? any ideas I do not …

Member Avatar for Generalcoco
0
89

The End.