199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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- | |
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... … | |
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 | |
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 … | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
how do we create form caption [form title bar] effetcs like typing words. | |
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] … | |
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 … | |
[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 . … | |
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 … | |
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 … | |
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 = … | |
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 | |
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 … | |
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` ( … | |
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. | |
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, … | |
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. | |
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..........!! | |
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 … | |
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\\"); … | |
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 … | |
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 … | |
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. … | |
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 | |
hello everyone, i need a code snipet that can help me retrieve username and password and to authenticate the password in the database.. | |
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"); … | |
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 … | |
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. | |
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. | |
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. | |
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 … | |
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 … | |
![]() | 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> … |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 ![]() | |
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; // … | |
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) { … | |
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 | |
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 … |
The End.