199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for NRaf

Hey, I'm having trouble with this piece of code. Basically, it's meant to look at a map file (which basically is a bunch of URLs paired to an ID) and then go through another file and replace each URL with it's corresponding ID. The code seems to work fine, but …

Member Avatar for Salem
0
3K
Member Avatar for Kidd87

When I run my switch, choose option 3, my program crashes. Would anyone know how to solve this? I want option 3 to [ICODE]delete node[/ICODE] from my [ICODE]linked list[/ICODE]. I do not know how to do classes. Please don't suggest a fix using classes. --------------------------------------------------------------------------------------------- my text file looks similar …

Member Avatar for Salem
0
219
Member Avatar for asmit1987

I need to store date from my application in to my database which created in MS Access now i use datetimepicker in my application created in VB.net 03 what shuold be the necessary code required for it plz help me with code snippet...

Member Avatar for Jx_Man
0
173
Member Avatar for safir8100

Hi, I am trying to get my python program to download ftp files directly in the program. Connection stuff is done. I managed to download through the command line, but now I want get the same thing done using a python program. Can anyone help me (all kinds of solutions …

Member Avatar for jlm699
0
114
Member Avatar for ChPravin

hello all, can someone help me in calculating the time complexities of the following algorithms: 1) for i ← 1 to n^2 for j ← i to i^3 k ← k + 1 2) i ← n while i > 0 for j ← 1 to i^2 x ← (x …

Member Avatar for sarehu
0
344
Member Avatar for Neptuned

I have been held up with this for about a week now and have searched all over for an answer to no avail. I'm sure it is a simple something I am missing but I'm still learning and obviously have a long way to go. Hope this is posted in …

Member Avatar for ~s.o.s~
0
102
Member Avatar for pletch99

Hi, I'm new to Javascript and I'm having trouble with my function to check for missing information in the code. Any ideas? Thanks

Member Avatar for essential
0
96
Member Avatar for Darklighter201

I need to finish this assignment by tonight. I have been working on it for the last five hours and I am completely stuck. Any help would be greatly appreciated! I have already talked to my teacher, but she is awful. No help at all. This is what I have …

Member Avatar for Darklighter201
0
76
Member Avatar for MadAxel

Im doing an application that runs on vb.net using oracle database. The function that i did is to select 3 combo boxes for the information to come out. The problem is i can only retrieve the records from the first selectedindex=0 of the ifelse statement and not from the others. …

Member Avatar for MadAxel
0
117
Member Avatar for dragonflyuk

I've got 3 date fields on a form, each is set using the standard datetimepicker.js, however I have set the resulting text field to readonly to prevent users entering silly date formats into the field. However the 3 fields must be in the correct order i.e. datetime1 must be before …

Member Avatar for essential
0
2K
Member Avatar for JustLearning

Header file provided by instructor [code=cplusplus] #ifndef BIGSTACK_H #define BIGSTACK_H #include "ministack.h" struct ListNode // Description of a ListNode struct { MiniStack* stackPtr; // Pointer to a MiniStack object ListNode* nextPtr; // Pointer to next ListNode }; class BigStack // Description of BigStack class { private: int num; // Total …

Member Avatar for Ancient Dragon
0
186
Member Avatar for Jennifer84

I am reading Comma delimited Large .txt files(About 50 Mb). Currently I am using the method below to step through the lines in the file. I have one other application that Read the exact same .txt file that I do. That application will reach the end of the textFile in …

Member Avatar for Jennifer84
0
7K
Member Avatar for stilldancin12

yet again right? Ok, so this time, the task is to write an application that asks the user for his or her birth date and replies with the day of the week on which they were born. So here is the code i have. [ICODE] package Ch2Scanner; import java.text.SimpleDateFormat; import …

Member Avatar for di2daer
0
102
Member Avatar for rbaena

Hi, I am trying to compile several files but I get this error... [rbaena@palautordera programs]$ make -f Makefile gcc acorr.c -o ../bin/acorr ../subroutines/postape.c ../subroutines/getframe0.c \ ../subroutines/getframe1.c ../subroutines/getat0.c ../subroutines/getat1.c \ ../subroutines/decode0.c ../subroutines/decode1.c -lm; /tmp/ccDVaRlH.o: In function `getframe0': getframe1.c:(.text+0x0): multiple definition of `getframe0' /tmp/ccIvJbx6.o:getframe0.c:(.text+0x0): first defined here /tmp/ccQc0KM1.o: In function `main': acorr.c:(.text+0xc41): …

Member Avatar for rbaena
0
79
Member Avatar for littleatomic

Hi, I am atempting to make a time scroll bar (like the bar one would find at the bottom of video where you can jump to a specific time). I am currently using a TTrackBar, with a TTimer that keeps updating the possition. The problem I am stuck with now, …

Member Avatar for espSquall
0
84
Member Avatar for chern4ever

i am trying to mod my input but i got an error : invalid operands of types 'double' and 'int' to binary 'operator%' i would also like to noe top/60 how do i not show the remainder. i am using dev c++ this is my code : [CODE]int main() { …

Member Avatar for chern4ever
0
329
Member Avatar for keanan

I have a form where I am using an image as the submit button. When I click on the button the form submits however when I press 'enter' the page simply refreshes. In my PHP code I use the submitok_x value to check the x co-ordinate value - if it …

Member Avatar for keanan
0
157
Member Avatar for SyLk

how do i declare a scanner object, filescan publicly so that i may use filescan in varios functions i found this statement in a forum----> private static Scanner scanner = new Scanner (1 3 4 4"); when I modified it to-----> public static Scanner filescan = new Scanner(new File("inputdata.txt")); //declared …

Member Avatar for Ezzaral
0
383
Member Avatar for urufukiba

I have a programming assignment for assembly and am having a bit of trouble figuring out where i've gone wrong. This is the assignment: I. Write an assembly language program with a data segment that creates the following labels and values (values in angle brackets are descriptions of the value …

Member Avatar for 1337Skillz
0
180
Member Avatar for diyaz

You are required to write a program which will: · Fetch inputs from the user · Ask the user how many words that he want to insert · Append the original inputs to the screen (and save to a file called as string.txt) · Append the scrambled inputs to the …

Member Avatar for iamthwee
0
187
Member Avatar for Sheryl99

I am writing a simple application in VB.NET to view JPG files. I have a slide show option, and can only get my PictureBox1 to display the last photo. ComboBox1 contains the directory and file information for each file. Here is my code. Thanks for your help! Private Sub cmdSlideShow_Click(ByVal …

0
82
Member Avatar for AutoC

Hi, In a function of my program, I open and close the file once every recursion...and the recursion is very large....I've made sure im not writing when its closed or not opening when its open or any of those trivial issues.Will this be a problem with the operating system?...because I'm …

Member Avatar for AutoC
0
101
Member Avatar for lumeniel

Hi I have this code and a problem that i don't understand. In [I]image_matrix[/I], a PixelArray object where there is a image. I want to separate this image in frames then I capture pixel by pixel in a double [I]for[/I] with the dimensions of frame. The variable [I]h[/I] represents each …

Member Avatar for lumeniel
0
100
Member Avatar for sanfan49er

I need it in descending order and also the ability to use decimals I tried to put double in everything but it wouldn't work it says that the array doesn't match with int. Help PLEASE!!! [code] #include <iostream.h> void selectionSort(int *array,int length)//selection sort function { int i,j,min,minat; for(i=0;i<(length-1);i++) { minat=i; …

Member Avatar for sanfan49er
0
5K
Member Avatar for TheMoosiah

Hi, I'm having trouble with one last part of finishing my basic level C++ class. The program requires you to enter your 3 cards so that it can program the total of the cards. Everything seems to be in order so far, but I do not know how to set …

Member Avatar for VernonDozier
0
96
Member Avatar for bryanleo

Hi how do I flush a specific number of bytes in the Input buffer? I don't want to use flushInput() because it removes all bytes. I just want to remove a certain size. What command can be used? Thanks, Bryan

Member Avatar for jlm699
0
123
Member Avatar for Kamal_Java

Hi ... [ Need ur suggestion NOT code .... ] This is one part of my assignment .. I need your help on how to do this . Below is my short description of my problem ... I have two classes Named Passenger class and container class . Passenger class …

Member Avatar for stultuske
0
2K
Member Avatar for zzmgd6

help. I do everything in C++ with STL but I have to utilitize legacy C functions within my member functions (methods). The legacy C function signature is... extern int UF_DRF_create_label( int num_lines_text, [B]char text_string[ ][132+1][/B] , double origin_3d[3], UF_DRF_leader_attach_type_t leader_attach_type, UF_DRF_object_p_t object, double model_pos_3d[ 3 ], tag_t * label_tag); My …

Member Avatar for zzmgd6
0
204
Member Avatar for josbro79

Hi, Im not really sure if this is in the right forum but it is about MS Access so i thought here was as good as anywhere. Basically i am trying to make a front end for an ms database - and to be totally honest i dont know where …

Member Avatar for timothybard
0
103
Member Avatar for godlike111
Member Avatar for botter911

I have made a function that detects F1 key at the end of the program and starts it again. But what I wanted was that even if user is in the middle of the program when the user presses F1 it immediately restarts the program. Here is my code: [code] …

Member Avatar for botter911
0
115
Member Avatar for SubProf

Hello everyone, On my webbrowser when it displays webpages the text is larger than normal and the whole page doesn't fit into the webbrowser and requires scrollbars eg google homepage. This doesn't happen when I view the same page in Internet Explorer. Does anyone have any suggestions as to how …

Member Avatar for LizR
0
130
Member Avatar for nachon

Hi Everyone. I'm kind of new. For some weeks I've been studying cpp using devcpp and it worked just fine. I changed my PC and now I am trying to program in Builder c++. I am reading a Builer tutorial and Im doing OK with the frames and all of …

Member Avatar for nachon
0
145
Member Avatar for JONZ

Can anyone fix my code especially in the updateRecord function because instead of updating,data remains the same. [CODE]int newRecord( FILE *fPtr ) { /* create clientData with default information */ struct clientData client = { 0, "", "", 0.0 }; int accountNum; /* account number */ /* obtain number of …

Member Avatar for Ancient Dragon
0
111
Member Avatar for sudjust4u

hello. I'm b-tech final year student and making final year on "Network Monitoring System",my platform is C#.net ,i have basic knowledge of C# and my query to all experts that... what are the basic feature that i must include in my project and i want technical support... I'm very dedicated …

Member Avatar for LizR
0
324
Member Avatar for rizwan6feb

There are two versions of my application. First runs on a local server and the second version runs on a client machine. The application on the local server performs that following tasks 1. Pulls data from an online Mysql database and stores it in a DataSet 2. Makes changes in …

Member Avatar for timothybard
0
118
Member Avatar for jackie_lee

any recommendation for a good reciprocal link exchang script? should be able to organize links into categories, search engine friendly web pages, etc.... Pls. advise.

Member Avatar for Krist01
0
466
Member Avatar for chanda gul

Hy.... I am trying to read the boot sector of my C: drive formatted with NTFS...but i am not getting the right information....can any1 help me finding the reason behind it..thanx here is the code: [CODE=cplusplus]#include "stdafx.h" #include "sunday_version.h" #include <conio.h> HANDLE h; #ifdef _DEBUG #define new DEBUG_NEW #endif #define …

Member Avatar for mitrmkar
0
123
Member Avatar for suyogv

Hi All, PLease can anybody suggest, how we can convert documents to PDF format in C# without using any third party controls. Please suggest. Thanks, Suyog V

Member Avatar for peter_budo
0
90
Member Avatar for rickya100

Hello, Thanks for checking this out. Basically I have a form that uploads an image and stores it in a folder. I then run a thumbnail function on it and store a thumbnail version of it in a sub folder. That all works but the bit I'm getting stuck on …

Member Avatar for cwarn23
0
280
Member Avatar for Atif Azmi

Differentiate switch and if statements in java. Explain nested switch with example. how can we use break as a form of GOTO statements

Member Avatar for stultuske
0
96
Member Avatar for chenmanalo

:'( please help.... can you give me a full program of a game using java? i don't know it... please give me some idea... give me game program, the important is it is a game... please thank you and God bless!!

Member Avatar for stultuske
0
79
Member Avatar for Elmo_loves_you

Hey Guys, im a fairly novice programmer I would just like to hear some views / opinions on how you would go about implementing the following: I need my program to save data to a textfile giving the file a name and adding a number to the end eg filename_1.txt. …

Member Avatar for Elmo_loves_you
0
250
Member Avatar for dnmoore

I have to create a program to calculate the number of years it will take to become a millionaire if i invest a certain amount and receive interest on it. I need a little help on how to start it, the only thing i have so far is we have …

Member Avatar for stultuske
0
527
Member Avatar for mukulbdcoder

Hi I can loginto a site like [url]http://www.abc.com/profile/[/url] with WebRequest.Create and network credentials and capture html code. But i cannot loginto for [url]http://www.abc.com/some.php?id=123&name=abc[/url] with WebRequest.Create and network credentials to capture html code. How can I do it. My problem is with query string .. ?id=123&name=abc

Member Avatar for LizR
0
177
Member Avatar for Prahaai

Good day. I am using python for quite some time now and i decided to advance a little. I want to write a little extension, or add some C modules for my python. I use Active version. What i want to do is write some wrappers for a game library, …

Member Avatar for Prahaai
0
160
Member Avatar for emilio

my class has an enum definition as property, and an enums type array as property like this: [CODE=java]public class GameBoard implements Serializable , Cloneable { private final int N = 8; public State[][] Board = new State[N][N]; public enum State { empty,player1,player2; }[/CODE] i want to write a clone method …

Member Avatar for emilio
0
96
Member Avatar for W@n

Hi, i am facing a problem with storing data into linked list. I have previously store the data read from the text file into an array but now my assignment require me to store all this record into a linked list. Can anyone help? May i know how to do …

Member Avatar for W@n
0
3K
Member Avatar for rosepleasure

Hi, I am a newbie here. I have some wondering thing. Can all friends give me your comment, what do you think about the programmer who keep all their backup files on the server? For example: We use osCommerce to make our shop but every time when make a change …

Member Avatar for rosepleasure
0
168
Member Avatar for ning

hi, i am creating a program that reads input from a file into a sudoku square. and my program is supposed to check all rows, columns, grids for any repeat numbers, and if there are repeat numbers, the program is supposed to tell me which number is being repeated in …

Member Avatar for iamthwee
0
119

The End.