199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for motigeva

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> # …

Member Avatar for rafi1082
0
123
Member Avatar for moose333

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 …

Member Avatar for Mitja Bonca
0
159
Member Avatar for Stefano Mtangoo

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

Member Avatar for daviddoria
0
86
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
369
Member Avatar for dre-logics

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 …

Member Avatar for codeorder
0
201
Member Avatar for hsetaknev

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) { …

Member Avatar for Shankye
0
116
Member Avatar for cclausen7

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 …

Member Avatar for Fbody
0
137
Member Avatar for jeffpro

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

Member Avatar for jeffpro
0
609
Member Avatar for ccdsystems

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# …

Member Avatar for ccdsystems
0
130
Member Avatar for logicslab

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] …

Member Avatar for erayfield
0
165
Member Avatar for emaduddeen

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 …

0
101
Member Avatar for help!

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:

Member Avatar for jon.kiparsky
0
131
Member Avatar for kapilsolanki84

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 …

Member Avatar for VernonDozier
0
213
Member Avatar for potsy

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 …

Member Avatar for potsy
0
220
Member Avatar for Taggize

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 …

Member Avatar for ravenous
0
179
Member Avatar for cmaheshwari16

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 …

Member Avatar for sharathg.satya
0
8K
Member Avatar for Orion2k

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< …

Member Avatar for solfinker
0
244
Member Avatar for Java_90

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() …

Member Avatar for quuba
0
94
Member Avatar for s.butler1

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 = …

Member Avatar for s.butler1
0
973
Member Avatar for bussa.forums

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" ); …

Member Avatar for Fbody
0
502
Member Avatar for Dragon55544

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 …

Member Avatar for quuba
0
87
Member Avatar for rakibtg

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 …

Member Avatar for diafol
0
149
Member Avatar for petercpwong

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?

Member Avatar for mehdi991
0
314
Member Avatar for Mi-Dia

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 …

Member Avatar for Mi-Dia
0
72
Member Avatar for greatmind

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 …

Member Avatar for lagspike
0
106
Member Avatar for vedro-compota

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)

Member Avatar for vedro-compota
0
81
Member Avatar for kischi

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 …

Member Avatar for kischi
0
177
Member Avatar for vedro-compota

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)

Member Avatar for vedro-compota
0
144
Member Avatar for skorm909

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, …

Member Avatar for jonsca
0
259
Member Avatar for hmhb.in
Member Avatar for Shanti C
0
118
Member Avatar for sainigks

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 …

Member Avatar for benjaminFowl87
0
126
Member Avatar for Transcendent

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 …

Member Avatar for abdelhakeem
0
226
Member Avatar for Vikijo

[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 …

Member Avatar for AndreRet
0
1K
Member Avatar for saifjunaid

hi im new to java...i want to add data in database from html form and applet plz help me..

Member Avatar for masijade
0
75
Member Avatar for m3rp

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!

Member Avatar for AndreRet
0
157
Member Avatar for sachintha81

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 …

Member Avatar for vuyiswamb
0
246
Member Avatar for narlapavan

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 .

Member Avatar for ~s.o.s~
0
107
Member Avatar for abelingaw

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 …

Member Avatar for AndreRet
0
111
Member Avatar for navaidstech

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 …

Member Avatar for AndreRet
0
156
Member Avatar for serolfaceh

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 …

Member Avatar for AndreRet
0
1K
Member Avatar for vinitmittal2008

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) …

Member Avatar for Shankye
0
150
Member Avatar for Foogles

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 …

Member Avatar for AndreRet
0
138
Member Avatar for aviavyne

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 …

Member Avatar for WaltP
0
189
Member Avatar for Zubz15

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= …

Member Avatar for Zubz15
0
113
Member Avatar for Snehamathur

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 < …

Member Avatar for vinitmittal2008
0
294
Member Avatar for Sahiba

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 …

Member Avatar for mahesh_kumar_cs
0
152
Member Avatar for minimi

[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!

Member Avatar for hertze_bogdan
0
119
Member Avatar for PatrickE69

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 …

Member Avatar for hertze_bogdan
0
755
Member Avatar for ITjulz

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 …

Member Avatar for Random_Integer
0
272
Member Avatar for Aeonn

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 …

Member Avatar for Eric Cute
0
2K

The End.