51,593 Topics

Member Avatar for
Member Avatar for Se7Olutionyg

I was trying to link those file but it occur the compiling error anyhellp would be appriciated

Member Avatar for Se7Olutionyg
0
66
Member Avatar for Se7Olutionyg

[CODE]//****************************************************** // Filename: Solution_Lab_03.cpp // Purpose: Paint Your House Calculations // Author: Ken Busbee; ? 2008 Kenneth Leroy Busbee // Date: Dec 24, 2008 //****************************************************** // Headers and Other Technical Items #include <iostream> using namespace std; // Function Prototypes void pause(void); double getValue(); double calculateArea(); double numgallons(); double totalCost(); //****************************************************** …

Member Avatar for sfuo
0
129
Member Avatar for ident

cleaner registry tools options they look like tabs, but how was they made? [img]http://www.simplecoders.com/showpic.php?f=NjY6cNX35c5bxI.jpg[/img]

Member Avatar for William Hemsworth
0
35
Member Avatar for infern0
Member Avatar for krisny

Hi All, I have a C++ program( using VC++6.0 with MFC) which calls another C++ .exe and performs some actions on it. The problem I am facing is that I get the file name of the .exe by using a GetDirectory function. Thus I am able to get the full …

Member Avatar for krisny
0
306
Member Avatar for EvanRG

Hey guys, long time reader -- with maybe one post I think. I'm pretty new to C++ but can hold my own.... but I was looking for some help. What is the best way to go about allowing the user to input as many inputs as they want, then when …

Member Avatar for Tom Gunn
0
149
Member Avatar for aomran

I have two source files main.cpp and process.cpp and two header files dheap.h process.h all under project assignment1, I am using code blocks. I compliled main but I got the following message: [COLOR="Red"]Linking stage skipped (build target has no object files to link) Nothing to be done.[/COLOR] Is there anything …

Member Avatar for Ancient Dragon
0
359
Member Avatar for zeeli

Hi, I am a total newbie when it comes to makefiles and now I'm in a need of one. I have a directory structure as follows: [CODE]Project_root/Makefile Project_root/src/ Project_root/src/widgets/ Project_root/include/ Project_root/include/widgets/[/CODE] Each directory contains multiple source/header files. I need to build a shared library out of this directory and perhaps …

Member Avatar for dkalita
0
135
Member Avatar for pula.alt

I have to write a program to take in user input (VIN#, Car Maker, Car Model) and reorganize it based on either alphabetical order (for Car Maker only) or numerical order (VIN#). I'm using g++ to compile the code on CentOS. I've done a majority of the code but I …

Member Avatar for dkalita
0
283
Member Avatar for sethuramang

Hello, I'm trying to implement a program in C to read and display data from a text file, assign certain values to pre-defined variables and continue reading in the data. And example format of the data file is: --------------------------------------------------------------------------------------------- *** General Comments *** .... ***... .... 5 125 3 .6167 …

Member Avatar for dkalita
0
95
Member Avatar for lotrsimp12345

My understand is in generic programming you can have multiple containers, which use iterators but use the same algorithm. Wouldn't template be considered a ADT? Really confused.

Member Avatar for kvprajapati
0
301
Member Avatar for megha.jain08

whenever i click an update button to update values in a single column of a gridview, all the columnss gets updated with the same values. eg. if a 1st column of a row with s.no. 1 is updated with values watch,50.,,,rest of the columns of the rows with s.no.2,3,4,5 etc. …

Member Avatar for sknake
0
95
Member Avatar for Trini89

when I run this program no matter what temperature I enter, the output is my first cout statement. Could anyone tell me what i must change for the code to work?? [CODE]#include <iostream> using namespace std; int main () { double temp; cout << "Please enter a temperature " << …

Member Avatar for achyuthan1991
0
90
Member Avatar for joshk6656

Hi I have a couple of questions for the first app I am creating. Firstly I am trying to have user input certain things, and it is not working correctly. [code] printf("Object : "); scanf("%04X", &code); printf("Message : "); scanf("%s", input); [/code] Object is working perfectly, but then the Message …

Member Avatar for joshk6656
0
147
Member Avatar for Peter_APIIT

Hello to all of you, does anyway know any free trial limited SMS gateway. Anyone expose to SMPPLib available at code project ? [url]http://www.codeproject.com/KB/library/smpplib.aspx[/url] Please share. Thanks.

Member Avatar for Peter_APIIT
0
80
Member Avatar for Peter_APIIT

Hello to all, i need access the external header file from third party in Visual Studio. I have settings the additional include directory but the files still cannot be found. I sure that file located at the directory pj and the types.h is exist in the directory. C:\Program Files\VOIP\pjproject-1.4\pjproject-1.4\pjsip\ C:\Program …

Member Avatar for Peter_APIIT
0
668
Member Avatar for SeeTheLite

So basically I'm making a generic class for rational numbers, and I want to do automatic type conversions in comparisons and operations and constructors. How would I go about doing this? Google has only returned results for template functions rational.h [code=c++] #ifndef RATIONAL_H #define RATIONAL_H class rational { public: rational(); …

Member Avatar for SeeTheLite
0
87
Member Avatar for Dewey1040

I'm supposed to create a program to read in word by word into a vector. And print out the words connected with '-'... so if the input was hello world the output would be hello-world this is the code ive made so far... right now my input can be hello …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for casperguru

What are the difference in the passing mechanism of the following arrays void foo(int* a) void foo(int(&a) [10]) void foo(int a[]) and if all the three absolutely does the same thing then what is the point of keeping 3 of them and does any method have any performance gain as …

Member Avatar for C++NOOOB
0
298
Member Avatar for hectex

* This code is ran under Microsoft Visual C++ 2008 Express Edition. * So when I do run the program, it runs, it lets me input 'The Name', 'Resistance Value', and 'Tolerance Value'. *It then displays The maximum and minimum resistance. *Now here's the problem!--It displays hexadecimals. *HERE'S MY CODE …

Member Avatar for Lerner
0
346
Member Avatar for sivapc

Hi All.. New here.. I'm not going to lie. This is an assignment for c++ subject in my school. I'm basically an amateur in c++. I can understand all the basic stuffs in c++, but have some problems with the pointer.. and my lecturer here.. well. She's quite poor and …

Member Avatar for Lerner
0
189
Member Avatar for Baalzamon

Sorry in advance if there's already a thread or if i've posted in a wrong section(??). My question: If i use the tolower function can i use the newly editted input and put it back to where it came from?? In effect - clarity isn't my strong point today :( …

Member Avatar for Baalzamon
0
101
Member Avatar for Wolf CCMLG

I have having a bit of trouble with this assignment I have to do. The assignment is: [B]"Assuming that a year has 365 days, write a class named DayOfYear that takes an integer representing a day of the year and translates it to string consisting of the month followed by …

Member Avatar for Lerner
0
1K
Member Avatar for redreed

[CODE]/* program created and maintained by red prods */ #include<stdio.h> #include<process.h> #include<graphics.h> #include<fstream.h> #include<dos.h> #include<math.h> #include<stdio.h> #include<string.h> #include<conio.h> #include<stdlib.h> #include<time.h> struct dosdate_t d; struct bank { char user[40]; long int pass; int dtj[3]; int deposit; char type[7]; char trans[100][100]; }s; char *auser[20]={"ReReEd,param"}; long int apass[2]={975369,123456}; int ENTER=13; int xi1=162,yi1=50; int …

Member Avatar for redreed
0
269
Member Avatar for chingkoysilog

can u give the the code to client and server of this game "tic tactoe"...i need to network it....pls hep me..have mercy..pls give me the site or resources to get server and client.... #include <iostream> #include <string> using namespace std; bool gamedone,turn; int choice,player; string space[10]; void win(bool x) { …

Member Avatar for sfuo
0
513
Member Avatar for Mr.UNOwen

Anyone have a clue what would cause the compiler to complain about static members and functions and virtual functions ? I've written a bunch of stuff with Qt in C++ without this problem. The only new thing is I've overrided a virtual function and created a few static data members …

Member Avatar for Mr.UNOwen
0
131
Member Avatar for Asif_NSU

I was looking for an SDK to learn a bit about fingerprint identification system. I have googled a lot and found many different SDKs. However none of them were free. I dont want to implement any commercial system, just want to work with an SDK for educational purpose. Do you …

Member Avatar for devmakwana
1
2K
Member Avatar for deez3po

Does anyone know what program is used to create something like the language software ROSETTA STONE? (clickable links, voice recognition, recording progress). Yes, I am a total rookie, but would like to know so that I could hire someone to develop an idea for me. Thanks!

Member Avatar for vortex24
-1
76
Member Avatar for usagi713

Problem: The user should be able to specify a field and a value for that field and the program returns all works that match. For example, the user may specify Artist and Smithely, and the program will output all of the information concerning every work in the gallery by that …

Member Avatar for sfuo
0
97
Member Avatar for welcomepro

Hi to all... for my little application, i wanto t draw a sequence of string (with different size, from array, in a rectangle that i can resize. I draw it with point or with rectangle and stringformat object?? Thak you...

Member Avatar for mrnutty
0
55
Member Avatar for jdam7459

This works in Visual C++, but not with the Sun Compiler. [CODE] Stack<Tree<int>> stack; // (Line 40) [/CODE] line 40: Error: "," expected instead of ">>". line 40: Error: Illegal value for template paramter. line 40: Error: "," expected instead of ";". line 40: Error: Illegal value for template paramter. …

Member Avatar for Tom Gunn
0
82
Member Avatar for lotrsimp12345
Member Avatar for rabbit_ocean

( Question) :Build a menu-driven program that could transform infix expression to prefix and postfix expression. Your program should also be able to calculate and display the result of the expression. The expression should be input by the user. Implement the stack concept using pointers. [B](in C++ Language)[/B]

Member Avatar for Nick Evan
0
66
Member Avatar for san.css

hi, i am developing a sync application using funambol api. how the mail is uniquely identified by various client application for eg. the same user is configured in two different outlook version. how the incoming items and outgoing items compared and uniquely identified in this situation. i am developing a …

0
51
Member Avatar for gretty

Hello I want to attempt a freelance c++ job/project for the skills & experience but do you think there are any jobs out there for my skill level? I have been learning programming for 8 months, only know c++, & I only know the basics, arrays, vectors, pointers, stacks ,lists,queues, …

Member Avatar for Nick Evan
0
177
Member Avatar for redreed
Member Avatar for redreed
0
308
Member Avatar for MaskedPianist

Hi guys First post on this website, so go easy on me. I'm a fairly inexperienced programmer, mostly using snippets of other people's code and adapting it for my own uses, but I have found a problem. I want to change my desktop programatically, but to a picture on the …

Member Avatar for iamthwee
0
166
Member Avatar for Rabex

i have to give a presentation on classes in c++ and i dont even know the abc of it...plz help how to get started and also few important points.

Member Avatar for Cosmin871
0
87
Member Avatar for welcomepro

Hi to all, i want to save an array of tchar with his value in the map, as std::map<TCHAR [100], int> word; but when i say [CODE=C++]insert(pair<TCHAR [100],int>(text,1))[/CODE] the error is: cannot specify explicit initializer for arrays... Why????

Member Avatar for welcomepro
0
381
Member Avatar for gretty

Hello Can you assist me in developing my algorithm? I have to do this: [QUOTE]Write a C++ function balanced that uses a [B]stack[/B] to check that all brackets in a string are balanced. For eg: This is a balance string: [I]This (string) has (balanced {brackets[(now)]} [thanks])[/I] This string is not …

Member Avatar for VernonDozier
0
1K
Member Avatar for truviet911

hey guys. i have several problems but i stuck with these 2 problems. hope you guys can help me out. 1- [B]Max, Min, Average of Number String[/B] write a C++ program that reads in an unspecified quantity of real numbers, of quantity < 100, and stops reading them in when …

Member Avatar for VernonDozier
0
98
Member Avatar for dorkwad

I'm attempting to output a 7 digit number in a space 7 columns wide with cout, where loan is my 7 digit number: [code] cout << "$" << setw(7) << fixed << showpoint << setprecision(0) << loan;[/code] Any attempts fiddling with this result in the number being converted to 1e+006. …

0
65
Member Avatar for Ancient Dragon

There appears to be some confusion about what c++ code snippets are supposed to be. I've seen two threads already that are just normal c++ questions but posted as code snippets. I really don't like intermingling the c++ forum with code snippets for two reasons [list=1] [*]Much more difficult to …

Member Avatar for Dave Sinkula
0
352
Member Avatar for Darth Vader

How is it possible to check if a String is a valid number. The number can be both an int or a double like: [code] String^ ValidInt = "5"; String^ ValidDouble = "5.01"; [/code]

Member Avatar for Darth Vader
0
196
Member Avatar for mrnutty

It uses the idea of Seive of Eratosthenes. The code is basically does the following to find Prime Numbers : 1) Populate Array from 0 - > MAX 2) Find 1st Prime, which is 2 3) Delete all Multiple of 2, i.e set it to false 4) Find next prime, …

0
378
Member Avatar for hectex

[IMG]http://i37.tinypic.com/xp0ei0.jpg[/IMG][code]#include <iostream> #include <string> #include <ostream> using namespace std; class CResistor { public: void InputInfo() { cout<<"Enter a text name for the CResistor object being created."<<endl; cin>>m_sResName; cout<<"\n"; cout<<"Enter the Following Data:"<<endl; cout<<"Resistance Value= "; cin>>Res0; cout<<"Tolerance Value= "; cin>>Res1; ResTolValue=(Res0*Res1); Res2=(Res0+ResTolValue); Res3=(Res0-ResTolValue); cout<<":Max Resistance= "<<Res2<<endl; cout<<":Min Resistance= "<<Res3<<endl; cout<<"\n"; …

Member Avatar for mrnutty
-1
140
Member Avatar for XodoX

Hello, I need some help with this code. First of all, the program just closes after I enter the rows. It's not supposed to do that. Then, the coordinates (cards) 1,1 and 2,3 need to face up when I start it. How do I do that? I hope someone can …

Member Avatar for XodoX
0
126
Member Avatar for mrsirpoopsalot

I am having a hard time grasping ADT using linked list. I have a struct node in a class where i have a node constructor. I cant create a link list without using the constructor. But thats where i am lost. This is what i have [CODE] #include <ostream> #include …

Member Avatar for mrsirpoopsalot
0
157
Member Avatar for vortex24

Hi all, I have the following code written for work. The point of the program is to take input from the user as to which customer id (phone number) is required. Once the program has this data, it will open a specified folder to search through each line of code …

Member Avatar for Lerner
0
133
Member Avatar for anbuninja

so im creating a program on hours and minutes. and well my program basically works just that the output is a bit off. [code] #include <iostream> #include <string> #include <iomanip> using namespace std; void getHours(int& input1, string& s); void getMinutes(int& input2, string& s); void calcTotalTime(int& input1, int& input2, int& input3, …

Member Avatar for Dave Sinkula
0
102

The End.