199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for osirion666

int test = numbers.length; if (numbers[i] = test) { } i want to find the last array in numbers then do something with it for example out put it the above code is my attepmtp at it however i am doingd something wrong and cant for the life of me …

Member Avatar for peter_budo
0
97
Member Avatar for cruisx

Hi, i need some help to make a prograsm that will read from a file and sort the numbers in lowes to highest order. For example the file will contain 5 4 3 2 1 and i want to to come out as 1 2 3 4 5 . How …

Member Avatar for amrith92
0
149
Member Avatar for BzzBee

I want to fetch records from database and want to show listing in xml form. e.g [CODE] <url> <loc>http://www.test.com/about-us/</loc> <priority>0.64</priority> <lastmod>2009-05-04T10:10:21+00:00</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://www.test.com/about-us/about-factory/</loc> <priority>0.64</priority> <lastmod>2009-05-04T10:10:21+00:00</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://www.test.com/about-us/chairman-massage/</loc> <priority>0.64</priority> <lastmod>2009-05-04T10:10:21+00:00</lastmod> <changefreq>daily</changefreq> </url> [/CODE] the urls are dynamic. I am using statically now but want to use dynamically. …

Member Avatar for somedude3488
0
80
Member Avatar for m.s.sigdel

I am doing a project in c++. I want to open Pdf files. HOw can I do it in turbo c++. Should I have to switch to other IDE?

Member Avatar for tux4life
0
100
Member Avatar for Pramoda.M.A

Hi All, I am facing problems with free() API of ANSI. I am using Visual Studio 2005. I am using 2 char pointers. If i copy from one to another and after if i try to free source pointer, it is giving exception. How to debug this problem? Please help …

Member Avatar for jephthah
0
85
Member Avatar for Bramenator

Hi Guys. I've been searching the web for a solution but it seams as though I have to ask a question....LOL I have a couple of Projects consisting of a fex apps and Dll's all in one solution. One of my Classes is Called GlobalVariables which is referenced in all …

Member Avatar for swain
0
178
Member Avatar for woodstur

Hi all, Apologies to be a pain but I'm relativeley new to .net programming and I need a little assistance please. I have created a login and registration pages using the control for .net 2.0 and tested locally I can add users and login to the site. However, once published …

Member Avatar for serkan sendur
0
88
Member Avatar for nschessnerd

Hey, I wrote some code to send http (see below) and i get a connection error 10056 which means its already connected. However on wireshark i see rst packets from the server, and it doesnt send a packet... In my program i call connect sock then sendhttp. i only call …

Member Avatar for nschessnerd
0
1K
Member Avatar for cool_zephyr
Member Avatar for Salem
0
104
Member Avatar for hunterm

I am in the process of writing and debugging a Python version of Mastermind. I have to use classes, so I have them all in their own files. I have them called and such. My problem now is that a part of the code likes to repeat itself ad infinitum. …

Member Avatar for _Nestor
0
2K
Member Avatar for stardustmeri

I am new to ctt programming and I am having some problems trying to get an understanding of what this programming is all about. The following program is the code. Note that in the program we must include the requirement that the program end if the user inputs an invalid …

Member Avatar for _Nestor
0
138
Member Avatar for firehazrd0

I *finished* my first program. Compiled it, ran it, tested it. I like it so I saved it. Now when I go into the folder i saved it to there are two files: 1 .cpp file that opens the code in my compiler. 2 .exe file that opens the program …

Member Avatar for firehazrd0
0
271
Member Avatar for madtorahtut

Hello! I am rather new to c, and I am having a parsing problem. What I am trying to accomplish: I have a file filled with assignment statements such as: [CODE]var1=5 var2=80[/CODE]...etc. I want to parse through the file and then do a check to see if the variables exist …

Member Avatar for Narue
0
97
Member Avatar for Peter_APIIT

Hello to all, i have developed a miller rabin primality test program but return me wrong result all the time. I don't know what wrong with it after few days of debug. Code: [code=cplusplus] #include <iostream> #include <sstream> #include <string> #include <bitset> #include <vector> #include <limits> #include <algorithm> #include <functional> …

Member Avatar for Ancient Dragon
0
204
Member Avatar for towelee
Member Avatar for asp_see

I am very new to this.. I have used a repeater control and it fetches about 100 records from the database. Inside the repeater control, I am having 4 columns and in one column, I hav used one dropdown list as [code=asp.net] <asp:DropDownList ID="st" Runat="server" AutoPostBack=true OnSelectedIndexChanged="go_change" CssClass=rtd Runat=server> <asp:ListItem …

Member Avatar for asp_see
0
183
Member Avatar for HUPextreme

hi there, i'm quite the beginner at c++, just got to my last project for my course to do. The project asks me to create a family tree using linked list. It says the tree and its components should be templated so it can have a family tree of any …

Member Avatar for HUPextreme
0
860
Member Avatar for m-hrt

i have 3 tables i want to show the data from them to a page. table1 "trip" table2 "seat" table3 "user_information" show all the data of table one which is working its showing but how can i show multiple table data any ways. show all data of trip and seat …

Member Avatar for m-hrt
0
178
Member Avatar for Dewey1040

Ok i know this has all sorts of issues, im getting tons of errors, any suggestion on where to start? [code=C] #include <stdio.h> #include <stdlib.h> typdef char byte; void memcopy( byte *to, byte *from, int count ) { while ( count-- > 0 ) *to++ = *from++ ; } int …

Member Avatar for ArkM
0
178
Member Avatar for jaypaul

Hi friends, i got one query and would like to share with you, working on a tower defense type game. A while ago I posted asking about maze logic and was kindly directed towards A-star pathfinding. It is perfect. I understand the concept and it makes sense. Now the problem …

Member Avatar for SlayingSoul
0
113
Member Avatar for lamiv007

Hello, My brother asked me to create an application where he can save all his data and retrieve at any time, which does all the calculation. A friend of mine suggested PHP and MySQL would be a better option. I know HTML and CSS but very little of PHP. As …

Member Avatar for ithelp
0
93
Member Avatar for Reggie32

I've worked up a site for a friend who wanted a horizontal scrolling site -I've managed to do it ([url]www.testdrive-site.co.uk/site2[/url]) for Firefox etc. but the links didn't slide the page across to the relevant 'page' in iE. I checked the site and now it validates but doesn't even load in …

Member Avatar for Reggie32
0
95
Member Avatar for etc123

when i install mysql, my computer keeps restarting I can't even uninstall it! i fixed it by logging into Safe Mode and do a System Restore. MSQL is now uninstalled, so it's fine now. I want to have MSQL working. - using XP SP2.

Member Avatar for nav33n
0
112
Member Avatar for rariti

I am trying to greatly shorten code on my pages. Is it possible to include variables in my fetch fields? The below will all exist on same php page. Here is the code I want included in my fetch [code] // variables to include in fetch $abc = stripslashes($row->abc); $def …

Member Avatar for rariti
0
111
Member Avatar for Bob Jacobs

OK so I have created by VB application I have created my setup files. I have zipped them up with winrar, selecting .Zip as the format. I have put the zipped up file on my ISP, and I have a web page with a button linking to the zipped up …

Member Avatar for Bob Jacobs
0
116
Member Avatar for bimaljr

Hi I have a variable which contains this data : $text = [QUOTE]This is the company’s profile info, Please see this. “This is special announcement,” I have this texts.[/QUOTE] Now I want to remove the special characters from this variable. I want to remove ’ “ and some other non-standard …

Member Avatar for nav33n
0
150
Member Avatar for BenzBoy

Hello Everyone, I'm a newbie and was just trying to figure out how to get a website published. I'm on a Mac and can set the site up on it but I need a FTP. Is there any where I can get a simple website published for free. I don't …

Member Avatar for BzzBee
0
109
Member Avatar for vigneshrao

[CODE]Hi, I have been working on a script that loops through multiple records and sends data (one record per call) to a WS. I am supposed to make a new call for each record before sending the data. The problem I have is the first record gets processed fine where …

Member Avatar for KevinADC
0
134
Member Avatar for dragonflyheli

Hello everyone, I'm looking for some help with these simple tasks. I actually need this just for linguistic analysis, so I'm sorry for asking probably dumb questions. :) There is a simple code that uses grep to find lines that contain a certain word in one file. [code]linecount=`grep "someword" $1/*file.txt …

Member Avatar for dragonflyheli
0
111
Member Avatar for bharanidharanit

Hello, I am using visual webdeveloper 2008, I have created users using asp.net configuration. Now i am having 2 roles admin and users, And i am having 3 pages as login,register,secured So wen i enter the website as admin all these 3 pages must be visible to the user. Wen …

Member Avatar for Poojasrivastava
0
102
Member Avatar for sowmyav

Hi, I would like to know whether the Data parsing can be done by perl scripting by checking the specified the webpage and fetch the data from the page and load the same i nto the sql server table. In the sql server table, it checks for a value called …

Member Avatar for kenji
0
133
Member Avatar for onlinegear

hi there i am trying to creat a subtotal for each row i have created and for each item in the combo box i dont know how to do this can some help plz [CODE] /* * To change this template, choose Tools | Templates * and open the template …

Member Avatar for peace_of_mind
0
114
Member Avatar for socksy

I installed it, and I'm trying to follow the tutorial but it won't work right. I made the test file, but when I type "python test.py" in command prompt it doesn't work. What am I doing wrong?

Member Avatar for socksy
0
164
Member Avatar for JFunk

Hi, this is the first time I have posted a question. I'm really hoping for somebody to help me. I have a text box in a report that I need to populate via a function. The data required (OPENING BALANCE) is already in another query titled: "qryEOD Report Query". I …

Member Avatar for JFunk
0
107
Member Avatar for Vukinagauna

Please can some one help me here; I have 4 questions to solve /a. Write a member function to check whether two singly Linked List have the same contents. //b.Write a member function to reverse a singly Linked List using only one pass through the list. //c.Insert a new node …

Member Avatar for Vukinagauna
0
100
Member Avatar for billymcguffin

hello, i was wondering if there is a way to automatically crop a picture, or only show a specific part of it with javascript. i dont know if this is important or not, but i want the cropped picture to fill the div its in, no matter what size the …

Member Avatar for essential
0
104
Member Avatar for BillyMako

[IMG]http://i36.tinypic.com/11rus5g.jpg[/IMG] So far i have a database with all data in it. I have the 1st text field where the user enters their postcode and then the page reloads populating the drop down menu with the corresponding suburbs. Next what i want is after a suburb has been selected in …

Member Avatar for itsjareds
0
507
Member Avatar for jesseb07

hey, got a quick question regarding template classes. I've made several data structures that I've found to be very useful (using template classes) but it's getting tiresome making a new explicit specialization every time I implement it in a new way. Such as if I want to do this in …

Member Avatar for jesseb07
0
131
Member Avatar for Quessir

Hey guys. Trying to implement associative array with the help of libJudy. Here's small test, that doesn't work. Please, help me to find, where i did wrong? [CODE] #include <assert.h> #include <Judy.h> typedef struct { char *hash; int id; int views; } Watch_t; Pvoid_t dict = (Pvoid_t) NULL; PWord_t rcw; …

Member Avatar for Ancient Dragon
0
343
Member Avatar for waldchr

I need to know a way to open a notepad document from one of my programs without opening a console window. The calling program is a standard window, so it would look bad if a console widow opened. There are a couple of things you should be aware of as …

Member Avatar for waldchr
0
213
Member Avatar for Usura

anyone know why this wont work? [CODE] fstream f; f.open("a.dat", ios::in | ios::out | ios::binary); [/CODE] it doesnt create a.dat... also how would i switch f from read state to write state?

Member Avatar for amrith92
0
117
Member Avatar for Potato.Head

Hi to all, I'm developing a web page and the requirements is that the page must include an iframe and the user can insert an URL address and the page will be displayed in the iframe(I write awhile a question displaying contents ion iframe and I receive an answer the …

Member Avatar for almostbob
0
90
Member Avatar for alias120

I am having a lot of trouble getting this program to work properly. No compilation errors, but this is the output i get when i compile; init: deps-jar: Compiling 1 source file to /home/alias120/NetBeansProjects/createFile/build/classes compile: run: Checking to see if file already exists... true You produced the following file contents: …

Member Avatar for alias120
0
82
Member Avatar for GDICommander

Hi, everyone! I'm having problems with the implantation of a free camera in a 3D world. For now, I'm using the A/D/W/S keys to make the camera go right, left, forward and backward. The problem is that I don't see the effects of the forward and backward movements. Even with …

Member Avatar for MattEvans
0
2K
Member Avatar for tomtetlaw

How would i go about storing the time it took to excecute my script into a variable? any help would be appreciated :)

Member Avatar for wildog
0
95
Member Avatar for arunasingh

I have problem in my project ,that is ,i want that time clock is reduced by a specific time suppose in online exam given time is alloted and after a specified time admin will block the exam ,so i want that timer is decremented . Suppose aloted time is 01:00(hh:mm) …

Member Avatar for Teme64
0
114
Member Avatar for veledrom

Hi, I have created an pure OOP e-commerce web site with PHP. I want to make sure that my class files cannot be seen or downloaded by anyone. What do i do now? Other files html, css, js can be seen, no problem. My hosting company provides me a folder …

Member Avatar for HITMANOF44th
0
63
Member Avatar for Qousio

Hello. Recently I have started to learn C++, however I ran into some problems. First of all, take a look at this part of code: [CODE] while (Uncomplete) { if(counter > 8) draw = true; if(draw == true) { PlaceCursor(0, 10); cout << "Its a draw!\n" << "continue?"; getch(); Uncomplete …

Member Avatar for ArkM
0
150
Member Avatar for rosiecomsoft

[B]IN JAVA!!![/B] what is this "noclassdeffounderror"??? i m getting this error at run time what should i do? while searching on Google i found this "public NoClassDefFoundError(String s) Constructs a NoClassDefFoundError with the specified detail message. [B]Parameters[/B]: s - the detail message." :confused:

Member Avatar for Ezzaral
0
82
Member Avatar for Arw

Good day programmers I am a beginner and I am designing a game with C++ using Microsoft Office Visual Studio 2005. I need to add pictures to it, and I wonder if there could be some code to add or open a picture. Could someone please guide me? Thank you.

Member Avatar for amrith92
0
1K

The End.