132,730 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jhdobbins

Just curious how you feel about a few things... First, how do you feel about operator overloading? Our next project "can" involve it if we chose and I think it would be easier that way, but the TA's said some people think its a bad idea. I was just trying …

Software Development c++ visual-studio
Member Avatar for jhdobbins
0
103
Member Avatar for haskari

plz anyone urgently send me the coding of graph create of trig nometric functions in c language.i have to summit my project with in 18 hours from now on .sos.

Software Development c
Member Avatar for Narue
0
112
Member Avatar for mb1

I have to write a function that reads a string and outputs only the consonants. example: string: adadad output: ddd I wrote a program without the function and it works. Now I'm trying to change the program to use the function. As of now my only error is: error writing …

Software Development c++
Member Avatar for Narue
0
100
Member Avatar for ultimate_fusion

I have to read a file in format char, int string. I can easily do it in the form - int int, string e.g. 12 34 the cat sat on the mat(which is what I want to process and output) code below. [code] tokenType = inputStream.nextToken(); while (tokenType != StreamTokenizer.TT_EOF) …

Software Development java
Member Avatar for server_crash
0
605
Member Avatar for Auto

Can the [I]main() [/I] call be embedded within a class? At work yesterday I caught a snippet somewhere, and I noticed [I]main()[/I] was inside a class, something like the following: [code] [B]class[/B] personnel { [B]void[/B] in_prev_data(); [B]void[/B] in_new_data(); [B]int[/B] main( [B]int[/B] argc, [B]const char[/B] **argv ); [B]void[/B] process_data(); [B]void[/B] pack_data(); …

Software Development c++
Member Avatar for Auto
0
149
Member Avatar for Tyreses

Hello, i'm just starting to learn the very basic's of c++ but what i need is either a link or someone with alot of patience for c++ sockets, i'm planning on making a direct connection message encrypted chat program, but i can't find any eliable easy to use sites for …

Software Development c++
Member Avatar for Tyreses
0
230
Member Avatar for atrixnet

When trying to compile a C program including the code below, I keep getting this error and I don't know what to do to fix it. Please explain if you can! Complete code may be downloaded from my website at [url]www.atrixnet.com/cquestion.zip[/url] (It's only 2 Kb) I suppose I'll attach it …

Software Development c++ first-post pascal
Member Avatar for Narue
0
619
Member Avatar for pink

:sad: There is a programming question. This is searching program. there is a string array. In this string array ther is a sentence. I get a word from the user . When the user's word is match with the sentence that is in the string , a message will appear …

Software Development c++
Member Avatar for peter_budo
0
90
Member Avatar for kuteesa

I write trying to get help from you, I am trying to learn VB6 and I have been working on this project it is running but there are some commands which are not working like - Find I wrote the codes but when I enter the word and click OK …

Software Development visual-basic
Member Avatar for Comatose
0
144
Member Avatar for pink

:( There is a programming question. This is searching program. there is a string array. In this string array ther is a sentence. I get a word from the user . When the user's word is match with the sentence that is in the string , a message will appear …

Software Development c++
Member Avatar for pink
0
181
Member Avatar for MrConfused

I have a program I need to protect from piracy. Has anyone got any suggestions as to the best way to go about this. Presumably some sort of "dongle" system is the way to go? Thanks.

Software Development piracy visual-basic
Member Avatar for nicentral
0
161
Member Avatar for luisator

Hi everyone!!! I finally fixed all the errors in my application but now I get a main exception that I don't really know how many problems can bring. The message says: Exception in thread "main" java.lang.NoClassDefFoundError: sampleapps/tutorial/PrimerApp Thanx 4 your colaboration!

Software Development java
Member Avatar for server_crash
0
139
Member Avatar for Fasola

[B]How would I make a "computer reservation system" for public computers?[/B] RESERVATION PROCESS: Step 1: Enter PIN at Reservation Computer (if pin is valid go to step 2 else back to step one) Step 2: Select SEATED or STAND UP computer Step 3: Select OK for earliest reservation or CANCEL …

Software Development c first-post session
Member Avatar for Fasola
0
190
Member Avatar for thomasisaac

Hi, I am currently writing a C++ API for Unigraphics(CAD Program) as part of my final year uinversity project. In the example programs im modifying, there is alot of use of '*' and '&', in the context: When defining variables: char *feature_select = "Please Select Features"; void *filter = NULL; …

Software Development api c++
Member Avatar for invisal
0
158
Member Avatar for snuka00

Hi...I'm very new to Matlab, I need urgent with a program of mine. Can anyone please help me?? thanks a million. The following is the error message I get everytime I run program 1: ??? Error using ==> optimset Expected argument 2 to be a string parameter name or an …

Software Development data-structure display
0
137
Member Avatar for MaxC

Hello all, what do you think the answer following question is? The cin.getline function: a) reads a fixed number of characters as a string into a character array. b) reads a line as a string into a character array. c) reads a string up to the first blank space. d) …

Software Development c++
Member Avatar for azeembutt
0
285
Member Avatar for nizar4445

hello all can anybody help me with this tutorial question please??? This is only part one and i think i can manage the rest of it if uoy help me with that part. I know that you don't help students with their homworks or assignments but I have completly no …

Software Development c display engineering mathematics
Member Avatar for sinrtb
0
126
Member Avatar for mehdy

hi how i can run vc++ 6 program in vc++.net

Software Development c++
Member Avatar for Narue
0
147
Member Avatar for jhdobbins

heres my main [CODE]int main(){ int hours[50], cnt = 0; char grades[50], gpaForOneClass[50]; string course[50]; float gpa = 0.0, totalHours = 0, gpaSum = 0; gradevalue in; while (1) { cout<<"\nEnter a course, the letter grade received, and the credit hours. "<<endl; cin >> course[cnt]; if (course[cnt] == "quit" || …

Software Development c
Member Avatar for Dave Sinkula
0
803
Member Avatar for JoBe

Hello ladies and gents, Ive been reading about pointers abit and at there are two pieces of text in the book about pointers wich aren't clear to me, was wondering if any of you could enlighten me abit about them! :D [quote]Sometimes it's desired to clearly point out that a …

Software Development c++
Member Avatar for JoBe
0
163
Member Avatar for jhdobbins

Our program got cut down from a .h and 2 .cpps to just one .h and one .cpp.... so trying to convert fucntions back to my .h I received tons of errors. Hopefully someone can help me get rid of most of these? please? I need to turn in the …

Software Development c++ display storage
Member Avatar for Dave Sinkula
0
177
Member Avatar for Gink

What's the best free C Compiler or IDE available?

Software Development c++ ide
Member Avatar for Gink
0
361
Member Avatar for marjan_m

Hi any one who can give help me from the book of Computer Graphics by Donald Hearn? I want help abt the exercises thankx

Software Development c
Member Avatar for marjan_m
0
113
Member Avatar for ContactGT

I have only just subscribed to this group, so if I am in the wrong place, can someone please point me to a more relevant group. We use MS Visual Studio C++ Version 6.0 along with Blue Sky RoboHELP HTML Edition. We have a 9 components in our application and …

Software Development c++ visual-studio
Member Avatar for ContactGT
0
142
Member Avatar for Black Knight

Is there anyway to listen to a bool value? I have a login window that has a loggedIn boolean value, I need to watch that value in the main thread so when it changes to true it returns to the main thread and loads up the rest of the program, …

Software Development java
Member Avatar for Black Knight
0
169
Member Avatar for oberle1515

Could someone explain parameters a little bit to me. I have to write a program that returns the difference of of two integers.(larger-smaller) I understand the basis class FindDifference { //Main method public static int difference(int num1, int num2) { int num1 = 10; int num2 = 4;

Software Development java
Member Avatar for paradox814
0
147
Member Avatar for George2

Hello everyone, I have heard that there are some offline technologies which can enable users to browse web site in offline mode. It can prefetch some information from the web site (for example, Yahoo map data for some specific cities) when network connection is available. And when in the future …

Software Development java open-source web-server
Member Avatar for George2
0
179
Member Avatar for sinrtb

I know this is a stupid questions how do i send this : struct Activity { int i, // Beginning node number. j; // Ending node number. float pt, // Pessimistic time. prt, // Most probable time. ot; // Optimistic time. char desc[21]; // Activity description. } p[51]; into this: …

Software Development c
Member Avatar for sinrtb
0
126
Member Avatar for Menohac

Ok i play this game and i need to add a wedding system onto the server which runs in C language the first box is the variables.... [CODE]// Variable Notes: // // event_wedding - 1 signifies marriage // $groom$ - Groom's name storage // $bride$ - Bride's name storage // …

Software Development c storage
Member Avatar for Menohac
0
195
Member Avatar for csi_a_m

I need help adding the data in columns and rows of 10 in a 2d array. I got the rows added, but could someone please help out with how to sum the data in the columns. Please look at my code, and thanks in advance [code] #include <iostream> // I/O …

Software Development c++
Member Avatar for csi_a_m
0
195
Member Avatar for server_crash

I know you can use j2me for programming on palm pilots and PDA's...At least I think! My question is, does it matter what make/model/ or specs the PDA has to be able to program on it, or be compatible with j2me?

Software Development java
Member Avatar for server_crash
0
149
Member Avatar for Toulinwoek

I'm trying to decide if Visual Studio Standard or Professional would be suitable for my current and near-future needs. On Microsoft's web site, there is a term of which I am not sure of the meaning: "data-driven" Basically, the Standard version does not offer the ability to develop "data-driven" applications. …

Software Development microsoft visual-studio
Member Avatar for Toulinwoek
0
165
Member Avatar for j.kelly

I am relatively new to C++ and am a bit unsure why the following function doesn't work. [code] /********************************************************* * GetDate: Takes a string to be displayed to the user * and returns a CTime object. Returns NULL if an invalid * date is entered *********************************************************/ CTime GetDate(string requestString) { …

Software Development c++
Member Avatar for j.kelly
0
146
Member Avatar for solaris

Hi Guys, So I started writing this program where i want the user to input a string of numbers and letters and then i want to print out just the letters from the sting ignoring all the letters and other characters such at , ; : * &... I got …

Software Development assembly operating-system
Member Avatar for solaris
0
178
Member Avatar for stebel

Hi I'm working on a piece of assembly procedure that would enable me to return a double value (generated in asm module) to C code. Up to now never produced such a code, so would be grateful if you could assist me a bit. I know that I should leave …

Software Development assembly
0
320
Member Avatar for hopeolicious

Can someone help me to figure his out. I have to read in a file that contains employee names, numbers, payrates, and hours. Then I have to calculate the gross andsend everything to an output file. I keep getting this error message "employee.cpp" 69 lines, 1471 characters $ c++ employee.cpp …

Software Development c++ file-system ios
Member Avatar for murschech
0
126
Member Avatar for jhdobbins

well... its me again with another project following the basics of the last one... heres my header file: [CODE] #ifndef SCHEDULE_H #define SCHEDULE_H #include<string> class schedule { public: // this section will display the heading for the output table void printHead (); //This function is used to calculate the totalgpa …

Software Development c++ display file-system storage
Member Avatar for jhdobbins
0
223
Member Avatar for Acidburn

I've got a program which works but when I try to implement a destructor in the base call and make it a virtual pure function it doesnt want to work with the rest of the system ... [quote] circle.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Shape::~Shape(void)" (??1Shape@@UAE@XZ) …

Software Development c
Member Avatar for Acidburn
0
132
Member Avatar for arnie6

Hi, I'm a beginner. Could anybody help me out with this. How to make a class [B]strin[/B] subtraction operator overload, that if it finds "Bill", then deletes it from the text string. Thank you in advance. [CODE] #include <iostream.h> #include <string.h> class strin { char *place; int length; public: strin …

Software Development c++
Member Avatar for Narue
0
114
Member Avatar for Progmet

I'm trying to read a xml file which contains two xml files in one file with java from a specific directory and then writing a response file with also two xml into one file which contains variables from the read xml file. XML Parser gives me an error "The processing …

Software Development java xml
Member Avatar for lixf
0
165
Member Avatar for gambit56

Hello!!! Im new to this forum, I'm also quite new to C programming and im having some problems with a program It's a bit long winded so youll have to be patient :-| The program is about a football league First Question: Entrying zeros into a variable to be shown …

Software Development c
Member Avatar for gambit56
0
137
Member Avatar for gnoon

I've already turned this in for (I hope) partial credit, so I'm not asking for help in getting a grade. However, future assignments build off of this type of program, so I do need to understand how to make this work. I believe it is painfully obvious that I am …

Software Development c
Member Avatar for marinme
0
171
Member Avatar for frankieb

Hi All, Can someone look at this code and tell me how I may use the Array (CPoint point) to draw the lines based on user input in text box. The program works fine without the array right now. I want to try to use an Array instead. I'm trying …

Software Development c
Member Avatar for frankieb
0
126
Member Avatar for compshooter

I have three doubly linked list queues and I need to sort them based on a variable that each object has namely its job length. I am attempting to code for a shortest job first processing program. I already have most of the program complete but now I need to …

Software Development c linked-list queue
Member Avatar for compshooter
0
238
Member Avatar for the b

Hi, it's been awhile since I've been here and the site has changed quite a bit, I like it. Anyway, I attempted to make a basic calculator program, but I'm getting some weird error messages. The error messages tell me that there are syntax errors, but I've looked through the …

Software Development c++ microsoft visual-basic visual-studio
Member Avatar for the b
0
169
Member Avatar for jeymine

Hi guys, I am working on a project on playing cards using enum and class. I really need help with the function defination in this project, Here i will attach the question, your help will be highly appreciated. You can get bac to me trough jeymineb at yahoo.co.uk. Thanks. If …

Software Development c++
Member Avatar for marinme
0
2K
Member Avatar for Commander Salam

Hi everyone, I'm trying to: (1) take an excel spreadsheet with two columns of data (2) convert to tab-delimited text file (3) import into perl as a hash I've managed to import as an array: open (LIST1, "list1.txt") || die "File not found\n"; while (<LIST1>) {push(@list1array, $_)}; close LIST1; However, …

Software Development perl
Member Avatar for Commander Salam
0
403
Member Avatar for stupidenator

I went to a Computer Science and Engineering Day at the University of Nebraska today and now I feel really motivated to program something. The only problem is, I don't have any idea of something to write. Is there some special trick to coming up with ideas for new programs?

Software Development engineering java
Member Avatar for stupidenator
0
232
Member Avatar for rafalkw

I use VC++ 6.0 WinSNMP Programming I have problem with WINSNMP. I use function smiUINT32 dwMajor, dwMinor, nLevel, nTranslate, nRetransmit; SnmpStartup(&dwMajor, &dwMinor, &nLevel, &nTranslate, &nRetransmit); and during linking it shows errors : Linking... AlaDlg.obj : error LNK2001: unresolved external symbol _SnmpRegister@24 AlaDlg.obj : error LNK2001: unresolved external symbol _SnmpStartup@20 Debug/Ala.exe …

Software Development c++ email
Member Avatar for Narue
0
155
Member Avatar for Purps

I've read some of your thoughts on student postings and while I am keen to do things on my own behalf I have hit a wall. I've slaved at this project, mainly because I've not done any programming before, but i can't get my code to run and can't seem …

Software Development c++ first-post
Member Avatar for Narue
0
247

The End.