132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for weasel7711

Trying to write code to concatenate two arrays of pointers to chars (char* example[]) The program should randomly generate a sentence using 4 arrays of prepositions, nouns, adjectives, and verbs. I found a concat algorithm somewhere on the net and modified it to fit my needs but whenever i execute …

Software Development algorithm c++
Member Avatar for Narue
0
192
Member Avatar for curt22

Hi everyone. I'm having trouble getting groups working in a list box.I'm trying to have two groups. One will be "Done", and the other will be "todo". I'm getting these errors: [QUOTE] In function `LRESULT WindowProcedure(HWND__*, UINT, WPARAM, LPARAM)': `ListView_EnableGroupView' undeclared (first use this function) (Each undeclared identifier is reported …

Software Development c++ data-structure listview queue
Member Avatar for knopper
0
572
Member Avatar for mannantes

HI, plz can you help me i have a text file like this : [CODE] [LIST=1] [*]telemetre_18_04_2007_11h_08_mn_50sec.dbt [*]1176887334023317 1 D 3 1.486789 124 -17.150263 [*]1176887334050289 1 D 3 1.506669 125 -16.790839 [*]1176887334077692 1 D 3 1.521077 126 -16.517200 [*]1176887334103341 2 D 3 1.579571 127 -15.251071 [*]1176887334130332 2 D 3 1.557395 …

Software Development c++
Member Avatar for mannantes
0
4K
Member Avatar for adrive

hi i've been playing around with RTF for few days now and there are a few things that i need advice on : 1.) Does RTF allow hierarchical grouping? 2.) Is it even correct to have multiple header within one RTF? I noticed RTF reader (well microsoft word in my …

Software Development pascal
Member Avatar for adrive
0
75
Member Avatar for locsin

Greetings! I designed a simple program in VB6 with a background picture in my main menu form. but when i try to install this program to other computer having different resolution or sized in the screen settings my background picture appears not fit in the entire screen. I used jpeg …

Software Development visual-basic
Member Avatar for SCBWV
0
620
Member Avatar for mohammadhaneef

Please note this is in Visual Basic 6.0 language not .net : I am facing alot of probem while creating a program which can show 5 different timezone of US on a form on 5 different label in connection with the system time. for Eg label1.caption "should be IST" Indian …

Software Development visual-basic
Member Avatar for mohammadhaneef
0
89
Member Avatar for nshh

I am using borland c++ builder 6.0 can you tell me how to solve this error? [Linker Error] Unresolved external 'hasp_login' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\DONGLE C TESTING VERSION2\UNIT1.OBJ

Software Development c++
Member Avatar for tarekkkkk
0
205
Member Avatar for notathing

My brain must ave rolled back too. Can someone point out why this is giving me an error (actually a windows error) when i run it, though it compiles with no errors in MV c++? [code=c++]#include <iostream> using namespace std; int returns300() { return 300; } void main() { int …

Software Development c++
Member Avatar for Salem
0
74
Member Avatar for jamesny89

I am doin a project for class that involves c++ programming. I am having trouble gettin it started though i posted the link below to the problem. Can anyone give suggestions to how i should approach this? THanks alot in advance [url]http://cis.poly.edu/cs1114/homeworks/hw03/hw03.html[/url]

Software Development c++
Member Avatar for Salem
0
160
Member Avatar for pawan_1983

i want to print date like 1st dec 1983,2nd,3rd 4th can any body tell me thanks

Software Development java
Member Avatar for mickinator
0
84
Member Avatar for joshmo

i have a problem calculating the cost with this code. the code is supposed to use the different call rates to calculte but it only uses the first rate. it is supposed to get the total cost of around 4 calls with different rates..sorry if it is too long but …

Software Development c++
Member Avatar for Salem
0
116
Member Avatar for rtm_e

Hi... i am a newbie in VB Programming right now i am tryng to make a simple programme that will connect VB with an Access Database Can i use a variable inside connection sintax..? Something like this.... What i want to do is accessing field NmPeg that suppose to use …

Software Development visual-basic
Member Avatar for debasisdas
0
118
Member Avatar for spick

Hi guys I'm trying to do this java exercise and I'm getting nowhere with this So I was wondering if anyone can help me out with this. 1. Create a PizzaOrder.java class with the following attributes and methods: PizzaOrder -size: String -toBeDelivered: boolean -count: int +PizzaOrder() +PizzaOrder(size: String, toBeDelivered: boolean) …

Software Development java
Member Avatar for mickinator
0
155
Member Avatar for coco86

hello guys , i got a problem with string let's say: i got a string like this : dim Amount As string [B]no error [COLOR="Red"]Amount = 0000780080[/COLOR] error [COLOR="Red"]Amount =000060005A[/COLOR] [/B] the problem now is the amount contain a value A at the end of the string. how am I …

Software Development visual-basic
Member Avatar for coco86
0
83
Member Avatar for NatalyC

Hello everybody :) I have a problem about sorting a linked list. The following is the code that I wrote in C, it works well at this moment; it just generates random numbers, it just prints the random numbers generated and the even numbers. But I need to sort these …

Software Development c linked-list
Member Avatar for NatalyC
0
99
Member Avatar for WINPUSLIKR

I know how to right c++ code to determine in an (int) is odd or even. How would I add a boolean function to do the same thing. I have to input an number then determine if it's odd or even. I have to add 3 numbers one at a …

Software Development c++
Member Avatar for Ancient Dragon
0
57
Member Avatar for go939

hey there! i would like to ask help on how to use the dlsym() in making a dll test program. can somebody gave me a sort of reference for me to study? THANKS

Software Development c++
Member Avatar for Duoas
0
138
Member Avatar for DeadJustice

I need help with enums. I don't get them. This is part of a larger assignment, so all I need to do is fix this. I'm trying to assign year levels of school to constants. [code=java] public class Student extends Person { public Student( String name, String address, String phone, …

Software Development java
Member Avatar for DeadJustice
0
191
Member Avatar for rrm089

B]I need to do this:[/B] In the Hi-Lo game, the player begins with a score of 1000. The player is prompted for the number of points to risk and a second promt asks the player to choose either High or Low (1 or 2). The player's choice of either High …

Software Development java
Member Avatar for Ezzaral
0
238
Member Avatar for balla4eva33

I'm trying to create some classes that work together via Operator Overloading. I have the main.cpp and the Distance.h files exactly how I want them, and now I just need help properly setting up my Distance.cpp file to link properly and run accurately with them. Here's a look at what …

Software Development c++
Member Avatar for balla4eva33
0
102
Member Avatar for RohitSahni

Hi All, I am calling one exe from my c++ code exe, now i want some(two or three) values in my c++ code exe from that exe which i am calling, Any idea how can it be done? Plz help me out in this.

Software Development c++
Member Avatar for n.aggel
0
86
Member Avatar for bluanwht

I really would appreciate it if someone could help me troubleshoot this code for my class. I am trying to get it to take input from textboxes and put the output into a list when the user clicks a button and likewise hide the list when the user clicks the …

Software Development visual-basic
0
77
Member Avatar for Rao veerla

Hi All, Could any one give an example of how to access a webservice in perl using REST, i have done it with SOAP::Lite, but would like to know how to achieve the same using REST. Thanks, Sagar

Software Development perl
Member Avatar for kfacets
0
118
Member Avatar for mrb260478

Can some one help me to : How to Read integers stored in a text file in the following format : 26 52 23 41 19 61 54 4 19 95 84 25 55 22 (integers delimted by a space.) to be used for sorting later. Have tried following code: …

Software Development c++
Member Avatar for Narue
0
149
Member Avatar for niki01

Some computers do not provide a privileged mode of operation in Hardware, is it possible to construct a secure O/S for these computers? Why and Why not? Please I need a feedback. I know it is possible to construct a secure O/S because the operating sys. can create a security …

Software Development c++ operating-system
Member Avatar for niki01
0
127
Member Avatar for BensonRoss

This is another problem that I'm having that goes along with a previous question that i asked. The basic program is that a person puts in two DNA strings that consist of only A,T,C,or G. DNA strings work to where A can only match with T, and G can only …

Software Development c
Member Avatar for Salem
0
81
Member Avatar for hemmysoft

Hi, I'm an IT student taking up web site development. One of the courses we are taking is Java. Anyway, I have been trying to change two String arrays to Boolean's. I keep getting errors all the time, and am at my wits end! Could someone show me how to …

Software Development java java-swing
Member Avatar for Ezzaral
0
105
Member Avatar for Triggerhappy41

First I'd like to thank the forum for helping me out with my look and feel issue earlier. The given code worked wonders. Now I'd like to be able to set up a scrollable GUI, but I have no idea where to start. I know JScrollPane and JScrollBar are involved, …

Software Development gui java
Member Avatar for Ezzaral
0
119
Member Avatar for need_Direction

Hi there, I have a problem in breaking a sentence into each string. i have tried to use find() to search for the " "(space), use substr to search from the first string index into the find space number. It works for the first string. But I am unable to …

Software Development c++
Member Avatar for need_Direction
0
120
Member Avatar for Chris147

Hi All. Does any one know how to add extra files (in my case .png's) to a VB 2005 installation? This used to be really simple in VB6, you just browsed for the extra stuff you wanted and that was that - not so with 2005. I have found the …

Software Development vb.net
Member Avatar for Chris147
0
154
Member Avatar for agrawalashishku

I am using 32 bit AT&T version of assembly on linux. Someone please tell me how to convert an integer stored into one ot the registers to a string that can be printed. e.g. 0x00066 should print as 102.

Software Development assembly
Member Avatar for Duoas
0
85
Member Avatar for rugae

I've know that a pointer to some dynamic memory must be deleted to prevent memory leaks. Now if say a struct/array or some other data structure, each with its own dynamic memory parts. If that structure (class, file...etc) contains the data structure goes out of scope does that automatically free …

Software Development c++ data-structure
Member Avatar for Narue
0
127
Member Avatar for MiTiM

I have one problem, and i have no idea what is happening? THE output gives some strange things: type of your cpu is: amd cpu speed is: 123 enter the year when it's produced 2000 enter the price of your computer [B] scanf: floating point formats not linked[/B] abnormal program …

Software Development c
Member Avatar for Salem
0
284
Member Avatar for hygeena

Hi, My datagrid is containig employee details with fields EmpID,Name nd Dept...I want to get EmpID,name,dept to corresponding text boxes when I m selecting the field(EmpId) from the datagrid.Hope u ll help me.. Regards Hygee

Software Development vb.net
Member Avatar for Triss
0
87
Member Avatar for iamthwee

Ok, I'm using Microsoft excel version 2002. And VB 2005 express. I have imported the com library. Project > Add reference > com tab > microsoft 10.0 object library. Now how would I go about reading data from the spreadsheet? Surely there must be something easier than using oledb? [url]http://www.codeproject.com/useritems/Work_with_Excel__VBNET_.asp[/url] …

Software Development asp vb.net
Member Avatar for Triss
0
93
Member Avatar for addicted

Hey, I just want to start using mfc to create windows objects, i have never tried coding using the mfc and opening the tutorial page on microsoft's msdn is the slowest thing that can happen around here. so i will like someone to quickly give me a hint on how …

Software Development c++
Member Avatar for Ancient Dragon
0
103
Member Avatar for Alv45525

hello guys, i really need help....i have a transaction table in ms access N i want to retrieve last 10 transaction from the table from my vb form...how am i suppose to do it???i used the folloing code but it is displaying all transactions of a specific account number. N …

Member Avatar for Alv45525
0
131
Member Avatar for Fredszky

I spent 5-6 hours today to try to get a working searchfunction for my textfile, can someone please put me in the right direction? I have this textfile, its a register over contacts: [code] Number Contacts = 3* James Brown:555-12345:james@brown.com Jack Yellow:555-42345:jack@yellow.com Sally White:555-12345:sally@yahoo.com [/code] For example, i want to …

Software Development c
Member Avatar for Fredszky
0
105
Member Avatar for eranga262154

Hi all, The topic is my question. I’ll explain it more. Just look at the following C++ code segment, [CODE=cplusplus] if(number_1 == number_2); { std::cout << number_1 << " == " << number_2 << std::endl; } [/CODE] Note that, I have put a semicolon just after the right parentheses. It’s …

Software Development c++
Member Avatar for eranga262154
0
1K
Member Avatar for joshmo

hey..would anyone help me with my code. the program is supposed to get telephone starting and ending times from a file from the user then outputs the total duration and calculates the cost. my program does all this but it is giving me a problem in finding the total cost …

Software Development c++
Member Avatar for joshmo
0
81
Member Avatar for Duki

Hey everyone, I'm still tweaking the attributes but here is what I've got: [B]All races:[/B] dmg = rand, where 0 < r < str [B]Human[/B] 25% chance of blocking 5% chance of double attack (attack x2) 10% chance of dmg+60 [B]Elf[/B] 5% chance of blocking 35% chance of double attack …

Software Development c++
Member Avatar for Mouche
0
180
Member Avatar for pdwivedi

I want to open a text file in a c program which is on desktop.How can I print the texts written in the file on screen.Please help [B]Regards Prashant[/B]

Software Development c file-system
Member Avatar for WaltP
0
125
Member Avatar for eranga262154

Hi all, I want to use a dynamic buffer in one of my application. I'll explain it in this way. Depend on one of my calculation I found a number(int value), and I want to define a buffer size to that value. Then after doing all the required process need …

Software Development c++
Member Avatar for eranga262154
0
87
Member Avatar for mrmonkee

I have an exercise like this: Design a simple text editor in console mode, not window form max character in a line is 80 user can move cursor up, down, to left and right, insert, delete character I don't know how to build it :( i should use linked list …

Software Development c++ linked-list
Member Avatar for jbennet
0
2K
Member Avatar for adrive

Hi, Is it possible to append a trichedit component's stream to another trichedit? LoadFromStream doesn't seem to work though, perhaps theres another way to append its Tmemorystream before passing into the LoadFromStream method?

Software Development pascal
Member Avatar for adrive
0
118
Member Avatar for Locke.Digitalus

The subject title says it all. Is it worth taking classes at a university? I'm impatient with myself, and I would love to learn Java (some Sourceforge projects intrigue me) quickly and accurately. Is it worth the huge investment in time and money to take classes somewhere, or even online... …

Software Development java
Member Avatar for Charles@NYC
0
241
Member Avatar for snehas

Hi, I am creating a small application which connects to an MS access database. I am using app to get the path of the mdb. This works fine when I am accessing the exe from my own machine. When I share the folder containing the exe and access it over …

Member Avatar for ryan_vietnow
0
132
Member Avatar for eranga262154

Hi all, I want to find the end of file in a CFile. What I've do up to now is, find the length of the file in bytes. Then do the required process with the number of bytes. Here is the code, [CODE=C++] int length = 0 ; CString str …

Software Development c++
Member Avatar for eranga262154
0
564
Member Avatar for russey123

Has anyone else had a problem with Java running on Firefox using windows Vista. I have installed java and it works on internet exploreer but i wont work on firefox when i tryed to install i get a a installation has failed doenst tell me why or anything just want …

Software Development java windows-vista
Member Avatar for eranga262154
0
75
Member Avatar for clski1973

I have trouble approaching my program assignments. First I write out an algorithm. and work out each part if the program. Then I get nervous. and overwhelmed. with the errors in compliling and such. I have been working on the current assignment several days. And am frustrated and 2nd guessing …

Software Development algorithm c++
Member Avatar for Duoas
0
308

The End.