199,114 Archived Topics
Remove Filter ![]() | |
I have a problem with the new program, it compiles and and it debugs, but when I get to the command lines and enter my function it gives me a debug assertion failure. We are supposed to be finding the sum of the area of rectangles used for close approximation. … | |
Hi All, i need yr help guys, i am developing a software in which i want to add one class object in MySql table, since there is no datatype available in MySql so that i can write object in to it, please do me a fever, what i should do … | |
I have put values into 6 elements of the vector Numbers like below. What I wonder is if there is any function to check for the Highest value for a given range of the vector. Say I want to find the highest value from elements [3] to [5] wich in … | |
given an array E.The first n cells of the array contain intergers sorted in increasing order.The remaining cells all contain some very large integer that yu may think of as infinity(call it maxint) .The array may be arbitrarily large(you may think of it as infinite),and you dont know n.Given an … | |
Hi !!! This script create folder. I need what this script create and open created folder. What I must add in this script...??! [CODE] @rem = '--*-Perl-*-- @echo off if "%OS%" == "Windows_NT" goto WinNT perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9 goto endofperl … | |
I'm completely new to C & need some help =( I want to make this clear.... This is a homework project that I'm stuck on so if you feel this is "cheating" then sorry for "offending" you. How can I change the tax rate in the executable file? This is … | |
I have 3 applets like this one that have walkers. What I need help with is adding an action listener to the buttons. I have tried several times and keep getting this error. I did have oneWalkerButton.addActionListener(this); [B]in java.awt.Button cannot be applied to walking[/B] What is supposed to happen is … | |
hi friends, i am having a Form in which there r 5 tab pages... however i want to enable/disable these tab pages on the basis of selection of some commands.. how can this be done ? i tried but i am not finding any enabled /disable property for the tab … | |
![]() | hi again i help with my carnival clubs fundraising and being lazy like i am, i wanted to make a program that would tell you how much to ask for after inputting information and would then save it into a text file. using griboullis' help from my other thread about … ![]() |
learning C++ and going through some codes. I'm puzzled by how the following piece of code works. It's from the msdn library as part of an example, and I know that the code works, but I'm puzzled by how the "%" sign works. [code=cplusplus] #include "stdafx.h" #include <stdio.h> int main … | |
I have an input form that requests a date from the user and have a pop-up window with a calendar in it. Problem is the window shows for less than a second and then goes behind the main page. I have used this exact code in several other places with … | |
Customer and Pensioner. Pensioner should be a subclass of Customer. These classes should be in their own files with separate header files. Details are below. Create a third class called Manager. The manager file can contain the main function. The Manager class should contain member functions that read a text … | |
Currently, all the functions work as expected, but the moving left and right. I want to alter my code to allow me to hold down right and left and for it to continue moving. I know there is a statement with the right syntax, I just dont know how to … | |
I have a problem that I've been poking at for 2 weeks and I'm stumped. The basic problem is this: If you have an array of objects (an ArrayList in this case), and each of these objects has more than one instance variable (3 variables in this case), how the … | |
I have a collections to be populated in a JSP combo box. Now suppose there is a different page for each user which displays user specific values in a combo box in that page. The combobox should display the value from the collection specific to the user. But my combo … | |
How can I use right-to-left text in a JTextArea? | |
Okay, so like many others i have an issue. I have written a pseudocode that is supposed to represent the issue below. #1 Write pseudocode for a program that calculates the service charge a customer owees for writing a bad check. Okay, i got everything right except my teacher turned … | |
Hi All I have a about java. and my question is i have a window open and in that window there is a add button when user click on the add button then a form window opens up and in that form window user can input anything thing want and … | |
hey guys..I'm trying to teach myself to writee code using C. The program I am working on now is to write a program that prompts a user for his/her age and then prints a message based upon the age range that the user’s age falls into here is the age … | |
Hi Guys, Im more familiar with coding in C# ... can someone please help me to convert the line highlighted below into VB.NET Much appreciated [code] private int file_count = 0; /// /// Get the file count of a given directory recursively. /// public void GetDirectoryFileCount(string dir) { dir = … | |
I am using a javascript navigation that drops down additional child links under a main link and those lists collapse/go away when you click on a different link. However I would also like to be able to click on the main active link again and have the navigation collapse/go away … | |
could someone can help on this code. upon click the search there is no output. hope someone can help me. [code=php] //search-exec.php <? { echo "<h2>Results</h2><p>"; //If they did not enter a search term we give them an error if ($find == "") { echo "<p>You forgot to enter a … | |
My aim is to read a part of excel sheet for which I have written C# DLL,Now I have to call my DLL from a per written unmanaged C++ program.... plz help n plz dont suggest to create a seperate C++ client program.....coz I can't do that... following is the … | |
Can anyone tell how to print a pascal's triangle... i've wriiten a code but it is not printing the triangle as the way iwanted it to.. here is my code: [code=cplusplus] #include<stdio.h> #include<conio.h> void main() { int n,a[50][50],x,y; clrscr(); printf("Enter the number rows:\t"); scanf("%d",&n); for(x=0;x<n;x++) { for(y=0;y<=x;y++) { if((y==x)||(y==0)) { … | |
Normally I call this function like this [code] void MouseButton(int button, int state, int x, int y); ... glutMouseFunc(MouseButton); [/code] But now I would like to pass a member function instead of a "real" (non-member? whats the word for this?) function. [code] class Plot { void Plot::MouseButton(int button, int state, … | |
Does SQL support ASCII data type?Or we need to do some type casting for it.? | |
I'm trying to instaniate (not sure if thats correct spelling lol) one of my classes but even though i've spelt the name correctly i keep getting a NameError: main: [code] import os import os.path import shutil print "#######################################################################" print "# FOLDER SORTER - VERSION 0.1 Beta #" print "# This … | |
I have some simple questions: 1) How can I restart my program immediately. For example, when the user press F12 it will restart immediately even if the program is not complete. 2) In scanf the problem is: for example: Height Width enter the perimeter: 2 3 < the Cursor moves … | |
Does anyone know if it's possible to create a shellscript that knows when it's fopen()ed? So when any process fopens() it, it can take an action? Thanks in advance, | |
What's the preferred way to pass a string to and from a function? | |
What are the main differences between trancate and Delete? And is "select" command is DML or DDL? | |
Hi, I need a PHP Shoutbox with Login feature so there will be no spamming. I have also MySQL database. I don't mind with of without MySQL facility. I just need a good ShoutBox. Thank You | |
hi, This is a doubt about the pseudo-eof.If i have an 8 bit system, Then the pseudo eof has to be above 8 bits...so should i allocate 16 bits for every character just so that my eof can exist?..if its a 16 bit system I have to use 24 bits? | |
Hi All,, Iam facing following problem in my application I have two database tables 1) Groups table - is used to store the details of selected .aspx pages. 2) User table - is used to store details of users and associated group.This table even store the privileages associated with each … | |
i have a small app that reads a forecourt program's database. i want to get the current shift's info from that and display/print it out. SELECT name, liters, amount FROM salemast ORDER BY name the above statement was my first idea, but that didn't add them. just got a long … | |
Instead of using the browser back/forward buttons, I want to create my own on the web page. Anyone have an idea as to how this is accomplished? | |
Hi How to start mysql with binlog option enabled in windows. thanks in advance awaiting your reply regards aras | |
i have the following: sudaneseonline.com/cgi-bin/posting/posting"sometext... I want to get the string up to the: `"` char, after the 'g' and before the 's'. Note- the string has no spaces. Thanks in advance. | |
def P(p_0, t, i): return p_0 * (1+i)**t when i call the fuction P(1000,7,5) it returns it as 1000 and any otha number i put as p_0 it returns that number and i cant figure out why | |
hai friends, I want to convert a general expression into excel formula for eg: Grade="A1" OR Grade="A2" OR Grade="A3" convert this expression into =IF(OR(Grade="A1";Grade="A2";Grade="A3"); thank you | |
I have recently started taking this class called Computer Logic Online and I'm having trouble processing flowcharts and pseudocodes. Any Help would be greatly appreciated! Here is a question that I'm having trouble with. Chocolate Delights Candy Company manufactures several types of candy. Design a flowchart or pseudocode for the … | |
Hey Guys, I want to know how can you connect to multiple tables at a time. I need one table to validate the username and pasword. I need another table to show his details. Please Give Some suggestions(I am using php and MySQL) | |
hello! i'm implementing an e-commerce system to distribute key codes. right now i'm thinking of a sql syntax to do the following: i have a table: orders here i have the orders_id field (unique for each order placed) with this orders_id field there may be more than one products ordered … | |
Hi I need some material on Python unit testing framework with examples. please help me in this regard. | |
Hi y'all. I was wondering if someone could help me out a little bit. I have a couple problems due in my Scientific Programming class, and I am fairly lost. I posted another question in the C forum, but I think I was able to solve it on my own. … | |
Hi Gang! I am new to the forums, and programming in general, so I apologize forthright if I am slow or just plain dense on anything/everything. With that disclaimer gotten outta the way, I have an assignment and I am not sure what exactly how to execute it. The problem … | |
I want some logic to shuffle numbers from array if a[5]={1,4,3,7,5,} then after shuffling 1,4,3,7,5 should be in any other order please help | |
Hey Guys, I've heard that SQL Injection is one of the most common tool that the hackers use to hack a web application. Can anyone please give me a brief overview of what SQL Injection is or any webpages that I can refer to. Thanks | |
Hi, Im using ASP.NET as front end and SQL SERVER as backend. i navigate the records in this using session variables. but its not working. [code=asp.net]Imports System Imports System.Data Imports System.Data.SqlClient [/code] After Inherits im writing [code=asp.net] Dim con as SqlConnection Dim com as SqlCommand Dim adp as SqlDataAdapter Dim … | |
[code] ... mysql_select_db(".... database name....", $con); $sql="UPDATE INTO Picks (Day, Month, Number, Competition, Sport, Country, ..... [/code] Working: [code] ... mysql_select_db(".... database name....", $con); $sql="INSERT INTO Picks (Day, Month, Number, Competition, Sport, Country, ..... [/code] ---------------- 2. I can't make work the output of the database data, anything I try … |
The End.