8,298 Topics

Member Avatar for
Member Avatar for maggz

Hi..i need to know how i can make test with time.. I have implemented genric dynamic array with sorting algorith descending ascending and also operator overloading so ineed to test every function + sorting algorithm and it is template i do not know how to do that plz...help...

Member Avatar for Ancient Dragon
0
88
Member Avatar for JerryShaw

Please get rid of that darn Ask.com advertisement when writing private messages. When trying to write a message, the Enter key causes the Ask.com search page to launch. Makes it very frustrating to write a message. Jerry

Member Avatar for Dani
0
176
Member Avatar for maggz

[code] #pragma once #include <iostream> /* * Author: Makhdoom Shah 4872 * Date of creation:22/2-2008 * Date of revision: * Revesion #: 1 */ using namespace std; //typedef double itemType; // need for another type, change it here template<class T> class dynarray { public: dynarray( int s = 0 ); …

Member Avatar for Narue
0
290
Member Avatar for rahul.b123

I have undergone a basic course in C Programming and I wish to enrich my programming skills by learning how to code for graphics in C and my main interest is to learn to write virus and so on. Could you please guide me what books should I need to …

Member Avatar for DangerDev
0
94
Member Avatar for manu1001

I've an old C function that calls a function pointed by a global function pointer. How do I get it to call a member function of a class object determined at run-time. It'll be complied in a C++ project of course. My main motive is reusability here. So I don't …

Member Avatar for vijayan121
0
312
Member Avatar for USUAggie

Hello all, I am having a bit of a problem with a part of my assignment I hope you can help me out with. I created an abstract baseclass called Geometry and 3 derived classes called Box, Sphere, and Cylinder. I am having a few problems though and I hope …

Member Avatar for vijayan121
0
105
Member Avatar for digitz101

CAN YOU HELP ME W/ THIS? 1.) I want to create an array to store the total sales for an ice cream store for Monday through Friday. After the array is filled, ask a user to choose a day of the week (Monday = 1, Tuesday = 2, ....) and …

Member Avatar for lAmoebal
0
95
Member Avatar for bornok15

I've been having troubles in getting 2 variables from a function. I've tried to put 2 variables in a function and somewhat code it like in vb put it doesn't save it, even if i declare 2 variable as globals outside of the main. and also my loop statement is …

Member Avatar for bornok15
0
185
Member Avatar for danibootstrap

Hello,I have this C program which is equivalent to the com port.Useful for data logging from the sensors.It consists of the .c file and two header files cport.h and xmodem.h .The code compiles fine but there are lot of linker errors.I tried a lot ,pulled my hair but no use.Can …

Member Avatar for danibootstrap
0
995
Member Avatar for mikeandike22

i am trying to make a program in c# based off another program that was written in java i would like to know if anyone nows what syntax you use to link other source files to your program. in other words the c# equivalent to java's [b]import[/b] code.

Member Avatar for Nilkumar
0
196
Member Avatar for birdy_28

Hi Guys/ girls. I have written a small program for uni, and it involves the user inputting a message that is saved into a string. The only problem is that whenever i use a space within the message the whole program crashes. Can anyone help, i have given the code …

Member Avatar for VernonDozier
0
246
Member Avatar for knowledgelover

Hi there, I need a good site that describe the provided library in the C#.Net 2005 which is used in writing programs to have bluetooth communication with mobiles or computers . Thanks

Member Avatar for Ramy Mahrous
0
53
Member Avatar for majestic0110

hi all I have a connection to a sql d/b that loads data into a gridview. now in this grid view I have edit buttons that process user onto the 'edit' page (a separate page). the data from the row that was selected for editing was sent to the next …

Member Avatar for majestic0110
0
255
Member Avatar for birdy_28

Hi. BEFORE YOU THINK I AM JUST GETTING SOMEONE TO DO MY WORK, SCROLL DOWN AS I HAVE MADE A VERY GOOD ATTEMPT AND AM RECEIVING ERRORS! Basically i am fairly new to C++ and have been given a small class exercise to do for home work and am struggling …

Member Avatar for vijayan121
0
113
Member Avatar for hammerhead

I just started with image processing concepts and cannot decide upon a platform to try examples on. The two most commonly used platforms are Matlab and C# (using Aforge libraries). I know a bit of both and learning the syntax will not be a problem. Which one should I go …

Member Avatar for hammerhead
0
92
Member Avatar for eranga262154

Hi all, I already convert a C++ project to C# project. It's fine and working ok. On C++ I use DWORD data type. But in C# for that I used just a int value. Is that ok. Is there compatible data type which I can use for my project. Thanks.

Member Avatar for eranga262154
0
91
Member Avatar for jbak

Hi, I would like to know what are some of the benefits of using C# vs C++ (MFC) [U]specifically regarding developing GUI's.[/U] I've heard that it offers the ease of creating gui's that visual basic has offered developers for years, but I would like to know what specifically is more …

Member Avatar for bbqchickenrobot
0
58
Member Avatar for malini_82

pls explain me about the storage class?and also their difference among them.

Member Avatar for mostafadotnet
0
55
Member Avatar for Ninad

Hi all, I want to create an ActiveX component in C#.NET which will be called/accessed by Flash application. In my ActiveX I want to scan local media files (.avi, .wmv etc) on client machine & also generate (and save locally) the thumbnails of those media files, finally I will expoase …

0
57
Member Avatar for Slade

Hi Guys, I'm writing a program for work which uses the HtmlTextWriter to output html files (it's a reporting system). In each file I want to render a style tag at the beginning and to do this I'm using the HtmlTextWriterStyle enumeration. This means I need to convert any value …

Member Avatar for Slade
0
153
Member Avatar for maggz

hi..i am new progarmmer for c++ and i really need help coz i have lots of problom while doing progamming in c++. i need guidance how i can implement my code or if someone could start the code for so it might be easy to continue. i need everything in …

Member Avatar for Ancient Dragon
0
82
Member Avatar for Serunson

well didn't know where to post, so I'd this here. Does anyone know how to extend bridges across rivers? The manual supplied with worldbuilder is of no help, it says about dragging from end to end. I have tried this many times, and all that happens is that the part …

Member Avatar for dogs4000
0
69
Member Avatar for clarkkent

I am working on an application to help ease some of the command line stuff for ruby on rails while i learn it. I have the app starting and stopping apache as well as MySql. What i am having trouble with is starting mongrel. I would like to start this …

Member Avatar for JerryShaw
0
126
Member Avatar for nloding

CAS is tough stuff, and honestly seems incredibly ridiculous. Too bad there aren't any true work arounds. I need some help from the smart people here to get an app running when downloaded off a website. This app requires the ability to modify a file locally on the PC, so …

0
68
Member Avatar for hwa

Example: I have a table name A and have three column name OVER_DUE_DATE_TIME(date/time), DUE_DATE_TIME(date/time) and DURATION(Integer, in hours). I need to do this validation: DUE_DATE_TIME + DURATION <= OVER_DUE_DATE_TIME If the validation is wrong then should prompt the user error message. May I have this solution in C# !! Thanks …

Member Avatar for hwa
0
173
Member Avatar for Run.[it]

In class weve been shown how to read from a binary file and read from a text file but Im unsure how to write text to a binary file? Heres my attempt so far, Can you help? [CODE] #include <iostream> #include <stdio.h> using namespace std; int main() { FILE *namefile …

Member Avatar for Run.[it]
0
207
Member Avatar for mmc18

typedef struct Individual{ int number_of_la; double cost; }Individual; void deleteIndividual2(Individual **ind){ if((*ind)==NULL) return; freeLists2(&((*ind)->MSC),1); freeLists2(&((*ind)->BSC),1); freeLists2(&((*ind)->LA),1); freeLists2(&((*ind)->BS),1); (*ind)->MSC=NULL; (*ind)->BSC=NULL; (*ind)->LA=NULL; (*ind)->BS=NULL; free((*ind)); (*ind)=NULL; } //LAList-LA-LA_BS ,if includeGroup=1 remove all LAList-LA-LA_BS otherwise List and element will be removed void freeLists(Network_Element_List *head,int includeGroup){ Network_Element_List *temp=head; while(temp !=NULL ){ Network_Element_List *x=temp->next; if(includeGroup) freeLists(temp->element->groupHead,0); …

Member Avatar for mmc18
0
116
Member Avatar for Exo1337

Ok so I need to pull up records one at a time and then have the loop terminate when it reches the end of the input file using while and the istreamVar.eof() commands [code=cplusplus] #include <iostream> #include <fstream> #include <iomanip> using namespace std; int main() { ifstream ticketSale; int num2, …

Member Avatar for codeaa
0
275
Member Avatar for eranga262154

Hi all, I have two C# projects (a service and a windows form) on the same solution. I want to send some parameters to the service on click event of the service start (serviceControllr.Start() method) How can I do that. Thanks.

Member Avatar for JerryShaw
0
111
Member Avatar for Metahuman

[CODE]int k = 0; int g() { k = k + 1; return k; } int D[] = {13, 19, 47, 3, 7}; ….. D[ g() ] = D[ g() ]++ — D[ g() ]++;[/CODE] According to a book from which this problem comes this code will generate 5 to …

Member Avatar for Aia
0
107
Member Avatar for Ryuji5864

I am currently taking C++, and I just want to know why it says,"Illegal Else without if," and I would like to know how to fix it so I will not encounter this problem again. I would like to know where to put the brackets, "{ " Here is the …

Member Avatar for Ryuji5864
0
175
Member Avatar for debuggit

I need to write code to: 1. receive user input 2. output to an html table - 3 columns user integer input, 4th column sum of the three 3. if the integer is negative, it needs to print out red 4. if the user enters a zero, I need the …

Member Avatar for debuggit
-1
101
Member Avatar for sam1

hi everyone. I need few good books for beginners, trying to learn C. thanks

Member Avatar for rohoni
0
137
Member Avatar for shedii

Are C & C++ knowledge required to learn php or a person good at html, css & xml can start learning php directly?

Member Avatar for richie513
0
134
Member Avatar for ashish_4_kk

How To Authenticate Clients to printing From Server Using ASP.NET C# hello i have one server in which the printer is installed, the clients are printing from server. So, i want to authenticate those clients before printing using asp.net? means if in server client architecture of any company, clients are …

Member Avatar for serkan sendur
0
114
Member Avatar for buffe

Hi, I'm a new one for c++. I want to call a function in time intervals. (as an example lets say for every 100ms ). How can I do that. Please help:S Thank you

Member Avatar for Nemoticchigga
0
114
Member Avatar for siri_chow25
Member Avatar for jaffo

I am trying to read data from a sequential file into an array. Here we are again at the old mortgage program. I have been doing some searching and can't seem to find the correct syntax to read the data into an array that can later be used. So the …

Member Avatar for jaffo
0
224
Member Avatar for stkarnivor

I just started learning C++ for a computer class at my highschool. I started learning about "if" and "else" statements so i wrote a program around that. It calculates the average GPA for the semester or total (if you want it to). It also factors in AP and Honors points …

Member Avatar for stkarnivor
0
115
Member Avatar for iced98lx

Hi All- I've been browsing for a while but finally had to sign up to ask a question. I'm working on a little project that pulls data from a few places, Active Directory, ADAM, and an Informix Database. I've got my ODBC drivers installed and I've got my Data source …

Member Avatar for iced98lx
0
122
Member Avatar for sofia24

Hi there! I've developed a program in C# that calls a stored procedure in SQL server. Is it possible for a stored procedure to pass back a result set with multiple rows? If so how do I access these values in my application. Many Thanks!

Member Avatar for Ramy Mahrous
0
85
Member Avatar for asif08

I want to write a string named output to the console screen. How do i do that? string output= "hello world" How can I write the output to the screen?

Member Avatar for srinunarra
0
103
Member Avatar for jayohn

OK, i found this site because I did a yahoo search to calculate the parking charges and print the total, Well someone else had it already posted but once I registered I lost it. I am not even supposed to be in this class but I have to take it …

Member Avatar for Nick Evan
0
109
Member Avatar for kunalcrazycoder
Member Avatar for Dr_Pepper

my question is how can i make my program not to display any unique combination more that ones? //*****f04.cpp***** //Name: //Date: 02 - 17 - 08 #include <iostream> using namespace std; int main () { // #1 int a, b, c; for (c = 1; c *c <= 100; c++) …

Member Avatar for Dr_Pepper
0
123
Member Avatar for kunalcrazycoder

Well Can any one help me and say how to read/write a mdb file in c++:'(

Member Avatar for kunalcrazycoder
0
112
Member Avatar for kunalcrazycoder

Can any give me an example of c++ that ejects out the cd drive(where the cd/dvds are intserted).

Member Avatar for Duoas
0
98
Member Avatar for jervis0

Hey guys, I'm new here and I'd really appreciate it if someone could help me out. My problem is that whenever i click on my local disk C:\ on My Computer, i get a "C:\ Access is denied" message. I can open my drive C:\ by typing it on the …

Member Avatar for jervis0
0
122
Member Avatar for shyterrice

Hello everyone, My name is Stephanie I am new to the forum I have been just reading, this is my first time actually participating in one of the threads. I must say that I have learned a great deal from this site, I have been able to fix minor problem …

Member Avatar for alc6379
0
100
Member Avatar for Roebuc

Hey guys, I was doing my reading last night and was trying to come up with a program other than the practice assignments. It has been hard remembering all the keywords when they are given to you in the practice assignment. I came up with one and kinda got myself …

Member Avatar for Roebuc
0
135

The End.