199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mhil_joy

i have been given an assignment about palindromes but i don't no how to do the coding in c++ and using queue and stact to check if a string is a palindrome.. please help me guys.. i need all your knowledge about it!.. i need it as soon as possible.. …

Member Avatar for WaltP
0
56
Member Avatar for lynlyn

please help me with my problem... i have here a running program...but then you have to press the keyboard twice in order to input data.. can you help me to modify my source code???please..my future depends on you...-_- specification: Accepting data in the lists should only terminate only if the …

Member Avatar for jephthah
0
181
Member Avatar for Alex Edwards

I've read up to the point where the author explains partial classes. I understand the general concept - they're used when a class is so big that it is better to split it across files. I created two .cs files. Let's say one is CS1.cs and the other is CS2.cs …

Member Avatar for Alex Edwards
0
171
Member Avatar for Mr.UNOwen

Hello, This is similar to the thread I did a while back, except this time I need to do it under linux. I'm using the latest version of Ubuntu. Can some some one show me how to send information (an array of char) to the rs232 port (synchronous communication) . …

Member Avatar for jephthah
0
181
Member Avatar for yanie

i need help here. how do i display checkbox value from my database MS access in a visual basic 6 form? i hv 2 checkbox in my form, which are Available and Not Available. if the value is yes, i want to display it in Available checkbox and if no, …

Member Avatar for aktharshaik
0
659
Member Avatar for Scuppery

Hi everyone I am having a little problem with a program that I wrote [code=Python] def P(): a = "a" aa = "aa" b = "b" bb = "bb" text = raw_input("Enter Text: ") SpacedText = ' '.join(list(text)) OutputText = SpacedText if a in OutputText: print aa if b in …

Member Avatar for shadwickman
0
101
Member Avatar for ishanh

Hi, I have a design issue and don;t have a clue how to proceed. In one of my projects I have to develop a software framework. Users who use the framework should be able to define objects they want to use and their relationship (Similar to class hierarchy). ex: A …

Member Avatar for ishanh
0
90
Member Avatar for hny_lyn

Good day!! I was observing this class doing their laboratory exercise on java. We are of the same professor that is why I had this instinct that we will be doing the same exercise on our class too. They were asked to do this: ->Make a class that has the …

Member Avatar for MoZo1
0
1K
Member Avatar for Dekudude

Hi there! For starters, let me say I am something of a Python newbie at the moment, but I'm learning more every day! Unfortunately, my script is at a standstill, and I can't figure out how to continue. I don't have an error, per se, but rather the inability to …

Member Avatar for Dekudude
0
221
Member Avatar for Jadellll

Hi, I'm looking for where either the sort module or the sorted() function resides. I'm thinking a module in the default folders, but have no idea where it is, or how to locate it (sorted is in the path, but I don't know how to display a parent based of …

Member Avatar for Jadellll
0
107
Member Avatar for death_oclock

I have the following globals defined (the relevant ones, anyway): [CODE=c] DWORD dwNumMaterials; LPD3DXBUFFER lpMaterials; LPD3DXMESH lpMeshBody; [/CODE] And the call to D3DLoadMeshFromX is here: [CODE=c] D3DXLoadMeshFromX(L"body.x", D3DXMESH_SYSTEMMEM, lpD3DDevice, NULL, &lpMaterials, NULL, &dwNumMaterials, &lpMeshBody); [/CODE] When this is called, it returns a generic error (0x80004005). Also, if it is needed …

Member Avatar for death_oclock
0
125
Member Avatar for coveredinflies

Hi, I am sure you have all seen the recursive factorial program. [code] int factorial(int number) { int temp; if(number <= 1) return 1; temp = number * factorial(number - 1); return temp; } [/code] " Once at 1, the values are returned to the previous factorial call and multiplied …

Member Avatar for coveredinflies
0
157
Member Avatar for dmanw100

Is there an easy way to convert from Char* to int? I have tried converting as such: [CODE]char* value_a; int* temp = value_a; int final = temp;[/CODE] The compiler is returning an error so I know something is wrong but why can't I convert this way? Any suggestions as to …

Member Avatar for ArkM
0
181
Member Avatar for amoon108

Hi all..... i want to make connection between pc and mobile via bluetooth using java, and i want to send/receive text between them plz help me to do this thx :)

Member Avatar for peter_budo
0
84
Member Avatar for alc6379

Greetings all, I'm actually proud to have a question I've never seen asked here. I've got a 1.5GB text file (YES, it's really 1.5GB) where each line needs a set of modifications. I've got the application running in a single-thread, whereby each line is read in, the modification is made, …

Member Avatar for alc6379
0
3K
Member Avatar for iamlevicious

Hello, I am a graphic designer who does some web design on the side. The store I work at had a website that the boss wanted transferred to a different host. So I downloaded it off the server and uploaded it onto a new one. I knew that I was …

Member Avatar for pritaeas
0
106
Member Avatar for phillipeharris

I am trying to write the class that will take in objs from another class and put it into a circular array without using the STL. O I wrote the class and in Main I delcared an obj of the queue called (myQueue myQ) so this is the obj but …

Member Avatar for phillipeharris
0
97
Member Avatar for yasmena

i need to know how to get the selected value from a drop down box in php for example : while($row=mysql_fetch_array($query)) { echo"<option value='category'>".$row["cat_name"]."</option>"; } i want in another page to get the selected value and perform some operation on it

Member Avatar for ramseswar
0
86
Member Avatar for royonline
Member Avatar for jwenting
0
283
Member Avatar for morsdyce

Hello all, I'm having a problem with converting a script from MySQL to MSSQL .. the problem is within this query: [CODE]select * from data where name LIKE '$name' AND spot LIKE '$line' AND piret LIKE '$piret' [B]AND timestamp >= '$before' AND timestamp <= '$after' ORDER BY timestamp DESC[/B][/CODE] the …

Member Avatar for morsdyce
0
136
Member Avatar for tanha

Hi. I am using Visual Studio 2008, and Sql Server 2000, and I have the following code: [CODE] 'Load connection module connection() cmd = con.CreateCommand cmd.CommandText = "SELECT * FROM tblUser WHERE username = 'xxx' " da.SelectCommand = cmd da.Fill(ds, "tblUser") dt = ds.Tables("tblUser") MsgBox(dt.Rows.Count) [/CODE] I don't know why …

Member Avatar for anoopkh
0
7K
Member Avatar for Ancient Dragon

For those of you who have been working for some time I'd like to find out what practical uses you have seen for recursion. I'm not talking about college courses or what you see in tutorials, but what programmers use it for in real-world programs such as system, applications, etc. …

Member Avatar for sciwizeh
0
817
Member Avatar for sandip250382

Well Friends, I am thinking to get Oracle Global certification OCA. For this, I need to get some good ebooks of the oracle press,can anyone here can provide me the link? Thanks in advance.

Member Avatar for jwenting
0
63
Member Avatar for Clockowl

Hi guys, I've got two loops, and I want to be able to continue; the outermost loop when the innermost loop finds something. How would I do that? [code=c] //(...) for (n = startStorage; n < quadcount; n++) { if (!notOptimized(n, optimized)) continue; int *x = &quadindex[n*4]; for (eachX = …

Member Avatar for Clockowl
0
123
Member Avatar for rcoleman

I have two files, an application file and a class file. While they both run without errors, the application file returns a null when I run it. Here are the two parts that dont seem to work? Can someone tell me waht I am doing wrong? App file code: Invoice …

Member Avatar for rcoleman
0
253
Member Avatar for BradenMurphy

[CODE] string hello; cin>>hello; sprintf(buf, "This server has been contacted time%s\n", hello); [/CODE] I'm making a simple client-server program. I just want to know how do I get to print out the hello string inside the sprintf() >.< soz might be a very dumb question.... The error i keep getting …

Member Avatar for BradenMurphy
0
268
Member Avatar for veledrom

Hi, i use php mailler to send email but i don't know how to add <br> or <p> breaks into message that comes from other page with $_POST. I need it because message appears in email as an one long line. [code] $mail->Body = $_POST['message']; //Not fine $mail->Body = "Hi,<br>How …

Member Avatar for veledrom
0
199
Member Avatar for mysterio

Question:-- Write a program that read a line of text, changes each uppercase letter to lowercase and places each letter both in a queue and onto a stack. The program should then verify whether the line of text is a palindrome Output: Please enter a line of text I am …

Member Avatar for mhil_joy
0
3K
Member Avatar for K.Vanlalliana

If you can help by giving guide to write this using VB, I shall be very glad: I want to get the quotient and a remainder when one number is divided by another one number, Can you please give/show me the Coding to this problem?

Member Avatar for K.Vanlalliana
0
196
Member Avatar for ahmbil

i want to auto generate an ID like 1, 2, 3. and anytime i close my application and open it again it should start from the Id it stopped. if i enter up to 6 the next one should be 7. Can anybody help me?

Member Avatar for K.Vanlalliana
0
427
Member Avatar for dmanw100

I have a problem that seems like it should be easy but so far has been fairly difficult to find documentation on... I want to be able to pass parameters to a program in the command line in the same manner as the built in functions (ex. the "/r" in …

Member Avatar for Prabakar
0
122
Member Avatar for l00pylou

Hello all - I have created an online form that sends results via email on submit, however, I have 4 checkboxes and their values are coming through as NO no matter what is entered this is the PHP code if ($box1 == "on"){ $box1= "Yes"; }else{ $box1 = "No"; } …

Member Avatar for l00pylou
0
106
Member Avatar for enim213

can anyone give me a hand.. any idea how to do the following requirements.. i can't start please help.. i have two tables to compare.. it has so called rates.. its buying rate and selling rate(diff table), before i update new buyingrate.. it has to check selling rate (must be …

Member Avatar for enim213
0
302
Member Avatar for Alex Edwards

Hi, my name is Alex. I'm fairly new to C# but apparently I may be required to know how to manipulate .NET Frameworks via C# so I am studying a beginners book and another book to thoroughly understand the language. The problem is that I am struggling to understand the …

Member Avatar for Alex Edwards
0
157
Member Avatar for Michaelmyers

Hi, I am kinda new at PHP, but I have had nearly 1 year of learning. I'm making a Mmorpg text based game, I.E. bloody nation,lost power, I have made the home.PHP(login),login.PHP(Database script),register.PHP,Reg.PHP(Database script),Terms.PHP,Welcome.PHP,Member.PHP and loads more. I am now starting the stats database for the user e.g. Strength,Charm,intelligent and …

Member Avatar for fdh2000
0
120
Member Avatar for Traicey
Member Avatar for krebstar

Hi.. I have a question regarding the configuration manager.. Why is it that the samples on the MSDN Learning center cannot be compiled using the default settings? With Itanium as the active solution platform by default, the compiling gets skipped.. However, when I change this to Win32, it compiles.. Isn't …

Member Avatar for krebstar
0
110
Member Avatar for sym

I read that STL containers will allocate elements in the heap but the container objects are allocated in the stack. Therefore, in the code below do I need to first clear off the elements of vector "vec" from the heap before deleting "sub" in order to avoid memory leak? Or, …

Member Avatar for sarehu
0
133
Member Avatar for mdew_47

I have posted the related topic in the Java forum! Now, i am having a very differnet problem altogether. 1. i am being able to call the C program from the Java frame using a "Button" in the inteface. 2. But the problem i am facing now is that the …

Member Avatar for Clockowl
0
100
Member Avatar for nagas

hello please send code for autoreply of email in contact form my contact form is : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Welcome </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="style.css" rel="stylesheet" type="text/css"> <SCRIPT>//global variable for error flag var errfound = false; //function to validate by length function …

Member Avatar for digital-ether
0
116
Member Avatar for derekcpt

Guess this is javascript. Similar as in excel, (I have seen this before), lets say I have 3 fields in a form. Now when entering a numeric value in field 1, and lets say field 2 has the value of 5, then the value of field 1 times field 2 …

Member Avatar for R0bb0b
0
82
Member Avatar for midget

I've been trying to figure this out for months so if someone could tell me how stupid I am that would be great... The first php.ini file works for sharing sessions from domain to subdomain no prob... with the simple inclusion of session.cookie_domain = "mydomain.com" I've tried them both with …

Member Avatar for digital-ether
0
686
Member Avatar for justinmyoung

I've tried to post on a few other forums for information on how to write a very simple search script that will allow multiple search options to search a mysql database. I have a script written that searches by a users last name, but I want to also offer the …

Member Avatar for langsor
0
296
Member Avatar for HyperEngineer

I'm trying to read a com port. I can create it, change the dcb, set the timeouts and see the input buffer using ClearCommError. But I can not read it. When the program hits the ReadFile() statement it never comes back. Here is some of the code: [ICODE] char CMyClass::EIA232_Open(HANDLE* …

Member Avatar for Ancient Dragon
0
194
Member Avatar for l00pylou

I am self taught Dreamweaver novice I have created a popup window, but even though in the code it asks it to open at 600 wide x 400 high, the pop up is opening in a tiny window It seems to be fine with Firefox, just a problem on IE …

Member Avatar for l00pylou
0
105
Member Avatar for verone

this is wat i hav been doing but its not workin.i am not able to write the code for searching #include<iostream.h> #include<conio.h> #include<stdlib.h> #include<stdio.h> #include<string.h> //***Record structure declaration*** struct Details { char name[30]; char sex; char status; char title; char address[40]; char qualification[10]; char experience[20]; int telephoneno; int membershipno; int …

Member Avatar for Lerner
0
124
Member Avatar for Prm753

Hi all, I am trying to optimize one of my applications by cutting down on the number of function calls I am making. I have decided to do this by reading definitions out of a file and using them as the argument for the function. [code] char registryHive[MAX_PATH]; ZeroMemory ( …

Member Avatar for ArkM
0
150
Member Avatar for rickya100

Hi. Thanks for looking. I am setting up a dedicated server for the first time to host a site and I have the FTP accounts set up, the PHP and MySQL packages installed. MySQL administrator GUI tool installed but I cannot get phpMyAdmin to work. I have unzipped it and …

Member Avatar for rickya100
0
207
Member Avatar for veeran

in VC++ 2005 I tried to create directory using CreateDirectory(_T("c:\program files\Testing")) But it is not created in c:\program files\ it is created in loged in Users appdata folder how can i overide this senario in vista (windows folder and System directory) please give any link or information

Member Avatar for William Hemsworth
0
191
Member Avatar for disturbedfan

Ok so ive strted to try and teach myself C++ cause in a few years when i go to college i wanna study computer science or engineering. I downloaded Dev C+++ and followed some small simple tuts on how to do C++. 2 of the tuts started off simple and …

Member Avatar for gregorynoob
0
145

The End.