132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Geek-Master

I am currently reading the SAMS Teach Yourself C++ in 24 Hours 3rd Edition. It was a nice starter for me, but I need to travel deeper into the world of C. I am not sure what book is best to buy. I'm looking for anything that teaches stuff about …

Software Development c++
Member Avatar for Geek-Master
0
120
Member Avatar for Acidburn

Hello from what i can understand about function is that you need the prototype , then you need some kind of call function in the program and then the delcared function. Well I've done that but it doesnt want to work :( #include <iostream> #include <ctime> #include <cstdlib> using namespace …

Software Development c
Member Avatar for Acidburn
0
90
Member Avatar for Tom Pilk

Hi - new to all this. Trying to learn C++. How can I create an exe file in C++ that will open another file eg an excel file, when my created exe file is run?? Thanks for any help TP

Software Development c++ file-system
Member Avatar for boldspin
0
132
Member Avatar for xelitex

I am doing a program for school that lets the user guess the number. I am to be tested for all situations which include the user pressing a "letter" on the keyboard. I believe that I have all of the other errors handled, except for if the user enters a …

Software Development c++
Member Avatar for xelitex
0
136
Member Avatar for the b

I am writing a program using a linked list and I am almost to the point where I can compile and run it but I keep on getting this error message: error C2447: missing function header (old-style formal list?). What does it mean? I looked through the code but I …

Software Development c++ linked-list
Member Avatar for 1o0oBhP
0
661
Member Avatar for LubLub

The exercise is finding the largest and second largest numbers of ten entered. The numbers can only be entered once. No functions, arrays, of the STL can be used... Just while statements The problem I'm having is with a sequence 5, 4, 9... The 5 becomes the largest, 4 is …

Software Development c++
Member Avatar for LubLub
0
260
Member Avatar for Acidburn

Hello people I'm new to this forum and only been suing c++ / c for a little while now. I'm trying to seek out help with a program. I've written some of the code: .................................................................................................... #include <iostream> #include <iomanip> #include <ctime> #include <cstdlib> using std::cin; using std::cout; using std::endl; using …

Software Development c++ display
Member Avatar for Acidburn
0
169
Member Avatar for PriyaJaiGanesh

Hai! I tried writing a stack program using the concept of templates. It worked well for the int,char and double.But when i tried to pass a complex class error occured. Is it possibleto pass a class to the template class? If so what is the syntax for doing it? I …

Software Development c
Member Avatar for 1o0oBhP
0
108
Member Avatar for hruzam

I've been having some fun with early programming and have created several projects with various attempts at some failed programs. I wanted to redo, with new file names, some of these with new attempts. However when I try to delete the bad files in a project, the project stills lists …

Software Development c++
Member Avatar for hruzam
0
340
Member Avatar for freesoft_2000

Hi everyone, I have a rather silly question but please bear with me for a while. If lets say i have a string which has the contents [code] "C:\\p\\kol\\pki.txt" [/code] the thing with the above string is that if i use as an argument in a fileinputstream it will only …

Software Development java
Member Avatar for tigerxx
0
209
Member Avatar for Acidburn

Hi I know pseudo code is not a generic language... I've google about a little and found different / similar words with the same meaning, however I'm a little stuck on the "toss = 1 + rand() % 2" Which basically looks at the system clock ,creates a random number …

Software Development c google
Member Avatar for Acidburn
0
124
Member Avatar for Tom Pilk

Hi, New to programming & a bit lost. How can I create an exe file inC++ that will startup another program such as Excel?? Thanks in anticipation TP

Software Development c++
Member Avatar for Acidburn
0
144
Member Avatar for ShannonD

I brought some of my work home with me, but when I try to run the program here, I get the following errors: "SDClass.java": cannot find symbol; symbol : class JDOMException, location: package org.jdom at line 22, column 17 "SDClass.java": package org.jdom.input does not exist at line 23, column 23 …

Software Development java
Member Avatar for atul_manaskar
0
131
Member Avatar for Singap0r2

i am in the midst of studying for finals and i came across a program about the olympics. in this program we were given the id's of each judge and the scores to put in. once we have all the scores you are asked to average them. although my program …

Software Development c++
Member Avatar for Singap0r2
0
169
Member Avatar for 1o0oBhP

I am used to using: [CODE]char *str;[/CODE] to make a string but recently have changed to using the ANSI string class as its a lot more powerful and easier to use... BUT i have a problem! when I have encountered a string which conatins a " character I have used …

Software Development c++
Member Avatar for 1o0oBhP
0
198
Member Avatar for mex

I download a program located at [url]ftp://ftp.softcircuits.com/vbsrc/browse.zip[/url] and being a newbie, i failed to make the code work. i mean to make my code work with yoursit... the code is given below: [I]Private Sub Command1_Click() Dim myfile Dim i As Integer For i = 1 To 999 myfile = Dir("C:\" …

Software Development visual-basic
Member Avatar for 1o0oBhP
0
128
Member Avatar for Deepa
Member Avatar for mex
0
2K
Member Avatar for pacbeach

I'm having trouble defining the functions get_last, delete_last, and add_item. I've been working on the program for days and can't get the function definitions to work at all, so i left them blank. COULD SOMEBODY PLEASE HELP!!! This program is suppose to define a List class that holds a list …

Software Development c++ file-stream
Member Avatar for 1o0oBhP
0
206
Member Avatar for Extreme

Hi al...I am a total c++ beginner...I need ur help plz...I am making a program which asks the user to input a binary number and displayz the binary number converted to decimal number using a function. The code which i wrote is below: #include<iostream.h> #include<math.h> int bin2dec(int n) { int …

Software Development c++
Member Avatar for vegaseat
0
124
Member Avatar for fakhre

hi ppl i am fakhre, and i am new, not only at your web but also in 'C' language. will any one of u will help me, i need a simple code written with while loop to convert binary to decimal. your frnd Fakhre.

Software Development c
Member Avatar for Dave Sinkula
0
377
Member Avatar for MasashiMikamida

I'm not incredibly skilled with C/C++, but I'm writing a C++ Win32 Console Application that inputs an atomic formula, and outputs the molar mass. Everything should work fine, but in my if structures where the user input is the atomic symbol for Uuq, or any element that has 3 letters …

Software Development c++
Member Avatar for 1o0oBhP
0
294
Member Avatar for lida1984

Hi i'd be glad if u help me with write this program. i want to write a polynomial program which it has a class that create 2 obj like this with useing linked list: (Ax^2y^3+Bx^4y^8+....)AND(ax^5y^1+....) and after that multiply these 2 obj to each other and put the answer in …

Software Development c++ linked-list
Member Avatar for 1o0oBhP
0
148
Member Avatar for sherbertmonkey

im having the hardest time with this problem it doesnt like my do while loop it doesnt want to do my loop for spacing and doesnt want to do my day pacing with the if else breaks! #include <iostream.h> /* jake sanders CS115-001 fall 2004 Programing Assignment 3 Program Description: …

Software Development c++ first-post
Member Avatar for anastacia
0
146
Member Avatar for BrownSuga

This is the error message I am getting and the driver and class is below it. Thank You if you can help me :) C:\My Documents\CS151\CircleSolutionDriver.java:18: cannot resolve symbol symbol : constructor Circle () location: class Circle Circle circle = new Circle(); ^ 1 error Tool completed with exit code …

Software Development display java
Member Avatar for jerbo
0
108
Member Avatar for kellyandtopher

I need to write a program that finds the sum and average of 50 numbers. I am very new to C++, I have learned VB and this is really confusing to me. Please help me with this simple program. I went to another forum and had no responses. Kelly

Software Development c++
Member Avatar for kc0arf
0
120
Member Avatar for kellyandtopher

I am in need of some examples of writing functions. The way it is stated in my book is kinda confusing. I dont know if I have to return a value or not. I dont understand if it is necessary to use the general form of a function returning a …

Software Development c++
Member Avatar for yb1pls
0
129
Member Avatar for arjunmukherjee

I want to access a variable that is declared as such class xx { private: CRITICAL_SECTION m_csResponse; } this variable I want to access from a method in another diff class in a different file(the variable being updated).What should I do in the other class?

Software Development c++
Member Avatar for prog-bman
0
156
Member Avatar for xinix

Hey! I GUARANTEE that I'm the most junior programmer here! I started programming VB about 2 months ago, and I started Dev-C++ yesturday!!! I actually have a quick question regarding Dev-C++, I would be very grateful for an answer on this ^_^ I have just purchaced the "Beginning C++ Game …

Software Development c++
Member Avatar for xinix
0
175
Member Avatar for LAMJAM

I couldn't get in here for a while, my pc was clocking-busy place?! I posted my problem to the wrong forum & didn't get any help-surprise! I just want to know what I'm doing wrong in my code. I can't get rid of the 2 errors or understand what they …

Software Development c++ ios
Member Avatar for prog-bman
0
184
Member Avatar for Mahen

Hi, it's me again, i started to learn C++ and I would like to ask your help to create a program. I want to create a program that will open and close my CD-ROM tray, after user input. You know, i press a button, tray opens, press a button, it …

Software Development c++
Member Avatar for Extreme
0
163
Member Avatar for LAMJAM

> oh yeah. well it happens sometimes Hi, Can anyone give me a hint of what I'm doing wrong here? not pretty, but here's my code... #include <iostream.h> #include "apstring.h" #include <fstream.h> int main() { apstring user_name; int street_num; apstring street_name; apstring apt_num; apstring city; apstring state; int zip; ofstream …

Software Development c++ ios
Member Avatar for tgreer
0
290
Member Avatar for jdl44lfhs

I am new to programming and I am trying to learn, I got a book and it has some problems in it, Here is one of the problems that I would like some help with if anyone could help me through it of if you have any code that is …

Software Development java
Member Avatar for jdl44lfhs
0
210
Member Avatar for blackbabydoll

I receive to build areas when I want to start my debugging. But the errors do not show up when i just compile. They are: error LNK2001: unresolved external symbol "void __cdecl withdraw(char,double &,double &,class std::basic_ifstream<char,struct std::char_traits<char> > &,struct node * &)" (?withdraw@@$$FYAXDAAN0AAV?$basic_ifstream@DU?$char_traits@D@std@@@std@@AAPAUnode@@@Z) and fatal error LNK1120: 1 unresolved externals. …

Software Development c++ display ios microsoft microsoft-access
Member Avatar for blackbabydoll
0
171
Member Avatar for dowens3rd

I have asked this question before and have not gotten a completely useful answer. I am trying to sort a number of any size. For example: if 643597 is entered, the output should be 345679.

Software Development c++
Member Avatar for dowens3rd
0
200
Member Avatar for Devin

Alright i understand mybase.MouseMove event handles everytime the mouse is moved, but what i am having a problem with is using this code in a MDIContainer Form. When used here the mouse event is never trigged. So i am curious if there is away for this mouse event to be …

Software Development vb.net
Member Avatar for Devin
0
96
Member Avatar for blacjuice

I have to get the total votes and percent of each vote for this program.I cant figure it out! I have attached input,but this should be output. Johnson 5000 6.2 Miller 4000 7.75 Duffey 6000 5.16 Robinson 2500 12.4 Ashtony 1800 17.22 Adkins 3500 8.85 Walls 5500 5.63 Bills 2700 …

Software Development c++
Member Avatar for blacjuice
0
181
Member Avatar for hruzam

I've finally pulled out my old Visual Studio 6.0 and installed C++. I've done some very low level C++ programming years ago, but I've never used this program before. I've loaded the MSDN and searched on how to start a program. However, after about 3 weeks of migrating from one …

Software Development c++ microsoft visual-studio
Member Avatar for hruzam
0
172
Member Avatar for Pheonix28

hello all, im new here, ok, i have a question, im trying to make a simple program, but keet gettin an error [CODE] //NFL Favorite Team #include <iostream> int main() { int NFL; std::cout << "Who is the best team in the NFL?\n"; std::cout << " (please only use the …

Software Development c++
Member Avatar for 1o0oBhP
0
301
Member Avatar for nanosani

Is there any good vb to java convertor available ?? or should it be java to vb convertor ?

Software Development java
Member Avatar for jerbo
0
146
Member Avatar for warm heart

hi there good evevning >>>>> :lol: :lol: i hope all of u is good ..... sorry but i know i am new but i face aproblem with array i don't know how to solve problem with array >>>>> i have problem that said enter name of 15 studemt and there …

Software Development java
Member Avatar for jerbo
0
107
Member Avatar for vtma71

i need help with this project, any advice would be greatly appreciated thanks

Software Development c++
Member Avatar for 1o0oBhP
0
74
Member Avatar for Xpyder

i try to compile source code from a CD in MSVC++ 6. It is scripted in C++ and uses the Win32 api and Direct X 8.0 SDK - and i have included the ddraw.h, ddrawx.h (i have tried with and without this) and with the .lib files. Whenever i tried …

Software Development api c++ first-post windows-api
Member Avatar for Xpyder
0
146
Member Avatar for dello

Hi, i have written a program for my assignment, however i need a little bit of help.. the program is written in c++ and im using the bloodshed compiler - [url]www.bloodshed.net[/url] i need to put some kind of validation in whereby - it calculates the duration of a call in …

Software Development c++ display
Member Avatar for dello
0
164
Member Avatar for LAMJAM

Hi, Here's my code: #include <iostream.h> int main () { int i; cout << "Please enter a number" << endl; cin >> i; if (i < 0) { cout << "The number you entered is negative.\n";} if (i = 0) { cout << "The number you entered is zero.\n";} if …

Software Development c++
Member Avatar for yb1pls
0
183
Member Avatar for Jeff20

I keep getting these errors. Anyone know how to fix them? My program was working before. Both directories seem to be the same tho so i have no clue what it means. "AppointmentMatthews.java": Package C:\javastuff\Appointment\AppointmentMatthews.java stated in source Massage does not match directory C:\javastuff\Appointment\AppointmentMatthews.java. at line 11, column 9 "MassageMatthews.java": …

Software Development java
Member Avatar for jwenting
0
132
Member Avatar for jonboy_us

Java2 homework help. Quick comment...Java was not meant for GUI! If you want GUI, then use VB. Now that I have that out of my system... Homework goal... To create a GUI java app that will save the info in the text fields to a file to a location that …

Software Development gui java
Member Avatar for jwenting
0
252
Member Avatar for sweetbaby

hello, i need the help for computer programming in the class. the question is below. i try to write the program, but it comes out a lot of error. please, help me to do this problem. Write a C++ program for the function `f1(x) = 2.6*x^3 - 5.7*x^2 + 4.9x …

Software Development c++ display
Member Avatar for prog-bman
0
105
Member Avatar for I_Byte

:oops: Trying to play with shapes, but can't get anything to come out. I can do it in a module, but when I try using a class and a module, I get totally lost. This is what I have: [code]Public Class CSquare Inherits Object Private mside As Integer Public Sub …

Software Development vb.net
Member Avatar for DeFrog777
0
152
Member Avatar for mahas

just a lil confusion plz hlp ok the physical consistency of the data means that it shoud be same(value/format) whereever present in the data base but what does logical consistency means...?

Software Development visual-basic
Member Avatar for mahas
0
122
Member Avatar for rusti

Hi everyone, I am a computer teacher in the midwest that is going to have to teach a unit on QBASIC very shortly! i am really a science teacher and would love a little help. i am looking for short, 10 lines or so, programs that the kids can type …

Software Development visual-basic
Member Avatar for rusti
0
165

The End.