199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for PicoDoM

So, I am slamming my head into my desk right now. I am trying to take a string containing unicode character codes and convert it to a python unicode string. I thought it would be simple, but I am having major issues. Any help would be greatly appreciated. This is …

Member Avatar for PicoDoM
0
664
Member Avatar for dev.cplusplus

Hi to all, I have the following request/question: I’ll tell my history: I’m working in a company like a C++ programmer (for almost a year), lately I feel like I’m not going forward professional talking. I’ll explain myself: I receive assignments like fix BUGS or write small functions in the …

Member Avatar for Ancient Dragon
0
101
Member Avatar for FireNet

I am trying to a page load an external website's page within a div, but it's just not working.... Anyone got any ideas? I do know it's possible: [url]http://orangoo.com/labs/GreyBox/[/url] -- loads google.com in a popup Here's my code [code] <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="s1/style.css" …

Member Avatar for FireNet
0
206
Member Avatar for rogenie

here is my code. I don't know why it always returns the value that i do not ask for.?? This code display the name I typed in if it is inside the array. [CODE]//this will sort strings using selection sort #include <iostream> using namespace std; const int NUM_NAMES = 20, …

Member Avatar for WaltP
0
128
Member Avatar for ricnyx

im the newbie among the newbie .....need a nice and patient guy who willing to guide me of my assignment.....cause the deadline is tis weekend......i dun know or can say hard to post the problem out...cause too many.............need urgent reply.........can msn ??? pls pls pls pls...........i got plenty of question …

Member Avatar for bilalb1
0
110
Member Avatar for picklesandmayo

Hello, I am a new CS student and I am taking a C++ course. I am running into problems with a simple number generation program. Basically, I have to generate 2 single digit numbers and then request the user to multiply them. (I know there is nothing in there yet …

Member Avatar for picklesandmayo
0
125
Member Avatar for hatemkhzouz

Hi All , this is the first time i've entered this site ,and welling to help me about using visual basic 6.0 to connect with an excel sheet to be retreived it's data into the V.B. So, If you please i need the V.B Code to complete my object. thanx …

Member Avatar for hopalongcassidy
0
157
Member Avatar for Designer_101

Hi im having some trouble with the code bellow. I would like for each time the form containing the name and message to be echoed out but in a table. So naturally i have made a for loop that checks the amount in the array and echo out seperate portions …

Member Avatar for somedude3488
0
123
Member Avatar for malathuis

Need to Modify my codes to include a function for both A and B. The function for A should have the quantity of numbers passed in as a parameter and needs to return the largest number. The function for B should have no parameters and return the smallest number. What …

Member Avatar for malathuis
0
125
Member Avatar for newlive

Hello all, i want to get soap message with xpath my code is: [CODE] <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE xml (View Source for full doctype...)> <xml rde-rd:content="spreadshirt2.xml" rde-rd:datalanguage="de" rde-rd:leasingtime="0" rde-rd:locale="de" rde-rd:project="testwebservicegoogle" rde-rd:rdeContentType="0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:rde-dm="http://www.reddot.de/rde/ns/dm" xmlns:rde-fdl="http://www.reddot.de/rde/ns/fdl" xmlns:rde-idea="http://www.reddot.de/rde/ns/idea" xmlns:rde-rd="http://www.reddot.de/2000/rde/rd" xmlns:rde-rdf="http://www.reddot.de/rde/ns/rdf" xmlns:rde-xmaps="http://www.reddot.de/rde/ns/xmaps" xmlns:rdf="http://www.w3.org/TR/REC-rdf-syntax/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl-template="http://www.reddot.de/rde/ns/template"> <dynaments> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.spreadshirt.net//services.php/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> …

Member Avatar for pgfearo
0
88
Member Avatar for johnpmii

Hello, I'm tring to read a text file and pull pieces of the line into separate functions. I can open and close the file in the main. When I use the getline() it reads the whole line, I only want to read up to a certain point using strings instead …

Member Avatar for Duoas
0
161
Member Avatar for phalaris_trip

I know this is a slightly esoteric question, but I'm just curious how you guys define your function macros. Do you put a semicolon at the end or not? For example: [code=cplusplus] #define EVENT_RESIZE(_event) ::SDL::HandleEventResize(_event, hScreen, fnSDLKey); // or #define EVENT_RESIZE(_event) ::SDL::HandleEventResize(_event, hScreen, fnSDLKey) [/code] In the first case, the …

Member Avatar for phalaris_trip
0
96
Member Avatar for adrive

hi, i'm wondering why is it javascript doesn't seem to accept null value as a real null? In order to know if its a null field later on, it's as if i have to check it against a string 'null'. for example, i have a txtName hidden field on my …

Member Avatar for ~s.o.s~
0
204
Member Avatar for Dha_King

Hello, i have a easy problem for u guys =). I have searched the webb but can't find a solution for it. How do i solve this kind of problems, Sorry for the spelling as usual ;)? [code] Text::Text(const char ch) { strcpy(m_str,ch); }[/code] m_str is a char *. ch …

Member Avatar for Dha_King
0
1K
Member Avatar for enes

i want to to able to access to a class's vairable but this varible is not declared class's header file it is in the cpp file i couldn't write a method that acces to it because methods cannot access it(since the variable is not in the header file) how can …

Member Avatar for WaltP
0
105
Member Avatar for ceyesuma

can someone show me how to collect a string from a jsp text box and call a set method in a bean that puts that value in a variable of that bean?

Member Avatar for ceyesuma
0
101
Member Avatar for SCBWV

I have a VB6 application that uses DAO to read and write MS Access files. Since the program uses Access files exclusives, it was written in DAO instead of ADO. The recordsets within the program are based on queries in the database. I need to add a field to the …

Member Avatar for choudhuryshouvi
0
2K
Member Avatar for scru

Just some questions. Can Visual C++ express be used to code non-CLI applications? What is the proper way to do this? What's up with the stdafx.h header? Can somebody explain what that is for please? How come I can't use stdio.h for C code in it? (yet printf and other …

Member Avatar for scru
0
127
Member Avatar for microtribe

Hi, I have a Javascript total calculation function within a php form that uses onBlur to show the client a running total of the dollar amount of items added: [url]http://www.microtribe.com/dev4Tony/order881x2.php[/url] And I have a linked external PHP file/script to email the results of the form to me. All works fine …

Member Avatar for somedude3488
0
170
Member Avatar for michael123

how can I replace who string with certain beginning and ending, for example I have string: abc........xyz I want to replace this string with "this is a test", no matter what text in between, only "abc" and "xyz" are fixed. abc123xyz-->this is a test abcd1234xyz-->this is a test any idea?

Member Avatar for Designer_101
0
113
Member Avatar for davidianstyle

My hosting server is located in Texas and when I use the localtime() function, I get Texas local time rather than Massachusetts local time (where I currently reside). I want to standardize all my time information so that when I store it into the MySQL database, I store GMT rather …

Member Avatar for davidianstyle
0
129
Member Avatar for fudawala

Hi, I need some help writing this program. The question states to write a program that specifies three one-dimensional arrays named current, resistance, and volts. Each array should be capable of holding 10 elements. Using a for loop, input values for the current and resistance arrays. The entries in the …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for nicz888

how would i write a maximum number test function that will take any number of arguments and returns the greatest of them??? i know i need to used recursion function, but how should i declare the function?? here is what i have so far [code=c++] double maxNumber( double inputNum,A double …

Member Avatar for Duoas
0
143
Member Avatar for waterfall

Hi all, Im having some problem in my application .i want to take input of tasks and preceding activities. What I want to do is to draw circles for the given number of tasks and connect them according to their preceding activities.e.g, if user input 1,2 for preceding activity 3 …

Member Avatar for waterfall
0
118
Member Avatar for eren

The purpose of this assignment is to give practice programming in writing functions, developing algorithms and using loop structures. Positive integers can have the following personalities: prime or composite, happy or unhappy, square or not square, smug or not smug, and honest or dishonest. You will write a C++ program …

Member Avatar for Ancient Dragon
0
136
Member Avatar for waterfall

Hi all, Im having some problem in my application .i want to take input of tasks and preceding activities. What I want to do is to draw circles for the given number of tasks and connect them according to their preceding activities.e.g, if user input 1,2 for preceding activity 3 …

Member Avatar for zandiago
0
114
Member Avatar for AlexN

hey there, does anyone know a way that will allow the user to enter as many positive integers as they want, for each one i need a message to appear that states whether the number is odd or even? cheers guys

Member Avatar for Duoas
0
134
Member Avatar for tootypegs

Hi basically i have a program that gets a handle on a USB device lusing '\\\\?\\e:' but i want to be able to get a handle on it using its device instance id 'STORAGE\REMOVABLEMEDIA\7&324ACC50&0&RM:' How do i impliment this, i have tried the following below and it just doesnt work …

Member Avatar for tootypegs
0
105
Member Avatar for boyz

the address of the array is contained in the array name that is a pointer to the array it means when we are declaring an integer array a[5] we are getting 10 bytes for the array elements and two bytes for the pointer a? means 12 bytes are occupied in …

Member Avatar for Ancient Dragon
0
269
Member Avatar for hellokitty88

Can someone help me with my delete function? I am having trouble figuring out why my delete function is not reporting false when attempting to delete a bank id that does not exist. Thanks. [code=c++] bool Bank::RemoveBankNumber(int bankID) { Bank *temp, *back; if (head == NULL) return false;//(isEmpty()) return; // …

Member Avatar for Ancient Dragon
0
111
Member Avatar for beauty7

Hi there^_^, How can I create a class from this program? [code] #include <iostream> #include <ctime> using namespace std; int main() { // Obtain the total seconds since the midnight, Jan 1, 1970 int totalSeconds = time(0); // Compute the current second in the minute in the hour int currentSecond …

Member Avatar for beauty7
0
91
Member Avatar for iacobus2

I am trying to learn the Kexi database program, and am at the point of looking into scripting. I know this can be done using Python, but I can't find any tutorials or lessons on how to do this. In fact, I can't find much of anything relative to Kexi. …

Member Avatar for iacobus2
0
218
Member Avatar for krnekhelesh

I want to create a C++ Program to edit the Windows Registry. For example to change the home page of internet explorer. But I don't know how to read or edit the help. I am doing this program just for my own self and is not a part of homework.

Member Avatar for vijayan121
0
1K
Member Avatar for cursedbyfreud

Hi, this is my first post here, I searched the forum and google for my error and I found some results but they were not about exactly this error, if there is and if I missed it, I'm so sorry already. Here is my problem; const int flightNo; int ***Flights; …

Member Avatar for cursedbyfreud
0
169
Member Avatar for kiel19

how to write c code function implementing the first heuristic algorithm [CODE] void binpack_firstfit(int item) { int s = 0; int bin_Value; do{ bin_Value = bins[s]; if (bin_Value + item < BIN_VOLUME){ bins[s] = bin_Value + item; s = NUM_BINS; } }while(s++ < NUM_BINS); }[/CODE]

Member Avatar for Salem
0
142
Member Avatar for sanjay goyan

Dear friends , file is test.sh [CODE] echo expr 2+4; [/CODE] its give result 2+4 not 6 so plz tell how can i get the right result sanjay

Member Avatar for masijade
0
106
Member Avatar for dotNetDummi

Hi all, (I apologise if this thread is out-of-topic) I need some ideas for my project. I have to develop a web application for some users to approve some documents. The problem I have is that I [U]can't[/U] give these people a login account (due to my project requirement). I …

Member Avatar for dotNetDummi
0
158
Member Avatar for eyehategod

I have to pass a char as a parameter using the stack, but the stack doesn't allow anything smaller than 16bits. So I put a char on a 16bit register, push it into the stack. But how do i get the char from my function in order to work with …

Member Avatar for eyehategod
0
85
Member Avatar for ashikin_8119

Hi all,i am very new to shell and awk scripting,..hope u guys can help... I need help in sorting and grouping the data in one flat file.The file look like this: 040171011140820070000000009650244002933170003000000075272 1F921338300506 01082007000014000000027665 1H912279980109 01082007000012000000042420 1S503377200110 01082007000014000000005187 1S503377200110 01082007000688000000005188 3SF98 I need to rearrange the file to become like …

Member Avatar for ashikin_8119
0
102
Member Avatar for juoyaf

Hi all, My cosin give me your site today when I called him, he kind of had the same problem. I have a file and i'm trying to read from this file as follow ID, first, last name and from the numbers (buyer.type) two things type, and how many pound, …

Member Avatar for juoyaf
0
87
Member Avatar for Rizza

Plz help me.. I want to install my selfmade proj into Different P.C. by using a single database.. i've connected every P.C. into a network, and also install VB 6.0 in its unit togather with my project, but when i try to add data.. it never updates their databases..

Member Avatar for SCBWV
0
298
Member Avatar for BigBen747

I am a newbie at coding C++. I have a program idea to make, like a audio media player or a DJ program...Kinda like windows media player and the others. If anyone could be able to help, that would be greatly appreciated.

Member Avatar for WaltP
0
180
Member Avatar for phalaris_trip

I have this code [code=cplusplus] CPoint* points; int numPoints (200); points = new CPoint[200]; [/code] I have another class called CPlanet, and a bunch of pointers like: CPlanet* pSun = new CPlanet; ... and CPoint and CPlanet call the same functions, so I would like to use -> to call …

Member Avatar for Duoas
0
109
Member Avatar for johnnyjohn20

**MY QUESTION IS BASED ON A COURSEWORK** I am trying to produce a sin wave using *'s to represent sample values for 1 cycle of the wave. For example when the user enters 7 the output should look like this: .........................................................* ..........................................................................* ..........................................................................* .........................................................* .......................................* .......................................* .........................................................* please ignore the …

Member Avatar for Jishnu
0
304
Member Avatar for bluej

Hello everyone...I have been learning Java in our school using BlueJ and there is a certain problem i need to work out... I need to create a frame with four panels in it...like this.... [ATTACH]4481[/ATTACH] Sorry if i can't provide the codes because it's really hard learning java... Can anyone …

Member Avatar for masijade
0
146
Member Avatar for almost_done

Ok so this is really annoying me...I'm trying to go through and parse a bunch of .csv files for content but I can't get past trying to open them. I want to read the directory contents and then open the specified file. I have the code working so it prints …

Member Avatar for almost_done
0
211
Member Avatar for spaceintheworld

hey I would see on the screen like that UNDER THE mınumum array IT SHOULD WRITE MAX OR MIN WHATEVER YOU CHOOSE for example if we write 2 arrays 3.4 5.6 0.6 8.6 it must write on the screen " Arrays 3.4 5.6 0.6 8.6" MIN MUST WRITE UNDER 0.6 …

Member Avatar for spaceintheworld
0
94
Member Avatar for sweety0

hi everybody!! does anybody have databases so dat i can have some idea abt them...:)

Member Avatar for sweety0
0
134
Member Avatar for Run.[it]
Member Avatar for Taffd

I'm beginning to believe that nobody actually knows how to validate simple forms and insert that validation code into a dreamweaver page. I there anybody out there who believes they can accomplish this. If so, are you prepared to help me accomplish this, at which time we could post here …

Member Avatar for jbennet
0
82

The End.