199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for richman0829

Everything below works the first time through, and the validation of the user's choice to proceed or not works, as does his choice to quit; but when it gets to cin.getline it just blows right through it without waiting for input. As my parents used to say, Where have I …

Member Avatar for Clinton Portis
0
211
Member Avatar for studioceasar

Hello all, Is there an easy way to edit the order of my colums in a table? Presently, my colums are: cust_num, name, email, location, bday_day, bday_month, bday_year, state I would like to list the "location" column after "state". Can anyone offer a simple suggestion. Thanks in advance. C-

Member Avatar for nav33n
0
160
Member Avatar for lordnikotine

Hello. Could someone help me on how to create classes in VB6? I need to create a class that would enable me to add 2 numbers then show the sum... simple enough? but im having a hard time looking for tutes out there. I could easily learn with some examples... …

Member Avatar for AndreRet
0
6K
Member Avatar for muralibobby2015

hello, i want to build a internal mailing system in website. only registered users can send mails to each other. i have taken "compose mail","inbox","sent items","trash". i want to create database now. can you please tell me cloumn names for this

Member Avatar for czilika
0
76
Member Avatar for theStruggler

I want to write a program to conduct a binary search and return all the occurrences of a number to the user. I succeeded in coming up with a binary search method but I don't know how to make return all the occurrences of the number. Here is my code …

Member Avatar for theStruggler
0
115
Member Avatar for skeet123

Almost got this program to work. Still have one error but not sure how to fix. It is using a linked list class for storing nodes. Here is the code: [CODE]// functions use by main void mergesort(linked_list& list); // Merges sorted list dl1 and dl2 into a sorted list dl …

Member Avatar for Noumi
0
142
Member Avatar for Mafia619

Hey, I've got an assignment from my computer teacher in school. I've got to make a program that displays the prime numbers in a range and also display the number of prime numbers that are present. And i'm only supposed to use the basic header files.....that means the program should …

Member Avatar for VernonDozier
0
313
Member Avatar for Stefano Mtangoo

Hi all, I have a question here :) Suppose I have a library in source code form (Let say [URL="http://tangentsoft.net/mysql++/"]mysql++[/URL]) and I have built it, and now I have the files (.h, .lib, .dll). How do I combine them in project? I use [URL="http://www.codeblocks.org"]code blocks[/URL] Why I ask? Because [URL="http://www.python.org"]Python[/URL] …

Member Avatar for Stefano Mtangoo
0
193
Member Avatar for Perham

Hi, I'm writing a class that controls Bitmap I/O. here's the working code: [CODE] #ifndef __linux__ #include <windows.h> #endif #include <stdio.h> // Our functions class FEN { int not_defined_yet; }; class fileBITMAP { public: BITMAPFILEHEADER file_header; BITMAPINFOHEADER info_header; RGBTRIPLE* image_data; fileBITMAP (int width, int height); int writetodisk(FILE* handle) { printf("writing …

Member Avatar for Intrade
0
107
Member Avatar for Voulnet

Hello folks. I have done a good amount of research and I'm still unable to determine how I can perform real emulation of a joystick. What I found on the web was using the mouse movements to simulate a joystick that moves an imaginary little ball. No, what I wish …

Member Avatar for Voulnet
0
3K
Member Avatar for mahii
Member Avatar for AndreRet
0
113
Member Avatar for chromatinpt

Hello, I have some app like this: Form1 (Parent) -> open in load event a Form2 (child) which have a button that open a 3rd one child form (then close Form2). My question is how I can access a control property (like labeltext (in statusbar) in Form1)? Form1 Parent [CODE] …

Member Avatar for chromatinpt
0
188
Member Avatar for rteja

HI guys I am just started learning SQL server. I have installed sql server 2008 in one laptop (call it 1) and it is connected to internet now [LIST=1] [*]i want to access it from another pc which is connected with 1 via WAN. [*]and how to connect to sql …

Member Avatar for AndreRet
0
138
Member Avatar for randomized999

[CODE]Private Sub Command1_Click() Dim i As Integer, j As Integer For i = 1 To 10000 For j = 1 To 10000 Print "SDFGH========="; j Next j Next i End Sub[/CODE] when i click on command1, i want to view the enitre execution of loop,i.e, from [CODE=text] SDGGH=============1 SDFGH=============2 . …

Member Avatar for AndreRet
0
104
Member Avatar for nizbit

I'm trying to print horizontally not having any luck. I need to print I#x where x one through the length of a list i.e.-I#1 I#2 I#3 I#4 etc. This is what I have which is syntactically wrong: [CODE]for x in range(1, len(depend)): print "%05s" ('I#'+str(x))[/CODE] Could someone please point me …

Member Avatar for nizbit
0
153
Member Avatar for manimala.uma

Hi, I was new to c# and asp.net .I want to create a simple login page using ASP.net with c# code.I had 2 textboxs(username and id) and 1 button control.I stored all the username and id in oracle database.Ma table in database contents emp_name & password.what i need is ,once …

Member Avatar for nazee
0
2K
Member Avatar for new programer

I need to enter 10 students names I did a loop but it does not work well [CODE]# include <iostream> # include <string> using namespace std; //functions prototype void avg (double& average); char grade(double& average); int main() { // String variable for the student's name string name; double theAverage = …

Member Avatar for jonsca
0
145
Member Avatar for scriptkiddy

Hi, I heard that I can see how VC++ 6.0 converts my C++ code to assembly so I can rewrite it in assembly while removing useless junk. Could somebody tell me how this would be done? Well, guess ill just use ollydbg to see how my programs converted

Member Avatar for Ancient Dragon
0
231
Member Avatar for mr.white

Dear forum members, I'm working on an accounting software, which I was planing to do using C#. Now that I see there is WPF that I can use instead of WinForms, I would like to ask you a couple of questions. [LIST=1] [*]For an account software, which I would like …

Member Avatar for DdoubleD
0
221
Member Avatar for ruwanaru

I need a help with php i have a query it generate result that list of cars and i want is divide in to pages here im giving the table structure and the php file can help me on this [B]Table Structute[/B] [CODE] CREATE TABLE IF NOT EXISTS `cars` ( …

Member Avatar for ruwanaru
0
148
Member Avatar for ayesha789

Hi dear all I want to take snapshot of webpage and then save it into a folder. please tell me the basics , i am new to it.

Member Avatar for Devoted Hosting
0
78
Member Avatar for alsoumhi

Hi guys , I am trying to convert a web page to pdf , I have searched about this a lot but I did find any answer I have one program to convert using YAHP converter but I couldn't understand its parameters used in the program [code=Java]String fontPath = getParameter(args, …

Member Avatar for Airshow
0
112
Member Avatar for especta

byte range is 0x00 to 0xFF haw to write to text file like this byte 0x00 = byte 0x01 = byte 0x02 = ...... all to byte 0xFF Thanks.

Member Avatar for especta
0
817
Member Avatar for shishtawitch

how can i use a single account on my double sites.........either with cookies or any thing else...........!! suppose i have [url]http://www.mydomain.com[/url] and also [url]http://another.mydomain.com[/url] how can it use my single account with these both sites..........!!

Member Avatar for cwarn23
0
106
Member Avatar for RoyMicro

Hai May be too simple but I was not able to locate info on this.. My main form will have a button, when I click on it another form should appear. I can do it. I need the parent form there( no .hide) but it should not be 'click-able'. It …

Member Avatar for RoyMicro
0
109
Member Avatar for gogodr

I got it when trying to initialize my array of sprites (( the only one trowing me null is the sprite2D[] AllianceCharacters declaration: [CODE]sprite2D[] AllianceCharacters; static string Cardspath = Directory.GetCurrentDirectory() + "\\Content\\Cards"; string[] ActionBar = Directory.GetFiles(Cardspath + "\\ActionBar\\"); string[] Equips = Directory.GetFiles(Cardspath + "\\ActionBar\\Equips"); string[] CharactersAlliance = Directory.GetFiles(Cardspath + "\\Characters\\Alliance\\"); …

Member Avatar for Ravenheart
0
102
Member Avatar for mallak alrooh

Hello : I have this problem that Ineed to solve can you help plz??.... write aprogramto generate a business travel express attaachment for an income tax return. The program should request ias input the name of the organization visited, the date and location of the visit,and the expenses for meals …

Member Avatar for abu taher
0
93
Member Avatar for jonc

Hi, I've got a bit of a problem with an application I am writing at the moment. I know it has to be something small which I'm missing, but I can't figure out what it is. Basically, I have a Query (or Stored Procedure if you prefer) in an Access2000 …

Member Avatar for jonc
0
300
Member Avatar for redmaverick

I am a bit familiar with java, but I am pretty ambitious and I want to build a simple book store. I need some suggestions and help. I can create a simple homepage using HTML which has links, navigation menu etc. on the homepage I am good at GUI programming. …

Member Avatar for lelah
0
152
Member Avatar for th3learner

Hello I am doing calculation using comboxBox...But it is not doing correctly [code]a = int.Parse(textBox1.Text); b = int.Parse(textBox2.Text); if (comboBox1.Text == "*") { c = a * b; } textBox3.Text = c.ToString(); [/code] Any help here can point out where problem is ? Thanks

Member Avatar for ddanbe
0
183
Member Avatar for tactfulsaint

hello everyone, i need a code snipet that can help me retrieve username and password and to authenticate the password in the database..

Member Avatar for truth4life
0
173
Member Avatar for ruwanaru

In this db and query are working and the firs page but after the 2nd page the variables are not passing can any one help me on this [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php include("../init/db.php"); …

Member Avatar for ruwanaru
0
150
Member Avatar for nunchuckie

quick description: f(n)=n/2 if even f(n)=3*n+1 if odd with given start value it can step back and forth between the two eqtns. Example: f(7)=22, f(22)=11, f(11)=34, f(34)=17 You enter two start values. first and last start value and the program should generate all values in between. With a given max …

Member Avatar for mrnutty
0
153
Member Avatar for lewashby

How do I get my python code to compile one line at a time so I can see exactly how the code works. If anyone knows how to do this with Wing IDE that would also be helpful. Thanks.

Member Avatar for Mathhax0r
0
79
Member Avatar for HiHe

Does anyone use Python on a Windows7 machine? What is your experience? Does it work well? I am thinking about getting a new computer and also start some Python programming.

Member Avatar for mn_kthompson
0
112
Member Avatar for Cmad

Iam currently working on the design of preemptive scheduler iln Borland C. I want to know about the use of interrupts and timers in Borland C for preempting the task. Just clue of upgrading about them is enough.

0
63
Member Avatar for anbuninja

can anyone tell me why my output gives me - numbers? [code] #include <iostream> #include<iomanip> using namespace std; void getEmployeeData(int [ ], char [ ], int [ ], int); void displayEmployeeInfo (int [ ], char [ ], float [ ], int); float calculateGrossPay (char [ ], int [ ], float …

Member Avatar for jonsca
0
111
Member Avatar for turtlez

Hello, This is what i need: I have a php file on my website ([url]http://example_site.com/php_file.php[/url]) ((and no, that isn't the actual site)) And i have some C++ knowledge. Now how can i get C++ to send a variable (eg: name) to my php file. ((Client -> Server)) I have no …

Member Avatar for turtlez
0
116
Member Avatar for void64

I have a form with multiple SELECT drop-down menus. Each menu can submit the form using the onChange function. How can I determine which of the drop-down menus was used to submit the form? Example: [CODE] <form method="post" enctype="multipart/form data" action="submit.php"> <select name="one" onChange="submit()"> <option value="1">1st choice</option> <option value="2">2nd choice</option> …

Member Avatar for twomers
0
1K
Member Avatar for NotNull

Give me convience or give me death! The would-be programmer is introduced in some way to what could be compared to a CS101 course. He is taught about algorithms, variables, procedures, recursive functions, data structures and arrays. One of the fundamental steps for any program development is ease of program …

Member Avatar for NotNull
0
148
Member Avatar for chunalt787

I am just starting with python and I am trying to write a program that interfaces with flickr. I am using the interface flickr.py found at the following link: [url]http://code.google.com/p/flickrpy/[/url] I am calling the following function: [CODE]myPhotos = myPhotoSets[0].getPhotos()[/CODE] The shell is telling me there is an error in this …

Member Avatar for Mathhax0r
0
152
Member Avatar for roby22

i have 3 text boxes a b and c i would like to enter time into the a and b and have c calculate the tot time in hrs and minutes between those two.

Member Avatar for tonyfonseca
0
1K
Member Avatar for Dewey1040

So this is just the beginning of my questions, but I'm seriously having problems using classes in C++, I'm writing a program right now to plot points using asterisks on a 40 by 40 plain. right now I'm just trying to write the .h for the point class and i …

Member Avatar for sfuo
0
143
Member Avatar for kryz

I'm confused with pointers. I'm not sure how to get the vowels to show up in Case A. Also, I would need help by how to get the program to run again after case A instead of ending the program after each case. Should it be in if/else statement instead …

Member Avatar for Clinton Portis
0
789
Member Avatar for OffbeatPatriot

I'm making a game and when it starts up I want the game to load a file in it's jar and set the display according to the contents of that file, I can do that just fine. But if the file doesn't exist(the first time the program runs) or something …

Member Avatar for OffbeatPatriot
0
81
Member Avatar for gangster88

how could i square the result of function?.. so when i call the functioon [code] def sum(first, last): for i in range(first, last+1): print i return i**2 [/code] it gives the answer as 50, as it should square 3,4 and 5=50

Member Avatar for masterofpuppets
0
129
Member Avatar for dieom

What I am trying to accomplish here is to split a long integer apart so I can look at its first, last, and center digits. What I am currently using is this: [code]int main() { long i, t[1024]; i = 100; while (i < 150) { t = i; // …

Member Avatar for Ancient Dragon
0
90
Member Avatar for dewdropz

hi, i am new to c have to write a program to check the shape. I think the error is somewhere at shape= square. I know i can use printf statements but i want it in this format. Can someone help me please? [code] #include <stdio.h> int main (void) { …

Member Avatar for Ancient Dragon
0
209
Member Avatar for gangster88

When the function is called count(3,5) then it should display 3,4 and 5.. but my function only seems to show 3 and 4 and not 5? def count(first,last): for i in range(first, last): print i

Member Avatar for Mathhax0r
0
139
Member Avatar for Tales

I built a Visual Studio 2008 VC++ project, dialog based using HTML. In my HTML I have: [CODE] <form name="loadExcel"> Choose the file which contains the information:<br /> <input type="file" name="myFile" value="Search" id="myFileInput" /><br /> <input type="button" class="Upload" name="loadExcel" title="Import" id="loadExcelButton" /> </form> [/CODE] The user is supposed to browse …

Member Avatar for Tales
0
272

The End.