132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nicko.dvz

Hi, I currently have an array which is added to a listbox. What I want to change it to is so it only adds it to the listbox on certain intervals of days (in the array, there is how many days that interval is for each item in days, but …

Software Development visual-basic
Member Avatar for jireh
0
93
Member Avatar for leegeorg07

hi again im looking to make a program that asks for a password and if that password is correct it will show a short story and if it is incorrect it will show so and then close. i want to include a backdoor code for my use and later on …

Software Development python
Member Avatar for leegeorg07
0
544
Member Avatar for anilopo

hi! i've got a problem i can't understand. i hope someone could help me.. :/ i've got this error: syntax error : missing ';' before 'tag::id' on this line in the code: [CODE]Graph :: Graph (char * str) { // constructor... } [/CODE] the decleration of this function in the …

Software Development c++
Member Avatar for anilopo
0
197
Member Avatar for mohankumar554

hi, how to add days to current date in python

Software Development python
Member Avatar for bhanu1225
0
127
Member Avatar for VBNick

Hi. I am trying to use assembly in C++, and need a few pointers(pun intended) lol I want to use C++ structs as operands, but can't figure out how. my code is like this so far: TEST.CPP [code=cplusplus] extern "C" WORD _add(WORD num1, WORD num2); int _tmain(int argc, _TCHAR* argv[]) …

Software Development assembly c++
Member Avatar for MosaicFuneral
0
491
Member Avatar for pt_solar

Hi I'm a beginner and I need some help with designing this program. It basically asks to make a class named Employee that has these variables: Name, Id Number, Department and Position. The class should have these constructors: 1- A constructor that accepts the arguments: Employee Name, Id Number, Department …

Software Development c++
Member Avatar for pt_solar
0
276
Member Avatar for dweller

Hello there guys, I'm new to C++ and i've got something to ask. I want to create several classes at different .cpp files. But i want to create objects from some of classes at other classes. let me explain it with an example: Main.cpp ClassA.cpp ClassB.cpp These are my cpp …

Software Development c++ queue
Member Avatar for dweller
0
185
Member Avatar for suretd

Good Day All, I have another question: I have done this program to sort a list of artist and their biggest hits, etc. It has 4 parallel arrays that i have to sort alphabetically using the Sort Option in the menu bar. I am using Bubble sort, to sort the …

Software Development audio java java-swing
Member Avatar for VernonDozier
0
150
Member Avatar for sanushks

Hi All, I'm running a C code on cygwin compiled with gcc, the code basically does file processing, it runs fine on my PC, but when run on a Solaris machine, it gives Bus error and core dumps. Is it a known issue? If not, is there any way i …

Software Development c
Member Avatar for sanushks
0
290
Member Avatar for cutieshunky

I am trying to figure out how to run programs and compile them in C++ if anyone can help please let me know. The major problem I am having is on this particular problem Prb04-3.cpp it will not let me run it. I tried to paste it on here and …

Software Development c++
Member Avatar for Ancient Dragon
0
105
Member Avatar for blur0224

I'm trying to develop a simple program that automatically downloads PDF files from a web server and organizes them into Files. When I download any .pdf file, the size is roughly 30% bigger than when I download it with a browser and it pdf opens, but does not display. So …

Software Development java open-source pdf web-browser web-server
Member Avatar for blur0224
0
215
Member Avatar for tizzo233

[code] // s2.cpp : Defines the entry point for the console application. // Project Stage 2.cpp : Defines the entry point for the console application. /* Algorithm Menu() Choose option Create a new expense Enter the initial amount of money in bank or to add money to bank from paycheck …

Software Development algorithm c++ file-system linked-list
Member Avatar for tizzo233
0
154
Member Avatar for zoner7

I'm trying to write my first game, and in order to do so, I need to design a recursive algorithm with backtracking capabilities. In the game, there is a grid of tiles. Some of these tiles back be moved to; however, a few of them are impassable. The goal of …

Software Development algorithm c++
Member Avatar for zoner7
0
86
Member Avatar for Majestics

[B]How to open a picture in c++ ( jpeg or any other format)[/B]

Software Development c++
Member Avatar for MosaicFuneral
0
137
Member Avatar for tksrules

I have answered few multiple choice questions.I am sure i have answered almost 95% correctly. Maybe you guys can identify if i have committed any mistakes.Just identify not solve.I will solve them myself.Just a hint what is wrong would help as i want to be sure all answers are perfect. …

Software Development c
Member Avatar for jephthah
0
215
Member Avatar for miniroselit

what is the syntax of returning a two dimensional to main function?

Software Development c
Member Avatar for Luckychap
0
148
Member Avatar for haven_u

After creating a class called student i aslo include a constructor and destructor the implementation code is shown below. student::student(){;} student:: ~student(){;} but i still have an error message as - " return type specification for constructor invalid" can any one help me figure whats wrong ??

Software Development c++
Member Avatar for haven_u
0
130
Member Avatar for jephthah

so im working in an environment (National Instruments) that auto-generates header files for the GUI. in my GUI, i have 150-some odd LEDs arranged in a matrix to represent a large relay bank. my LEDs are named and sequenced numerically like [code]PANEL_LED_1 PANEL_LED_2 ... PANEL_LED_150 etc...[/code] which would allow me …

Software Development c gui linked-list
Member Avatar for jephthah
0
98
Member Avatar for lipee36

Hi, i'm having the same problem here... I have to send a xml file from a server and receive 16 bin files for answer.. I know how to send string and etc.. and tried to use sendfile() to send at least the xml file.. but it didn't work out... here's …

Software Development c client-server xml
Member Avatar for jephthah
0
108
Member Avatar for fastfingers

Hello all, having a problem with an auto save function. [CODE]System.IO.File.WriteAllLines(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), Form1.myList.ToArray());[/CODE] basically it keeps telling me i dont have permissions, i even tried running my software with admin rights. I do have a couple of questions, 1: I have not specified a text title, and System.IO.File.WriteAllLines does not let …

Software Development
Member Avatar for fastfingers
0
94
Member Avatar for monkey_king

I'm trying to get myself acquainted with memory allocation and deallocation while writing a program that will actually be usefull for me. The program is a simple datareader, that tries to read a matrix from file. The "main" program which works is 'int get_lex(char *in,char *delims,char ***returnvals)' This will essential …

Software Development c++ ios linked-list
Member Avatar for monkey_king
0
131
Member Avatar for jeebz88

Hi, what I'm trying to do is call my validate() method from inside another method but it won't compile and I'm not sure why.. I'm pretty new at this. Here is my validate(): [CODE]ListNode* validate(const Position<T>* pos) const throw(PositionInvalidException) { Position<T>* tmp = const_cast<Position<T>*>(pos); ListNode* tmp2 = dynamic_cast<ListNode*>(tmp); if (tmp2.head …

Software Development c++
Member Avatar for jeebz88
0
100
Member Avatar for javaAddict

Hi, I am trying to use this method: [URL="http://www.cs.indiana.edu/cgi-pub/oleykin/website/OpenCVHelp/ref/OpenCVRef_CxCore.htm#decl_cvCheckArr"]cvCheckArr[/URL] As a parameter I pass an IplImage and it compiles, but when I tried to run got this error: "Unsupported format in function: cvCheckArr .cxmathfuncs.cpp " I checked the above file and found from the code that it tries to convert …

Software Development c
0
75
Member Avatar for intsoda

This problem is driving me nuts so if anyone can help resolve it i would really appreciate it. It is a unique situation in dealing with different user accounts. I have a win32 project in vs 2005 I create a thread that calls a dialogbox from resource when an event …

Software Development c++ windows-vista
Member Avatar for intsoda
0
123
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 …

Software Development c++
Member Avatar for amrith92
0
149
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?

Software Development c++ ide pdf
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 …

Software Development api c visual-studio
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 …

Software Development assembly
Member Avatar for swain
0
178
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 …

Software Development c++ windows-server
Member Avatar for nschessnerd
0
1K
Member Avatar for cool_zephyr

hey..will anyone tell me how to browse files and folders in a drive using C??

Software Development c
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. …

Software Development python
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 …

Software Development c++ ios
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 …

Software Development c++ image
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 …

Software Development c file-system
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> …

Software Development algorithm c++
Member Avatar for Ancient Dragon
0
204
Member Avatar for towelee
Member Avatar for DimaYasny
0
86
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 …

Software Development c++ data-structure linked-list
Member Avatar for HUPextreme
0
860
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 …

Software Development c
Member Avatar for ArkM
0
178
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 …

Software Development visual-basic
Member Avatar for Bob Jacobs
0
116
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 …

Software Development peer-to-peer perl xml
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 …

Software Development shell-scripting
Member Avatar for dragonflyheli
0
111
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 …

Software Development perl web-server
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 …

Software Development gui java java-swing user-interface
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?

Software Development python
Member Avatar for socksy
0
164
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 …

Software Development c c# c++ linked-list
Member Avatar for Vukinagauna
0
100
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 …

Software Development c++ data-structure
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; …

Software Development c ubuntu
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 …

Software Development c++
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?

Software Development c++ ios
Member Avatar for amrith92
0
117
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: …

Software Development java
Member Avatar for alias120
0
82

The End.