199,114 Archived Topics
Remove Filter ![]() | |
i got this exercise and i wrote this code. [IMG]http://img42.imageshack.us/img42/8331/37255827.png[/IMG] i have a problem with the bubblesort part becouse it thinkes it's void pointer. i don't think i nedd to write the program 8 times there must be a way tnx a million [CODE]# include <fcntl.h> # include <stdio.h> # … ![]() | |
Hello I need to stretch a bitmap image, i currently have a BMP file displaying in the form but it is only a few pixels big, i need to stretch the image to fit the form. this is my current code [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using … | |
I need to make inspection of my code to Optimise it. Which profiler do you use and recommend? I use CodeLite IDE with GCC Compile (MinGW on windows) and wxWidgets for all GUI stuffs Thanks | |
Hi, I know this is not PHP issue but we here writes a lot of database SQL querries so I hope for a help. I have a bible script that is supposed to query the scriptures between two intervals. My table is named Bible and have columns: ID (int), Book … | |
I use Visual Basic 2008 I had this code in Visual Basic 6.0 that the replace the ASCII value of [COLOR="Red"]decimal point [/COLOR]for the ASCII value for a [COLOR="red"]comma[/COLOR][CODE] Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii = 46 Then KeyAscii =44 End Sub [/CODE] But this does not work Visual … | |
i have a problem with my coding to fing wether given string is palindrome or not without using strcmp(); and srtrev(); it returns "the string is not a palindrome " for all string the [CODE]#include<stdio.h> #include<string.h> void main() { int n,i,j; char a[100]; scanf("%s",a); n=strlen(a); printf("the length ia%s,%d\n",a,n); while(i<=j) { … | |
How can I get a numerical value from a string? I am using the command "getline" to store a string. I want the user to be able to enter "assign 8 strength", right now they have to type "assign strength" over and over until they run out of points. Is … | |
Hey guys, I seem to always come back here for help because you guys are amazing. Alright, I need an alternative to ReadProcessMemory for a 4th year University project. I've tried googling for hours and I continue to fail. Hope you can help. Jeff | |
We're working on a very large project that has been exclusively written in VBScript/javascript/HTML. We're starting to port it over, page-by-page into C#. We have split out common constants and code into <# Include .asp files, but when we go to try to include these files into out new C# … | |
Hi pals, I got a complex Array from the Query. it's Structure is like [quote]Array ( [0] => Array ( [server_name] => anes.admod.net [id] => 1 [server_id] => 1 [description] => nice Anes Server [status] => 0 [max_down_count] => 9 [check_interval] => 15 [fail_recheck] => 6 [log_retain] => 1 [warning] … | |
Hi Everyone, I'm using MS Access as the database and using a command builder. .GetInsertCommand get the correct insert command text but .GetUpdateCommand gets the wrong command text. It even returns a primary key value of 1 which is not the actual value it should be. In order to get … | |
how do i display a histogram that is horizontal to vertical without using arrays. from: 0-29 **** 30-39 ** 40-69 * to: where the stars * in the catergory (0-29,30-39,40-69...) goes downwards not across the screen: | |
how to produce output without console window in c code? using dev c++ as compiler.say i have a prog. and it produces the output in console window as well as in text file. now i wan the output only in dat file not in console window. on executing the exe … | |
Ok, so I've been looking all over the web to try and solve my problem... I have an SQL 2005 database on a web server which displays information to customers via an asp.net web site which also offers interaction with the data. I also have a Windows .Net application which … | |
I'm finding issue with my current program. I built the program so that it reads an input code from a file and it is also supposed to display only the code's appropriate salary. However, for some reason, everything I've tried only results in all the salaries being pulled together, not … | |
Hi All, I want a C programme which will take a user input as a date and number of days, and then it will add the given number of days to the input date and will give the resulted date. It should keep in mind all the permutation and combinations … | |
well,I got some fundamental programming knowledge in C# and some Visual Basic. Inheritance,Arrays,Loops,DataBases,and create library files in VB.NET,create classes in VB.NET and ,create properties and methods and some other things. currently I follow Ivor Horton's Visual Studio 2010 and I feel it may take years to study the whole 1000pages< … | |
My whole program works completely fine ~400 lines of code including comments, but I have this at the bottom of my code. This is the last bit of code in my java program... Is this okay to have, if not what should I do instead. [CODE] private static void End() … | |
I'm trying to create a page to send emails to contacts in my database. I started by embedding an array in the page and then used a text file, both were successful and now I'm trying to take the information from a database. [CODE]$setEmailArray = array ("email@domain.co.uk", "email@domain.com"); for($i = … | |
i need to send the xml data to [url]http://developer.uidai.gov.in/auth/demoapp/9/9[/url] server but i got 510 as the error code can any one help me what is the problem i am using curl Api cpp function call has made like follows [CODE] int main() { HTTPClient* object=new HTTPClient(); object->SetUrl("http://developer.uidai.gov.in/auth/demoapp/9/9"); o->GetUrl(); o->AddEncodedPostField("input","test1.txt" ); … | |
Hi new to the forum, so go easy :) Im very new to Java and im a little stuck... I have to create a program which uses classes and objects, all of the objects need to be stored in 1 array. So, i have a super class called Student then … | |
i have found a free php email form, it is a good form but problem is that it has a custom title so emails are come to me as a custom title in my inbox. [I]define( 'PHPFMG_SUBJECT' , "[B]Here Is The Custom Title[/B]" );[/I] it's located in [B]/form.lib.php[/B] root. How … ![]() | |
![]() | I was just wondering if it was possible to upload an image using XHR rather than a hidden iframe? If so, do all modern browsers support it? |
I am making a forum script, this part is basically parsing the html for the categories then the html for the rows inside. For some reason the forums repeat themsleves and I have tried everything to clear the values incudling $forum = ''; and unset($forum); but nothing is working, and … | |
Hello there, i am very new in this community and i am very much interested in developming web pages with php but i am having trouble using all the php features. I am currently usig windows vista. what version of wamp sever do i need toinstall on my system? Please … | |
Hi) Tell me, please - why why this method doesn't work? - [CODE]private void MapForm2_Load (object sender, EventArgs e) / / loading the map. { Color redColor = Color.Black; Rectangle r1 = new Rectangle (1, 2, 35, 35); }[/CODE] thanks in advance) | |
Hi I'm tryng to make two boxes on my page always the same hight, no matter how much text is inside one of them. So the boxes will always be the hight of the box with the most text. you can see what I meen here: [url]http://wearecrunch.dk/test-globeaid/[/url] I would wan't … | |
Hello, dear Programmers! Prompt - how to get the coordinates (of picture box) of the point which was clicked (by mouse))? Thank you for your answer) | |
i have a major error whenever i run my code... im using visual studio c++ 2010 express. here's the code: [CODE]# include <allegro.h> # include <iostream> # include <cmath> #define down 0 #define left 32 #define right 64 #define up 96 int main(){ allegro_init(); install_keyboard(); install_mouse(); set_gfx_mode(GFX_AUTODETECT_WINDOWED, 640, 480, 0, … | |
how to ovaerload the method........ please explain with example | |
Hello Dear all, i have created a html page to insert data in sql table. my html page have date , month and year columns. which is stored in sql table in their respective columns. now i want to retrieve data from sql table in a php page. but i … | |
Write a program that tests maxLoc(). You can read a data file into a list and call the function maxLoc to find the largest element. HERE IS WHAT IS IN THE TEXT FILE(Name): Josh King Louis Tony Angel here is the code: [CODE]#include <iostream> #include <fstream> #include <list> using namespace … | |
[CODE]If strCardNum.Length <> 5 Then MessageBox.Show("Please enter a 5 numbers.", _ "Georgetown Credit", _ MessageBoxButtons.OK, MessageBoxIcon.Information) ElseIf Not (Integer.TryParse(strCardNum.Substring(0, 1), intNum1) _ OrElse Integer.TryParse(strCardNum.Substring(1, 1), intNum2) _ OrElse Integer.TryParse(strCardNum.Substring(2, 1), intNum3) _ OrElse Integer.TryParse(strCardNum.Substring(3, 1), intNum4) _ OrElse Integer.TryParse(strCardNum.Substring(4, 1), intNum5)) Then MessageBox.Show("The card number entered is not number") Else … | |
hi im new to java...i want to add data in database from html form and applet plz help me.. | |
Hi, I've been asked to create a character/text recognition system for my project. As i am quite a noob in this i hope u guys can help me out. does anyone have source code for this system? thankx in advance! | |
I have a simple ASP.NET page where after the initial page load the user enters a username and a password to two text boxes. Note that I can not use the built-in login control in ASP.NET, as my purpose of using this username and password is slightly different. Now, I … | |
how to copy data from one system to another in solaris.. i have tried rcp,scp commands but some times its not working.... tell me if there are any other commands other than rcp and scp . | |
OK, i have this Backup module for my system's database. Now i would like to have a module of restoring and deleting backups of it. Here's some info: The backup files created are stored in a Folder named "Backup" My database has 2 Columns having OLE type objects, Pictures and … | |
Hello all... I'm trying to populate a Flexgrid using an SQL query that involves values external to the database being queried. The database contains latitudes and longitudes of points of interest on Earth. Ie. Point A, -43.5644,-79.5432 Point B, -89.5433, 76.3343 Point C, 54.6433 , 65.4432 What I want to … | |
Im trying to do employee database using vb6.0, problem is that, is it possible that after clicking a command button this will call a PDF file... the Scenario is this: [command button] """""""""""""""""""""" "VIEW JOB DESCRIPTION" """""""""""""""""""""" [after pressing this will call/fetch the specific job description of the employee and … | |
Let P1 and P2 are two polynominals.. where p1 = 1 + 4X^2 + x^4 and p2 = 2x^2 + x^4 program is to multiply p1 with p2 p3 = p1 * p2 Like line 1: ( 1 + 4x^2 + x^4) (2x^2 + x^4) line 2: 1*(2x^2 + x^4) … | |
Hello all, I've been a part of this community for a while now but after making the mistake of permanently losing access to my email, I've had to change my username :P Anyways, I'm looking to throw my hat back into the programming ring. I have the basic knowledge of … | |
Hello, i have a project which requires that i work with three files. two files are text and one file is .dat Currently I have been successful at creating the dat and one of the texts. The project is a bit menu driven and is about stocks, when the program … | |
Hi, Im trying to print out section titles and instructions from a database, however the first section title gets printed twice, I've no idea what I'm doing wrong. Here's a code snippet: $query = $this->db->query('SELECT DISTINCT SectionTitle FROM SECTION WHERE SurveyID= '.$number ); $j=1; foreach ($query->result() as $row) { $secTitle= … | |
I want to know the procedure by which we can calculate time complexity of a C program. and how would we compare two algorithms. here are two sorting programs. how to compare both. [CODE] for(i = 0; i < n - 1; i++) for(j = i + 1; j < … | |
Hello frends i am new comer in this community i need help in php and mysql actually i am student of BBA and i got project in IT and i dont know how to use these languages ....is anyone help me than plz tell me..... reply me i have just … | |
[url]http://img195.imageshack.us/img195/6971/treeqg.jpg[/url] This is my tree.. one on the top is before and one on the bottom is after the change has been made.. did I do this correctly? Thank you in advance! | |
this is my final project for my java class. This is what im supposed to do::::: Write a program that can be used for reserving airline seats. You can use three algorithm building blocks (Sequence, Selection, and Iteration). The airline has 15 rows, with 6 seats in each row. Rows … | |
Write a java program that computes of the long distance call. The following cost of the call is determined according to the following rate schedule. a. Any call started between 8:00 am and 6:00pm Monday through Friday is billed of a rate of $ 0.40 per minute. b. Any call … | |
SO, I have been working on this Java program that is to emulate an ATM. I am having an issue with the program calling my functions. The code currently does not run. The user inputs 1,2, or 3 and the code breaks because I am assuming that the constructor is … |
The End.